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

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x2bc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c0]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x4c]
xor ebx, ebx
mov dword [esp + 0x40], eax
mov ebp, dword [esp + 0x2b4]
lea eax, [esp + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [0x10092868]
mov esi, dword [esp + 0x2b8]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x98], 0xc
mov dword [esp + 0xa0], 0x64
mov eax, dword [eax + 0x10c]
push ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x98], ebx
call eax
test eax, eax
jne 0x1007cf47
mov edi, 0xfffffbb0
jmp 0x1007d4b8
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10092868]
push ebp
mov eax, dword [eax + 0xf8]
call eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], ebx
test eax, eax
je 0x1007cf86
push eax
push 5
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
push 2
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x10092868]
push 0
push esi
push ebp
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
push 2
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10092868]
push 0
push dword [esp + 0x28]
mov eax, dword [eax + 0xc]
push ebp
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
push dword [esp + 0x10]
push ebp
call fcn.1007c0f0
mov edi, eax
test edi, edi
js 0x1007d4b8
lea eax, [esp + 0x3c]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x14]
mov eax, dword [eax + 0x198]
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
mov eax, dword [esp + 0x3c]
or eax, 0x100010
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x14]
mov eax, dword [eax + 0x19c]
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
lea eax, [esp + 0x58]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x18]
mov eax, dword [eax + 0x198]
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
mov eax, dword [esp + 0x58]
or eax, 0x100010
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x18]
mov eax, dword [eax + 0x19c]
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
push dword [esp + 0x14]
push dword [esp + 0x14]
push ebp
call fcn.10076bc0
test eax, eax
mov dword [esp + 0x9c], 5
mov eax, dword [esp + 0x18]
mov ecx, 0x80
cmovs ebx, ecx
test eax, eax
je 0x1007d0ad
push eax
push 0
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
lea eax, [esp + 0x20]
push eax
push 0
push 1
push dword [esp + 0x1c]
push ebp
call fcn.1007c340
test eax, eax
jns 0x1007d0c7
or ebx, 4
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
push ebp
call fcn.1007c7e0
test eax, eax
jns 0x1007d0dd
or ebx, 2
push dword [esp + 0x14]
push dword [esp + 0x14]
push ebp
call fcn.10077110
test eax, eax
jns 0x1007d0f2
or ebx, 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebp
call fcn.1007a000
test eax, eax
jns 0x1007d10c
or ebx, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], 0x1e
test eax, eax
je 0x1007d13c
push eax
push 0
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
push dword [esp + 0x14]
push 6
push dword [esp + 0x18]
push ebp
call fcn.100778a0
test eax, eax
jns 0x1007d153
or ebx, 0x40
push dword [esp + 0x14]
push 4
push dword [esp + 0x18]
push ebp
call fcn.100778a0
test eax, eax
jns 0x1007d16a
or ebx, 0x40
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], 0x23
test eax, eax
je 0x1007d19a
push eax
push 0
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x14]
push ebp
call fcn.1007c1a0
test eax, eax
jns 0x1007d1b0
or ebx, 0x20
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebp
call fcn.10078c70
test eax, eax
jns 0x1007d1ca
or ebx, 0x20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], 0x2d
test eax, eax
je 0x1007d1fa
push eax
push 0
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x18]
push ebp
call fcn.10078ef0
test eax, eax
jns 0x1007d214
or ebx, 0x10
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x18]
push ebp
call fcn.10078ef0
test eax, eax
jns 0x1007d22e
or ebx, 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], 0x37
test eax, eax
je 0x1007d25e
push eax
push 0
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebp
call fcn.100775e0
test eax, eax
jns 0x1007d278
or ebx, 8
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x1007d2b8
mov ebp, 1
lea esp, [esp]
push 0x10002d38
push dword [esi + 8]
call fcn.1001f560
mov esi, dword [esi]
neg eax
sbb eax, eax
and ebp, eax
lea eax, [esp + 0x2c]
cmp eax, esi
jne 0x1007d290
test ebp, ebp
mov ebp, dword [esp + 0x2b4]
je 0x1007d2d2
push dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x18]
push ebp
call fcn.10078070
test eax, eax
jns 0x1007d2d2
or ebx, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], 0x41
test eax, eax
je 0x1007d302
push eax
push 0
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
lea eax, [esp + 0x78]
push eax
push 1
push 0
push dword [esp + 0x1c]
push ebp
call fcn.1007c340
test eax, eax
jns 0x1007d31c
or ebx, 1
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x18]
push ebp
call fcn.1007b3e0
test eax, eax
jns 0x1007d33a
or ebx, 1
push dword [esp + 0x14]
lea eax, [esp + 0x7c]
push dword [esp + 0x60]
push eax
push dword [esp + 0x1c]
push ebp
call fcn.1007c4f0
test eax, eax
jns 0x1007d358
or ebx, 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], 0x5a
test eax, eax
je 0x1007d388
push eax
push 0
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov edi, eax
test edi, edi
js 0x1007d4b8
push dword [esp + 0x14]
push dword [esp + 0x14]
push ebp
call fcn.10079450
mov edi, eax
test edi, edi
js 0x1007d4b8
push dword [esp + 0x14]
push dword [esp + 0x14]
push ebp
call fcn.100771a0
mov edi, eax
test edi, edi
js 0x1007d4b8
push dword [esp + 0x14]
push dword [esp + 0x14]
push ebp
call fcn.1007b1d0
mov edi, eax
test edi, edi
js 0x1007d4b8
mov eax, dword [0x10092868]
push 1
push dword [esp + 0x14]
mov eax, dword [eax + 0x10]
push ebp
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
mov eax, dword [0x10092868]
push 1
push dword [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [eax + 0x10]
push ebp
call eax
mov edi, eax
test edi, edi
js 0x1007d4b8
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0xa4]
mov eax, ecx
mov dword [esp + 0x14], 0xffffffff
mov edx, 0x104
sub esi, eax
lea ebx, [ebx]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1007d44e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1007d44e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x1007d430
jmp 0x1007d452
test edx, edx
jne 0x1007d455
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0xa4]
push eax
call fcn.1007b390
mov edx, eax
lea ecx, [esp + 0xa4]
sub edx, ecx
mov ecx, 0x104
sar edx, 1
push 0x100068a4
sub ecx, edx
push ecx
push eax
call fcn.1007c8d0
lea eax, [esp + 0xa4]
push eax
call fcn.10056920
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xa4]
push eax
push esi
call fcn.10056b60
mov edi, eax
test edi, edi
js 0x1007d4b8
push esi
push dword [esp + 0x20]
call fcn.10056b60
mov edi, eax
push dword [esp + 0x1c]
call fcn.10056920
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], 0x64
test eax, eax
je 0x1007d4e7
push eax
push 6
lea eax, [esp + 0xa0]
push eax
push 0xf
push ebp
call fcn.10045e70
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x1007d508
push dword [esi + 8]
call fcn.1007f7b9
mov esi, dword [esi]
lea eax, [esp + 0x30]
add esp, 4
cmp eax, esi
jne 0x1007d4f3
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x84]
cmp eax, esi
je 0x1007d52f
push dword [esi + 8]
call fcn.1007f7b9
mov esi, dword [esi]
lea eax, [esp + 0x88]
add esp, 4
cmp eax, esi
jne 0x1007d517
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x6c]
cmp eax, esi
je 0x1007d555
jmp 0x1007d540
push dword [esi + 8]
call fcn.1007f7b9
mov esi, dword [esi]
lea eax, [esp + 0x70]
add esp, 4
cmp eax, esi
jne 0x1007d540
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x4c]
cmp eax, esi
je 0x1007d57a
push dword [esi + 8]
call fcn.1007f7b9
mov esi, dword [esi]
lea eax, [esp + 0x50]
add esp, 4
cmp eax, esi
jne 0x1007d561
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1007d595
push 1
push eax
mov eax, dword [0x10092868]
push ebp
mov eax, dword [eax + 0x10]
call eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1007d5b0
push 1
push eax
mov eax, dword [0x10092868]
push ebp
mov eax, dword [eax + 0x10]
call eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x90]
mov dword [eax], ebx
lea eax, [esp + 0x4c]
cmp eax, esi
je 0x1007d5ec
lea eax, [esp + 0x40]
cmp esi, eax
je 0x1007d5e4
lea eax, [esp + 0x4c]
cmp esi, eax
je 0x1007d5ec
mov eax, dword [esi + 4]
push esi
mov esi, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], eax
call fcn.1007f7b9
add esp, 4
lea eax, [esp + 0x4c]
cmp eax, esi
jne 0x1007d5c1
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x6c]
cmp eax, esi
je 0x1007d623
lea eax, [esp + 0x60]
cmp esi, eax
je 0x1007d61b
lea eax, [esp + 0x6c]
cmp esi, eax
je 0x1007d623
mov eax, dword [esi + 4]
push esi
mov esi, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], eax
call fcn.1007f7b9
add esp, 4
lea eax, [esp + 0x6c]
cmp eax, esi
jne 0x1007d5f8
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x84]
cmp eax, esi
je 0x1007d663
lea eax, [esp + 0x78]
cmp esi, eax
je 0x1007d658
lea eax, [esp + 0x84]
cmp esi, eax
je 0x1007d663
mov eax, dword [esi + 4]
push esi
mov esi, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], eax
call fcn.1007f7b9
add esp, 4
lea eax, [esp + 0x84]
cmp eax, esi
jne 0x1007d632
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x1007d69b
nop
lea eax, [esp + 0x20]
cmp esi, eax
je 0x1007d693
lea eax, [esp + 0x2c]
cmp esi, eax
je 0x1007d69b
mov eax, dword [esi + 4]
push esi
mov esi, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], eax
call fcn.1007f7b9
add esp, 4
lea eax, [esp + 0x2c]
cmp eax, esi
jne 0x1007d670
mov ecx, dword [esp + 0x2ac]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x2a0
ret 0x10