Function at 0x1006de80
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 [0x100a60a4]
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 0x1006e381
test dl, 4
je 0x1006dee2
mov eax, dword [ebx + 0x168]
and eax, 0xffffd64a
mov byte [ebx + 0x138], 0
or eax, 8
mov dword [ebx + 0x168], eax
call fcn.1006dd00
and dword [ebx + 0x164], 0xfffffffb
jmp 0x1006e035
test dl, 8
je 0x1006e05f
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 0x1006e035
mov eax, dword [ebx + 0x12c]
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x1006dfd1
lea ecx, [ebx + 0x78]
mov dword [esp + 0x14], ecx
lea esp, [esp]
test al, 1
je 0x1006dfb7
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 [0x100ac510]
mov ecx, edi
call esi
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x10]
test ecx, ecx
je 0x1006df70
push 0xa
push esi
push esi
call fcn.100838e0
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 0x1006dfb3
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 [0x100ac510]
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 0x1006df40
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1006e035
lea edx, [ebx + 0xc0]
mov dword [esp + 0x10], edx
nop
test al, 1
je 0x1006e01f
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 [0x100ac510]
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 0x1006dff0
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 0x1006e1ca
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 [0x100ac510]
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 0x1006e151
lea ecx, [ebx + 0x78]
mov dword [esp + 0x18], ecx
lea esp, [esp]
test al, 1
je 0x1006e137
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 [0x100ac510]
mov ecx, edi
call esi
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x10]
test ecx, ecx
je 0x1006e0f0
push 0xa
push esi
push esi
call fcn.100838e0
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 0x1006e133
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 [0x100ac510]
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 0x1006e0c0
mov eax, dword [ebx + 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1006e1b5
lea edx, [ebx + 0xc0]
mov dword [esp + 0x10], edx
nop
test al, 1
je 0x1006e19f
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 [0x100ac510]
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 0x1006e170
mov eax, dword [ebx]
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffffef
jmp 0x1006e24d
test dl, 0x20
je 0x1006e277
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.1006dd00
mov ecx, ebx
call fcn.1006de10
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 [0x100ac510]
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 [0x100ac510]
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 0x1006e30f
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 [0x100ac510]
mov ecx, edi
call esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0x120], 0
mov byte [eax + 0x118], 1
jmp 0x1006e381
test edx, 0x400
je 0x1006e381
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 [0x100ac510]
mov ecx, edi
call esi
mov ecx, dword [ebx + 0x16c]
mov dword [esp + 0x10], ecx
test ecx, 0x39c0
je 0x1006e64f
test ecx, 0x3000
je 0x1006e433
mov eax, ecx
and eax, 0x2000
cmp dword [ebx + 0x134], 0
jne 0x1006e3f4
test eax, eax
je 0x1006e3ce
mov eax, dword [ebx]
and dword [eax + 8], 0xffffffdf
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006e433
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x5c]
test eax, 0x2000000
je 0x1006e429
and eax, 0xfdffffff
mov byte [edx + 0x118], 1
mov dword [edx + 0x5c], eax
jmp 0x1006e429
test eax, eax
je 0x1006e40f
mov eax, dword [ebx]
or dword [eax + 8], 0x20
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xffffdfff
test ecx, 0x1000
je 0x1006e433
push dword [ebx + 0xbc]
mov ecx, dword [ebx + 4]
call fcn.10083890
mov ecx, dword [esp + 0x10]
and dword [ebx + 0x164], 0xffffefff
test ecx, 0x800
je 0x1006e4b0
mov eax, dword [ebx + 0x108]
cmp eax, 0xffffffff
je 0x1006e456
mov ecx, dword [ebx]
push eax
push 1
call fcn.1007a1d0
mov ecx, dword [esp + 0x10]
jmp 0x1006e4a6
cmp dword [ebx + 0x160], 0
je 0x1006e477
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push dword [eax + 0x10c]
push 1
call fcn.1007a1d0
mov ecx, dword [esp + 0x10]
jmp 0x1006e4a6
mov eax, dword [ebx]
cmp dword [eax + 0x5134], 0
jne 0x1006e48b
cmp dword [eax + 0x5138], 0
je 0x1006e4a6
mov dword [eax + 0x5134], 0
mov dword [eax + 0x5138], 0
mov dword [eax + 0x2c], 1
and dword [ebx + 0x164], 0xfffff7ff
test cl, cl
jns 0x1006e4f1
mov eax, dword [ebx + 0x11c]
mov ecx, dword [ebx]
test eax, eax
je 0x1006e4d0
push eax
call fcn.1007b020
test eax, eax
js 0x1006e812
jmp 0x1006e4e3
push dword [ebx + 0x118]
call fcn.1007aef0
test eax, eax
js 0x1006e825
and dword [ebx + 0x164], 0xffffff7f
mov ecx, dword [esp + 0x10]
test ecx, 0x100
je 0x1006e613
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1006e609
mov ecx, dword [ebx]
call fcn.1007a3a0
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
lea ecx, [ecx]
test al, 1
je 0x1006e5eb
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 [0x100ac510]
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 0x1006e530
mov ecx, dword [esp + 0x10]
and dword [ebx + 0x164], 0xfffffeff
test cl, 0x40
je 0x1006e64f
cmp byte [ebx + 0x138], 0
je 0x1006e68b
cmp dword [ebx + 0x15c], 0
jne 0x1006e638
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0x10c]
jmp 0x1006e7ef
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x38]
push dword [eax + 0x14]
call fcn.100836a0
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.1009ebb0
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 0x1006e7e9
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 0x1006e6f7
add ecx, 4
add edx, 4
sub dword [esp + 0x1c], 4
jae 0x1006e6e0
xor eax, eax
jmp 0x1006e71c
cmp al, byte [edx]
jne 0x1006e717
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006e717
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006e717
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006e717
xor eax, eax
jmp 0x1006e71c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006e7d5
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 0x1006e75a
cmp al, 0xa
jne 0x1006e79e
test ecx, ecx
jne 0x1006e74c
or dword [esi + 0x5c], 0x4000000
jmp 0x1006e79e
cmp ecx, 1
jne 0x1006e79e
or dword [esi + 0x5c], 0x8000000
jmp 0x1006e79e
lea eax, [ecx + 1]
cmp ebx, eax
ja 0x1006e763
mov ebx, eax
cmp byte [edi + 4], 2
jne 0x1006e773
or dword [esi + ecx*8 + 0x64], 0x80000000
jmp 0x1006e77b
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 0x1006e7c9
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 0x1006e730
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jne 0x1006e730
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 0x1006e648
mov eax, dword [ebx + 0x124]
push eax
mov ecx, esi
call fcn.100836a0
test eax, eax
jns 0x1006e648
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 0x100a5080
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a5080
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x100a5080
push eax
call sub.msvcrt.dll__CxxThrowException
int3