Function at 0x1006d7d0
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 [0x100a20a4]
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 0x1006dcfc
test dl, 4
je 0x1006d832
mov eax, dword [ebx + 0x168]
and eax, 0xffffd64a
mov byte [ebx + 0x138], 0
or eax, 8
mov dword [ebx + 0x168], eax
call fcn.1006d630
and dword [ebx + 0x164], 0xfffffffb
jmp 0x1006d9a0
test dl, 8
je 0x1006d9ca
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 0x1006d9a0
mov eax, dword [ebx + 0x12c]
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x1006d92c
lea ecx, [ebx + 0x78]
mov dword [esp + 0xc], ecx
lea esp, [esp]
mov edx, eax
mov dword [esp + 0x10], edx
test al, 1
je 0x1006d911
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 [0x100a8504]
mov ecx, edi
call esi
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x1006d8c6
push 0xa
push esi
push esi
call fcn.100825d0
mov ecx, dword [esp + 0xc]
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 0x1006d909
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 [0x100a8504]
mov ecx, edi
call esi
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
shr eax, 1
inc esi
add ecx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], ecx
cmp edx, 2
jae 0x1006d890
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
test eax, eax
je 0x1006d9a0
lea edx, [ebx + 0xc0]
mov dword [esp + 0x14], edx
lea ebx, [ebx]
mov esi, eax
mov dword [esp + 0x1c], esi
test al, 1
je 0x1006d989
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 [0x100a8504]
mov ecx, edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
shr eax, 1
inc ecx
add edx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
cmp esi, 2
jae 0x1006d950
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 0x1006db45
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 [0x100a8504]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x12c]
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x1006dac0
lea ecx, [ebx + 0x78]
mov dword [esp + 0x14], ecx
mov edx, eax
mov dword [esp + 0x10], edx
test al, 1
je 0x1006daa5
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 [0x100a8504]
mov ecx, edi
call esi
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x1006da5a
push 0xa
push esi
push esi
call fcn.100825d0
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 0x1006da9d
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 [0x100a8504]
mov ecx, edi
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
shr eax, 1
inc esi
add ecx, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
cmp edx, 2
jae 0x1006da24
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
test eax, eax
je 0x1006db30
lea edx, [ebx + 0xc0]
mov dword [esp + 0x14], edx
mov edi, edi
mov esi, eax
mov dword [esp + 0x1c], esi
test al, 1
je 0x1006db19
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 [0x100a8504]
mov ecx, edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
shr eax, 1
inc ecx
add edx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
cmp esi, 2
jae 0x1006dae0
mov eax, dword [ebx]
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffffef
jmp 0x1006dbc8
test dl, 0x20
je 0x1006dbf2
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.1006d630
mov ecx, ebx
call fcn.1006d750
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 [0x100a8504]
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 [0x100a8504]
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 0x1006dc8a
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 [0x100a8504]
mov ecx, edi
call esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0x120], 0
mov byte [eax + 0x118], 1
jmp 0x1006dcfc
test edx, 0x400
je 0x1006dcfc
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 [0x100a8504]
mov ecx, edi
call esi
mov ecx, dword [ebx + 0x16c]
mov dword [esp + 0x18], ecx
test ecx, 0x39c0
je 0x1006dfd2
test ecx, 0x3000
je 0x1006ddae
mov eax, ecx
and eax, 0x2000
cmp dword [ebx + 0x134], 0
jne 0x1006dd6f
test eax, eax
je 0x1006dd49
mov eax, dword [ebx]
and dword [eax + 8], 0xffffffdf
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006ddae
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x5c]
test eax, 0x2000000
je 0x1006dda4
and eax, 0xfdffffff
mov byte [edx + 0x118], 1
mov dword [edx + 0x5c], eax
jmp 0x1006dda4
test eax, eax
je 0x1006dd8a
mov eax, dword [ebx]
or dword [eax + 8], 0x20
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006ddae
push dword [ebx + 0xbc]
mov ecx, dword [ebx + 4]
call fcn.10082580
mov ecx, dword [esp + 0x18]
and dword [ebx + 0x164], 0xffffefff
test ecx, 0x800
je 0x1006de2b
mov eax, dword [ebx + 0x108]
cmp eax, 0xffffffff
je 0x1006ddd1
mov ecx, dword [ebx]
push eax
push 1
call fcn.1007a300
mov ecx, dword [esp + 0x18]
jmp 0x1006de21
cmp dword [ebx + 0x160], 0
je 0x1006ddf2
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push dword [eax + 0x10c]
push 1
call fcn.1007a300
mov ecx, dword [esp + 0x18]
jmp 0x1006de21
mov eax, dword [ebx]
cmp dword [eax + 0x5134], 0
jne 0x1006de06
cmp dword [eax + 0x5138], 0
je 0x1006de21
mov dword [eax + 0x5134], 0
mov dword [eax + 0x5138], 0
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xfffff7ff
test cl, cl
jns 0x1006de6c
mov eax, dword [ebx + 0x11c]
mov ecx, dword [ebx]
test eax, eax
je 0x1006de4b
push eax
call fcn.1007b160
test eax, eax
js 0x1006e192
jmp 0x1006de5e
push dword [ebx + 0x118]
call fcn.1007b030
test eax, eax
js 0x1006e1a5
and dword [ebx + 0x164], 0xffffff7f
mov ecx, dword [esp + 0x18]
test ecx, 0x100
je 0x1006df96
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1006df8c
mov ecx, dword [ebx]
call fcn.1007a4d0
mov edi, eax
lea ecx, [ebx + 0x20]
mov eax, dword [esp + 0xc]
xor edx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov esi, eax
mov dword [esp + 0x1c], esi
test al, 1
je 0x1006df6d
fld dword [ecx - 4]
fld dword [ecx - 8]
fld dword [ecx]
fld dword [ecx + 4]
lea ecx, [esp + 0x2c]
fld dword [edi + 4]
fmul st(4)
fld dword [edi]
fmul st(4)
push ecx
push edx
faddp st(1)
fld dword [edi + 8]
fmul st(3)
faddp st(1)
fld dword [edi + 0xc]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x34]
fld dword [edi + 0x10]
fmul st(3)
fld dword [edi + 0x14]
fmul st(5)
faddp st(1)
fld dword [edi + 0x18]
fmul st(3)
faddp st(1)
fld dword [edi + 0x1c]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [edi + 0x20]
fmul st(3)
fld dword [edi + 0x24]
fmul st(5)
faddp st(1)
fld dword [edi + 0x28]
fmul st(3)
faddp st(1)
fld dword [edi + 0x2c]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [edi + 0x30]
fmulp st(3)
fld dword [edi + 0x34]
fmulp st(4)
fxch st(2)
faddp st(3)
fmul dword [edi + 0x38]
faddp st(2)
fmul dword [edi + 0x3c]
mov edi, dword [ebx + 0x10]
faddp st(1)
fstp dword [esp + 0x40]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x100a8504]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x10]
bts eax, edx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0xc]
shr eax, 1
inc edx
add ecx, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
cmp esi, 2
jae 0x1006dea8
mov ecx, dword [esp + 0x18]
and dword [ebx + 0x164], 0xfffffeff
test cl, 0x40
je 0x1006dfd2
cmp byte [ebx + 0x138], 0
je 0x1006e00e
cmp dword [ebx + 0x15c], 0
jne 0x1006dfbb
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0x10c]
jmp 0x1006e16f
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x38]
push dword [eax + 0x14]
call fcn.10082390
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.1009b610
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x128]
mov esi, dword [ebx + 4]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x1006e169
and dword [esi + 0x5c], 0xf3ffffff
lea edx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x20], 0xff
mov word [esi + 0x5c], ax
xor edi, edi
mov byte [esi + 0x118], 1
mov dword [esi + 0x114], eax
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 4
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006e077
add ecx, 4
add edx, 4
sub dword [esp + 0x10], 4
jae 0x1006e060
xor eax, eax
jmp 0x1006e09c
cmp al, byte [edx]
jne 0x1006e097
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006e097
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006e097
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006e097
xor eax, eax
jmp 0x1006e09c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006e155
mov edx, dword [esp + 0xc]
xor ebx, ebx
mov edi, edx
lea esp, [esp]
mov al, byte [edi + 6]
movzx ecx, byte [edi + 7]
cmp al, 5
je 0x1006e0da
cmp al, 0xa
jne 0x1006e11e
test ecx, ecx
jne 0x1006e0cc
or dword [esi + 0x5c], 0x4000000
jmp 0x1006e11e
cmp ecx, 1
jne 0x1006e11e
or dword [esi + 0x5c], 0x8000000
jmp 0x1006e11e
lea eax, [ecx + 1]
cmp ebx, eax
ja 0x1006e0e3
mov ebx, eax
cmp byte [edi + 4], 2
jne 0x1006e0f3
or dword [esi + ecx*8 + 0x64], 0x80000000
jmp 0x1006e0fb
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 + 0xc]
mov eax, dword [esp + 0x14]
cmp eax, 0x64
ja 0x1006e149
inc eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
lea edi, [edx + eax*8]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x1006e0b0
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jne 0x1006e0b0
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
shl edi, 0x10
xor edi, dword [esi + 0x5c]
and edi, 0xf0000
xor dword [esi + 0x5c], edi
jmp 0x1006dfcb
mov eax, dword [ebx + 0x124]
push eax
mov ecx, esi
call fcn.10082390
test eax, eax
jns 0x1006dfcb
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 0x100a19e0
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a19e0
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a19e0
push eax
call sub.msvcrt.dll__CxxThrowException
int3