Function at 0x1006e7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x100a70b4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x28], ebx
mov edx, dword [ebx + 0x16c]
test edx, 0x63c
je 0x1006ecc9
test dl, 4
je 0x1006e822
mov eax, dword [ebx + 0x168]
and eax, 0xffffd64a
mov byte [ebx + 0x138], 0
or eax, 8
mov dword [ebx + 0x168], eax
call fcn.1006e610
and dword [ebx + 0x164], 0xfffffffb
jmp 0x1006e975
test dl, 8
je 0x1006e99f
mov eax, dword [ebx + 0x168]
and dword [ebx + 0x164], 0xfffffff7
and eax, 0xfffffff7
or eax, 0x29b5
mov byte [ebx + 0x138], 1
cmp dword [ebx + 0x15c], 0
mov dword [ebx + 0x168], eax
je 0x1006e975
mov eax, dword [ebx + 0x12c]
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x1006e911
lea ecx, [ebx + 0x78]
mov dword [esp + 0x14], ecx
lea esp, [esp]
test al, 1
je 0x1006e8f7
mov edi, dword [ebx + 0x10]
push esi
push 0xb
push esi
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x10]
test ecx, ecx
je 0x1006e8b0
push 0xa
push esi
push esi
call fcn.100848e0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x68]
and eax, 7
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx]
je 0x1006e8f3
mov edi, dword [ebx + 0x10]
push eax
lea eax, [esi + 0x80]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 0x1c]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
shr eax, 1
inc esi
add ecx, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x1006e880
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1006e975
lea edx, [ebx + 0xc0]
mov dword [esp + 0x10], edx
nop
test al, 1
je 0x1006e95f
mov edi, dword [ebx + 0x10]
mov eax, dword [edx]
and eax, 0x100
push eax
mov esi, dword [edi]
push 0x18
push ecx
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
shr eax, 1
inc ecx
add edx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
test eax, eax
jne 0x1006e930
mov eax, dword [ebx + 0x160]
or eax, dword [ebx + 0x15c]
mov edx, dword [ebx + 0x164]
or eax, edx
mov ecx, dword [ebx + 0x168]
and eax, ecx
and edx, ecx
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x16c], edx
test dl, 0x10
je 0x1006eb0a
mov eax, dword [ebx + 0x168]
mov edi, dword [ebx + 0x10]
and eax, 0xffffffef
or eax, 0x29a0
mov dword [ebx + 0x15c], 1
mov dword [ebx + 0x168], eax
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x12c]
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x1006ea91
lea ecx, [ebx + 0x78]
mov dword [esp + 0x18], ecx
lea esp, [esp]
test al, 1
je 0x1006ea77
mov edi, dword [ebx + 0x10]
push esi
push 0xb
push esi
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x10]
test ecx, ecx
je 0x1006ea30
push 0xa
push esi
push esi
call fcn.100848e0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x68]
and eax, 7
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx]
je 0x1006ea73
mov edi, dword [ebx + 0x10]
push eax
lea eax, [esi + 0x80]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 0x1c]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
shr eax, 1
inc esi
add ecx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x1006ea00
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1006eaf5
lea edx, [ebx + 0xc0]
mov dword [esp + 0x10], edx
nop
test al, 1
je 0x1006eadf
mov edi, dword [ebx + 0x10]
mov eax, dword [edx]
and eax, 0x100
push eax
mov esi, dword [edi]
push 0x18
push ecx
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
shr eax, 1
inc ecx
add edx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
test eax, eax
jne 0x1006eab0
mov eax, dword [ebx]
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffffef
jmp 0x1006eb8d
test dl, 0x20
je 0x1006ebb7
mov eax, dword [ebx + 0x168]
mov ecx, ebx
and dword [ebx + 0x164], 0xffffffef
and eax, 0xffffd65f
or eax, 0x10
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x168], eax
call fcn.1006e610
mov ecx, ebx
call fcn.1006e730
mov edi, dword [ebx + 0x10]
push dword [ebx + 0x154]
push dword [ebx + 0x150]
mov esi, dword [edi]
push dword [ebx + 0x148]
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov edi, dword [ebx + 0x10]
push dword [ebx + 0x114]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
and dword [ebx + 0x164], 0xffffffdf
mov edx, dword [ebx + 0x164]
mov eax, dword [ebx + 0x160]
mov ecx, dword [ebx + 0x168]
or eax, edx
or eax, dword [ebx + 0x15c]
and eax, ecx
and edx, ecx
mov dword [ebx + 0x16c], edx
mov dword [ebx + 0x170], eax
test edx, 0x200
je 0x1006ec53
and dword [ebx + 0x164], 0xfffffdff
or dword [ebx + 0x168], 0x1642
mov edx, dword [ebx + 0x164]
mov eax, dword [ebx + 0x15c]
mov ecx, dword [ebx + 0x168]
or eax, edx
and ecx, 0xfffffdff
mov dword [ebx + 0x160], 2
or eax, 2
mov dword [ebx + 0x168], ecx
and eax, ecx
and ecx, edx
mov dword [ebx + 0x170], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 0x16c], ecx
mov eax, dword [eax + 0xa4]
mov edi, dword [eax + 0x1f8]
push dword [eax + 0x1f4]
push eax
mov edx, dword [edi]
push 0
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0x120], 0
mov byte [eax + 0x118], 1
jmp 0x1006ecc9
test edx, 0x400
je 0x1006ecc9
and dword [ebx + 0x168], 0xffffe9bd
and dword [ebx + 0x164], 0xfffffbff
mov ecx, dword [ebx + 0x168]
mov edx, dword [ebx + 0x164]
or ecx, 0x200
mov eax, dword [ebx + 0x15c]
mov edi, dword [ebx + 0x10]
or eax, edx
push dword [ebx + 0x110]
and eax, ecx
mov dword [ebx + 0x168], ecx
push dword [ebx + 0x14c]
and ecx, edx
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x16c], ecx
mov dword [ebx + 0x170], eax
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov ecx, dword [ebx + 0x16c]
mov dword [esp + 0x10], ecx
test ecx, 0x39c0
je 0x1006efbd
test ecx, 0x3000
je 0x1006ed79
mov eax, ecx
and eax, 0x2000
cmp dword [ebx + 0x134], 0
jne 0x1006ed3a
test eax, eax
je 0x1006ed16
mov eax, dword [ebx]
and dword [eax + 8], 0xffffffdf
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006ed79
mov eax, dword [ebx + 4]
test dword [eax + 0x5c], 0x2000000
je 0x1006ed6f
and dword [eax + 0x5c], 0xfdffffff
mov byte [eax + 0x118], 1
jmp 0x1006ed6f
test eax, eax
je 0x1006ed55
mov eax, dword [ebx]
or dword [eax + 8], 0x20
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006ed79
push dword [ebx + 0xbc]
mov ecx, dword [ebx + 4]
call fcn.10084890
mov ecx, dword [esp + 0x10]
and dword [ebx + 0x164], 0xffffefff
test ecx, 0x800
je 0x1006edf6
mov eax, dword [ebx + 0x108]
cmp eax, 0xffffffff
je 0x1006ed9c
mov ecx, dword [ebx]
push eax
push 1
call fcn.1007afe0
mov ecx, dword [esp + 0x10]
jmp 0x1006edec
cmp dword [ebx + 0x160], 0
je 0x1006edbd
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push dword [eax + 0x10c]
push 1
call fcn.1007afe0
mov ecx, dword [esp + 0x10]
jmp 0x1006edec
mov eax, dword [ebx]
cmp dword [eax + 0x5134], 0
jne 0x1006edd1
cmp dword [eax + 0x5138], 0
je 0x1006edec
mov dword [eax + 0x5134], 0
mov dword [eax + 0x5138], 0
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xfffff7ff
test cl, cl
jns 0x1006ee37
mov eax, dword [ebx + 0x11c]
mov ecx, dword [ebx]
test eax, eax
je 0x1006ee16
push eax
call fcn.1007bfc0
test eax, eax
js 0x1006f16b
jmp 0x1006ee29
push dword [ebx + 0x118]
call fcn.1007be90
test eax, eax
js 0x1006f17e
and dword [ebx + 0x164], 0xffffff7f
mov ecx, dword [esp + 0x10]
test ecx, 0x100
je 0x1006ef56
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1006ef4c
mov ecx, dword [ebx]
call fcn.100bde7f
mov esi, eax
lea ecx, [ebx + 0x20]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
test al, 1
je 0x1006ef2e
fld dword [ecx - 4]
fld dword [ecx - 8]
fld dword [ecx]
fld dword [ecx + 4]
lea ecx, [esp + 0x2c]
fld dword [esi + 4]
fmul st(4)
fld dword [esi]
fmul st(4)
mov edi, dword [ebx + 0x10]
push ecx
push edx
faddp st(1)
fld dword [esi + 8]
fmul st(3)
faddp st(1)
fld dword [esi + 0xc]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esi + 0x10]
fmul st(3)
fld dword [esi + 0x14]
fmul st(5)
faddp st(1)
fld dword [esi + 0x18]
fmul st(3)
faddp st(1)
fld dword [esi + 0x1c]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esi + 0x20]
fmul st(3)
fld dword [esi + 0x24]
fmul st(5)
faddp st(1)
fld dword [esi + 0x28]
fmul st(3)
faddp st(1)
fld dword [esi + 0x2c]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [esi + 0x30]
fmulp st(3)
fld dword [esi + 0x34]
fmulp st(4)
fxch st(2)
faddp st(3)
fmul dword [esi + 0x38]
faddp st(2)
fmul dword [esi + 0x3c]
faddp st(1)
fstp dword [esp + 0x40]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x100ad4e8]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
bts eax, edx
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x14]
shr eax, 1
inc edx
add ecx, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x1006ee73
mov ecx, dword [esp + 0x10]
and dword [ebx + 0x164], 0xfffffeff
test cl, 0x40
je 0x1006efbd
cmp byte [ebx + 0x138], 0
je 0x1006eff9
cmp dword [ebx + 0x15c], 0
mov ecx, dword [ebx + 4]
jne 0x1006ef7f
push dword [ebx + 0x10c]
jmp 0x1006f15d
mov eax, dword [ebx]
mov eax, dword [eax + 0x38]
push dword [eax + 0x14]
call fcn.100846a0
mov eax, dword [ebx + 0x160]
or eax, dword [ebx + 0x15c]
and dword [ebx + 0x164], 0xffffffbf
mov edx, dword [ebx + 0x164]
or eax, edx
mov ecx, dword [ebx + 0x168]
and eax, ecx
and edx, ecx
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x16c], edx
mov eax, dword [ebx + 0x160]
or eax, dword [ebx + 0x15c]
mov edx, dword [ebx + 0x164]
or eax, edx
mov ecx, dword [ebx + 0x168]
and eax, ecx
and edx, ecx
mov dword [ebx + 0x170], eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword [ebx + 0x16c], edx
pop ebx
xor ecx, esp
call fcn.1009fbf0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x128]
mov esi, dword [ebx + 4]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x1006f155
and dword [esi + 0x5c], 0xfbffffff
lea edx, [esp + 0x20]
and dword [esi + 0x5c], 0xf7ffffff
xor eax, eax
mov word [esi + 0x5c], ax
xor edi, edi
mov byte [esi + 0x118], 1
mov dword [esi + 0x114], eax
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006f068
add ecx, 4
add edx, 4
sub dword [esp + 0x1c], 4
jae 0x1006f051
xor eax, eax
jmp 0x1006f08d
cmp al, byte [edx]
jne 0x1006f088
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006f088
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006f088
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006f088
xor eax, eax
jmp 0x1006f08d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006f141
mov edx, dword [esp + 0x18]
xor ebx, ebx
mov edi, edx
lea ecx, [ecx]
movzx eax, byte [edi + 6]
movzx ecx, byte [edi + 7]
cmp eax, 5
je 0x1006f0cd
cmp eax, 0xa
jne 0x1006f115
test ecx, ecx
jne 0x1006f0bf
or dword [esi + 0x5c], 0x4000000
jmp 0x1006f115
cmp ecx, 1
jne 0x1006f115
or dword [esi + 0x5c], 0x8000000
jmp 0x1006f115
lea eax, [ecx + 1]
cmp dword [esp + 0x14], eax
ja 0x1006f0da
mov dword [esp + 0x14], eax
cmp byte [edi + 4], 2
jne 0x1006f0ea
or dword [esi + ecx*8 + 0x64], 0x80000000
jmp 0x1006f0f2
and dword [esi + ecx*8 + 0x64], 0x7fffffff
movzx eax, byte [edi + 4]
add ecx, ecx
mov edx, 3
shl ax, cl
shl dx, cl
not dx
and dx, word [esi + 0x5c]
or dx, ax
mov word [esi + 0x5c], dx
mov edx, dword [esp + 0x18]
cmp ebx, 0x64
ja 0x1006f139
inc ebx
lea ecx, [esp + 0x20]
mov eax, dword [edx + ebx*8]
lea edi, [edx + ebx*8]
cmp eax, dword [ecx]
jne 0x1006f0a0
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jne 0x1006f0a0
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
shl edi, 0x10
xor edi, dword [esi + 0x5c]
and edi, 0xf0000
xor dword [esi + 0x5c], edi
jmp 0x1006ef8c
push dword [ebx + 0x124]
mov ecx, esi
call fcn.100846a0
test eax, eax
js 0x1006f191
jmp 0x1006ef8c
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a6dc8
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a6dc8
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 0x100a6dc8
push eax
call sub.msvcrt.dll__CxxThrowException
int3