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

Disassembly:
sub esp, 0x65c
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x658], eax
push ebx
push ebp
mov ebp, dword [esp + 0x668]
lea eax, [esp + 8]
push esi
push edi
push 0x400000
push 0x10002d38
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x680]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov eax, dword [eax + 0x60]
push ebp
call eax
mov esi, eax
cmp esi, 0xfffffae7
jne 0x100780e9
xor esi, esi
jmp 0x1007858f
test esi, esi
js 0x1007858f
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x14]
push ebp
call fcn.1007b5d0
mov esi, eax
test esi, esi
js 0x1007858f
push 0x400000
push 0x10002d38
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x688]
push ebp
mov eax, dword [eax + 0x60]
call eax
mov esi, eax
cmp esi, 0xfffffae7
jne 0x1007813c
xor esi, esi
jmp 0x1007858f
test esi, esi
js 0x1007858f
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x18]
push ebp
call fcn.1007b5d0
mov esi, eax
test esi, esi
js 0x1007858f
mov eax, dword [0x10092868]
push 0
push Ordinal_4
push dword [esp + 0x18]
mov eax, dword [eax + 0x84]
push ebp
call eax
mov esi, eax
test esi, esi
js 0x10078584
mov edi, dword [esp + 0x34]
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push ebx
push eax
push 0x1fe
lea eax, [esp + 0x78]
mov dword [esp + 0x34], ebx
push eax
mov eax, dword [0x10092868]
push edi
push dword [esp + 0x28]
mov eax, dword [eax + 0x88]
push ebp
call eax
mov esi, eax
test esi, esi
js 0x1007858f
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x100785c2
xor ecx, ecx
mov word [esp + eax + 0x68], cx
mov eax, dword [esp + 0x678]
mov esi, dword [eax]
add eax, 0xc
cmp eax, esi
je 0x10078564
test ebx, ebx
jne 0x100783aa
mov ebx, dword [esi + 8]
lea eax, [esp + 0x268]
mov edi, 0x10002dcc
mov ecx, eax
mov edx, 0x100
sub edi, ecx
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x10078223
movzx ecx, word [edi + eax]
test cx, cx
je 0x10078223
mov word [eax], cx
add eax, 2
dec edx
jne 0x10078205
jmp 0x10078227
test edx, edx
jne 0x1007822a
sub eax, 2
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x10002dcc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10078237
sub ecx, edx
mov eax, 0x100
sar ecx, 1
sub eax, ecx
push ebx
push eax
lea eax, [esp + 0x270]
lea eax, [eax + ecx*2]
push eax
call fcn.1007c8d0
lea ecx, [esp + 0x468]
mov edi, 0x10002dd8
mov eax, ecx
mov edx, 0x100
sub edi, eax
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10078292
movzx eax, word [edi + ecx]
test ax, ax
je 0x10078292
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10078274
jmp 0x10078296
test edx, edx
jne 0x10078299
sub ecx, 2
xor eax, eax
mov word [ecx], ax
mov ecx, 0x10002dd8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100782a6
sub ecx, edx
mov eax, 0x100
sar ecx, 1
sub eax, ecx
push ebx
push eax
lea eax, [esp + 0x470]
lea eax, [eax + ecx*2]
push eax
call fcn.1007c8d0
lea eax, [esp + 0x68]
mov cx, word [eax]
cmp cx, word [ebx]
jne 0x100782f8
test cx, cx
je 0x100782f4
mov cx, word [eax + 2]
cmp cx, word [ebx + 2]
jne 0x100782f8
add eax, 4
add ebx, 4
test cx, cx
jne 0x100782d2
xor eax, eax
jmp 0x100782fd
sbb eax, eax
or eax, 1
test eax, eax
je 0x1007837f
lea ecx, [esp + 0x268]
lea eax, [esp + 0x68]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10078336
test dx, dx
je 0x10078332
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10078336
add eax, 4
add ecx, 4
test dx, dx
jne 0x10078310
xor eax, eax
jmp 0x1007833b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1007837f
lea ecx, [esp + 0x468]
lea eax, [esp + 0x68]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10078376
test dx, dx
je 0x10078372
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10078376
add eax, 4
add ecx, 4
test dx, dx
jne 0x10078350
xor eax, eax
jmp 0x1007837b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1007838a
mov ebx, 1
mov dword [esp + 0x24], ebx
jmp 0x1007838e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x678]
mov esi, dword [esi]
add eax, 0xc
cmp eax, esi
jne 0x100781e5
test ebx, ebx
je 0x10078560
mov eax, dword [0x10092868]
push 0
push dword [esp + 0x18]
mov eax, dword [eax + 0x90]
push ebp
call eax
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x4c]
lea eax, [esp + 0x1c]
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x50]
lea eax, [esp + 0x1c]
push dword [esp + 0x34]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push dword [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x54]
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push edi
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x58]
lea eax, [esp + 0x1c]
push dword [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x5c]
lea eax, [esp + 0x1c]
push dword [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x60]
lea eax, [esp + 0x1c]
push dword [esp + 0x44]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
push dword [esp + 0x64]
lea eax, [esp + 0x1c]
push dword [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call fcn.10024760
mov esi, eax
test esi, esi
js 0x1007858f
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10092868]
push 0
push 0
push dword [esp + 0x20]
mov eax, dword [eax + 0x94]
push ebp
call eax
mov esi, eax
test esi, esi
js 0x1007858f
jmp 0x10078564
mov edi, dword [esp + 0x34]
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x18]
mov eax, dword [eax + 0x84]
push ebp
call eax
mov esi, eax
test esi, esi
jns 0x10078184
xor eax, eax
cmp esi, 0xfffff9bd
cmove esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100785a5
push eax
mov eax, dword [0x10092868]
mov eax, dword [eax + 0x208]
call eax
mov ecx, dword [esp + 0x668]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x65c
ret 0x10
call fcn.1007e6f3
int3