Function at 0x1006ec30
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 [0x100a80a4]
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 0x1006f154
test dl, 4
je 0x1006ec92
mov eax, dword [ebx + 0x168]
and eax, 0xffffd64a
mov byte [ebx + 0x138], 0
or eax, 8
mov dword [ebx + 0x168], eax
call fcn.1006ea90
and dword [ebx + 0x164], 0xfffffffb
jmp 0x1006edf8
test dl, 8
je 0x1006ee22
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 0x1006edf8
mov eax, dword [ebx + 0x12c]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1006ed95
lea edx, [ebx + 0x78]
mov dword [esp + 0x14], edx
lea esp, [esp]
test al, 1
je 0x1006ed7b
mov edi, dword [ebx + 0x10]
push ecx
push 0xb
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x100ae518]
mov ecx, edi
call esi
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
test edx, edx
je 0x1006ed34
mov eax, ecx
shl eax, 0x18
xor eax, dword [edx + ecx*8 + 0x64]
and eax, 0x7000000
xor dword [edx + ecx*8 + 0x64], eax
mov byte [edx + 0x118], 1
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x68]
and eax, 7
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x1c], eax
cmp eax, dword [edx]
je 0x1006ed77
mov edi, dword [ebx + 0x10]
push eax
lea eax, [ecx + 0x80]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 0x1c]
mov ecx, esi
call dword [0x100ae518]
mov ecx, edi
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
shr eax, 1
inc ecx
add edx, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
test eax, eax
jne 0x1006ecf0
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1006edf8
lea edx, [ebx + 0xc0]
mov dword [esp + 0x10], edx
test al, 1
je 0x1006ede2
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 [0x100ae518]
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 0x1006edb3
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 0x1006ef9d
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 [0x100ae518]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x12c]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1006ef25
lea edx, [ebx + 0x78]
mov dword [esp + 0x18], edx
lea esp, [esp]
test al, 1
je 0x1006ef0b
mov edi, dword [ebx + 0x10]
push ecx
push 0xb
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x100ae518]
mov ecx, edi
call esi
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
test edx, edx
je 0x1006eec4
mov eax, ecx
shl eax, 0x18
xor eax, dword [edx + ecx*8 + 0x64]
and eax, 0x7000000
xor dword [edx + ecx*8 + 0x64], eax
mov byte [edx + 0x118], 1
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x68]
and eax, 7
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x1c], eax
cmp eax, dword [edx]
je 0x1006ef07
mov edi, dword [ebx + 0x10]
push eax
lea eax, [ecx + 0x80]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 0x1c]
mov ecx, esi
call dword [0x100ae518]
mov ecx, edi
call esi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
shr eax, 1
inc ecx
add edx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x1006ee80
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1006ef88
lea edx, [ebx + 0xc0]
mov dword [esp + 0x10], edx
test al, 1
je 0x1006ef72
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 [0x100ae518]
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 0x1006ef43
mov eax, dword [ebx]
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffffef
jmp 0x1006f020
test dl, 0x20
je 0x1006f04a
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.1006ea90
mov ecx, ebx
call fcn.1006ebc0
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 [0x100ae518]
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 [0x100ae518]
mov ecx, edi
call esi
and dword [ebx + 0x164], 0xffffffdf
mov eax, dword [ebx + 0x160]
or eax, dword [ebx + 0x15c]
mov ecx, dword [ebx + 0x164]
or eax, ecx
mov edx, dword [ebx + 0x168]
and eax, edx
and edx, ecx
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x16c], edx
test edx, 0x200
je 0x1006f0e2
and dword [ebx + 0x164], 0xfffffdff
mov edx, dword [ebx + 0x164]
mov ecx, dword [ebx + 0x168]
mov eax, dword [ebx + 0x15c]
and ecx, 0xfffffdff
or eax, edx
mov dword [ebx + 0x160], 2
or ecx, 0x1442
or eax, 2
and eax, ecx
mov dword [ebx + 0x168], ecx
mov dword [ebx + 0x170], eax
and ecx, edx
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 [0x100ae518]
mov ecx, edi
call esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0x120], 0
mov byte [eax + 0x118], 1
jmp 0x1006f154
test edx, 0x400
je 0x1006f154
mov ecx, dword [ebx + 0x168]
and dword [ebx + 0x164], 0xfffffbff
and ecx, 0xffffebbd
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 [0x100ae518]
mov ecx, edi
call esi
mov ecx, dword [ebx + 0x16c]
mov dword [esp + 0x10], ecx
test ecx, 0x39c0
je 0x1006f41f
test ecx, 0x3000
je 0x1006f206
mov eax, ecx
and eax, 0x2000
cmp dword [ebx + 0x134], 0
jne 0x1006f1c7
test eax, eax
je 0x1006f1a1
mov eax, dword [ebx]
and dword [eax + 8], 0xffffffdf
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006f206
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x5c]
test eax, 0x2000000
je 0x1006f1fc
and eax, 0xfdffffff
mov byte [edx + 0x118], 1
mov dword [edx + 0x5c], eax
jmp 0x1006f1fc
test eax, eax
je 0x1006f1e2
mov eax, dword [ebx]
or dword [eax + 8], 0x20
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006f206
push dword [ebx + 0xbc]
mov ecx, dword [ebx + 4]
call fcn.10085480
mov ecx, dword [esp + 0x10]
and dword [ebx + 0x164], 0xffffefff
test ecx, 0x800
je 0x1006f283
mov eax, dword [ebx + 0x108]
cmp eax, 0xffffffff
je 0x1006f229
mov ecx, dword [ebx]
push eax
push 1
call fcn.1007afd0
mov ecx, dword [esp + 0x10]
jmp 0x1006f279
cmp dword [ebx + 0x160], 0
je 0x1006f24a
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push dword [eax + 0x10c]
push 1
call fcn.1007afd0
mov ecx, dword [esp + 0x10]
jmp 0x1006f279
mov eax, dword [ebx]
cmp dword [eax + 0x5134], 0
jne 0x1006f25e
cmp dword [eax + 0x5138], 0
je 0x1006f279
mov dword [eax + 0x5134], 0
mov dword [eax + 0x5138], 0
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xfffff7ff
test cl, cl
jns 0x1006f2c4
mov eax, dword [ebx + 0x11c]
mov ecx, dword [ebx]
test eax, eax
je 0x1006f2a3
push eax
call fcn.1007bd30
test eax, eax
js 0x1006f5e2
jmp 0x1006f2b6
push dword [ebx + 0x118]
call fcn.1007bbf0
test eax, eax
js 0x1006f5f5
and dword [ebx + 0x164], 0xffffff7f
mov ecx, dword [esp + 0x10]
test ecx, 0x100
je 0x1006f3e3
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1006f3d9
mov ecx, dword [ebx]
call fcn.1007b020
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 0x1006f3bb
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 [0x100ae518]
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 0x1006f300
mov ecx, dword [esp + 0x10]
and dword [ebx + 0x164], 0xfffffeff
test cl, 0x40
je 0x1006f41f
cmp byte [ebx + 0x138], 0
je 0x1006f45b
cmp dword [ebx + 0x15c], 0
jne 0x1006f408
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0x10c]
jmp 0x1006f5bf
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x38]
push dword [eax + 0x14]
call fcn.10085260
and dword [ebx + 0x164], 0xffffffbf
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.100a1500
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x128]
mov esi, dword [ebx + 4]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x1006f5b9
and dword [esi + 0x5c], 0xf3ffffff
lea edx, [esp + 0x20]
xor eax, eax
mov byte [esi + 0x118], 1
mov word [esi + 0x5c], ax
xor edi, edi
mov dword [esi + 0x114], eax
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 4
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006f4c7
add ecx, 4
add edx, 4
sub dword [esp + 0x1c], 4
jae 0x1006f4b0
xor eax, eax
jmp 0x1006f4ec
cmp al, byte [edx]
jne 0x1006f4e7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006f4e7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006f4e7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006f4e7
xor eax, eax
jmp 0x1006f4ec
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006f5a5
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov edi, edx
lea esp, [esp]
mov al, byte [edi + 6]
movzx ecx, byte [edi + 7]
cmp al, 5
je 0x1006f52a
cmp al, 0xa
jne 0x1006f56e
test ecx, ecx
jne 0x1006f51c
or dword [esi + 0x5c], 0x4000000
jmp 0x1006f56e
cmp ecx, 1
jne 0x1006f56e
or dword [esi + 0x5c], 0x8000000
jmp 0x1006f56e
lea eax, [ecx + 1]
cmp ebx, eax
ja 0x1006f533
mov ebx, eax
cmp byte [edi + 4], 2
jne 0x1006f543
or dword [esi + ecx*8 + 0x64], 0x80000000
jmp 0x1006f54b
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 + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, 0x64
ja 0x1006f599
inc eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], eax
lea edi, [edx + eax*8]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x1006f500
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jne 0x1006f500
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
shl edi, 0x10
xor edi, dword [esi + 0x5c]
and edi, 0xf0000
xor dword [esi + 0x5c], edi
jmp 0x1006f418
mov eax, dword [ebx + 0x124]
push eax
mov ecx, esi
call fcn.10085260
test eax, eax
jns 0x1006f418
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 0x100a7210
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a7210
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a7210
push eax
call sub.msvcrt.dll__CxxThrowException
int3