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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
mov ebx, ecx
mov dword [esp + 0xc], 0
push esi
push edi
mov dword [esp + 0x18], ebx
mov esi, dword [ebx + 8]
mov eax, dword [esi]
mov edx, dword [eax + 8]
cmp eax, 0x10017968
jne 0x1007e480
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [esi + 0x9c]
test eax, eax
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
je 0x1007e1b6
call dword [edx + 0xf4]
test eax, eax
setne al
jmp 0x1007e1be
call dword [edx + 0x44]
test eax, eax
setne al
test al, al
je 0x1007e469
mov ecx, dword [esp + 0x14]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jne 0x1007e1e2
cmp byte [ebx + 0x24], al
jne 0x1007e469
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1007e469
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x24]
mov dword [esp + 0x20], 0
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x2c]
push edx
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x48]
mov dword [ebx + 0x18], eax
movzx eax, word [esp + 0xc]
push 0x1fd
mov dword [ebx + 0x28], eax
call fcn.1003fd70
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
sub eax, edx
shr eax, 2
cmp ecx, eax
ja 0x1007e32e
mov ecx, dword [edx + ecx*4 - 4]
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dword [esp + 0x34], eax
test eax, eax
je 0x1007e32e
mov ecx, dword [ebx + 0x10]
xor edi, edi
mov esi, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x14]
xor ebx, ebx
mov dword [esp + 0x30], ecx
cmp esi, dword [eax + 8]
jae 0x1007e32a
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0x10016e88
mov ecx, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.10074dd0
test al, al
je 0x1007e315
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
sub eax, 8
je 0x1007e2d0
sub eax, 1
jne 0x1007e315
mov eax, 0x1105
jmp 0x1007e2d5
mov eax, 0x1019
cmp word [esi + 2], ax
sete al
test al, al
je 0x1007e315
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
cmp edi, eax
jb 0x1007e2fa
jne 0x1007e315
cmp ebx, ecx
ja 0x1007e315
cmp edi, eax
jne 0x1007e2fa
cmp ebx, ecx
je 0x1007e315
mov edx, dword [esp + 0x2c]
cmp eax, edx
jb 0x1007e30a
jne 0x1007e315
cmp ecx, dword [esp + 0x30]
ja 0x1007e315
mov edx, dword [esp + 0x18]
mov edi, eax
mov ebx, ecx
mov dword [edx + 0x2c], esi
movzx eax, word [esi]
add eax, 2
add esi, eax
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 8]
jb 0x1007e291
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x2c], 0
jne 0x1007e45c
push ecx
push dword [ebx + 0x28]
lea ecx, [esp + 0x50]
call fcn.10084610
test eax, eax
je 0x1007e44f
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
je 0x1007e44f
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10017968
jne 0x1007e48e
mov ecx, dword [ecx + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x24]
test eax, eax
push edx
mov eax, dword [ecx]
je 0x1007e3ac
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x20]
push edx
call dword [eax + 0x24]
jmp 0x1007e3be
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
movzx esi, word [esp + 0x10]
mov edx, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x20]
cmp esi, edx
jb 0x1007e44f
jne 0x1007e3ea
cmp eax, edi
ja 0x1007e3ea
cmp esi, edx
jne 0x1007e44f
cmp eax, edi
jne 0x1007e44f
movzx eax, word [esp + 0xc]
xor edx, edx
div dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x1007e439
mov edi, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x34], edi
test edi, edi
je 0x1007e439
mov ebx, dword [eax]
nop
mov eax, dword [ebx + esi*8]
mov cl, 0x20
mov edx, dword [ebx + esi*8 + 4]
call fcn.100ffae0
mov edi, dword [esp + 0x4c]
movzx ecx, word [esp + 0xc]
cmp dword [edi + eax*4], ecx
mov edi, dword [esp + 0x34]
je 0x1007e446
inc esi
cmp esi, edi
jb 0x1007e410
mov ebx, dword [esp + 0x18]
movzx ecx, word [esp + 0xc]
mov dword [ebx + 0x28], ecx
jmp 0x1007e246
mov ebx, dword [esp + 0x18]
jmp 0x1007e350
lea ecx, [esp + 0x48]
xor bl, bl
call fcn.1003fc90
jmp 0x1007e46b
lea ecx, [esp + 0x48]
mov bl, 1
call fcn.1003fc90
jmp 0x1007e46b
xor bl, bl
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1007e477
mov edx, dword [ecx]
call dword [edx]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call edx
jmp 0x1007e1be
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
call edx
jmp 0x1007e3be