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

Disassembly:
sub esp, 0x1f8
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x1f4], eax
push ebx
mov ebx, dword [esp + 0x204]
lea eax, [esp + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x20c]
push 0x80400000
push 0x10002bf8
push eax
mov eax, dword [0x10092868]
push ebx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [eax + 0x60]
push edi
call eax
mov esi, eax
cmp esi, 0xfffffae7
je 0x1004ef2c
test esi, esi
js 0x1004ef34
push 0
push 0x18
lea eax, [esp + 0x68]
push eax
mov eax, dword [0x10092868]
push 0x100037c4
push dword [esp + 0x20]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004ef34
mov eax, dword [0x10092868]
mov ebp, dword [esp + 0x64]
push 0
push Ordinal_4
push dword [esp + 0x18]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004ef34
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0x82
lea eax, [esp + 0x88]
push eax
mov eax, dword [0x10092868]
push ebp
push dword [esp + 0x28]
mov eax, dword [eax + 0x88]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004ef34
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1004ef9a
xor ecx, ecx
mov word [esp + eax + 0x78], cx
lea eax, [esp + 0x78]
push 0x80400002
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x10092868]
push ebx
push edi
mov eax, dword [eax + 0x60]
call eax
mov esi, eax
cmp esi, 0xfffffae7
je 0x1004ef90
test esi, esi
js 0x1004ef34
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
push 0x82
lea eax, [esp + 0x194]
push eax
push 0x10002980
push 0
lea eax, [esp + 0x98]
push eax
mov eax, dword [0x10092868]
push 0x10001078
push ebx
push edi
mov eax, dword [eax + 0x140]
call eax
mov esi, eax
test esi, esi
js 0x1004ef34
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1004ef9a
push 1
xor ecx, ecx
mov word [esp + eax + 0x184], cx
lea eax, [esp + 0x2c]
push 0x38
push eax
mov eax, dword [0x10092868]
push ecx
push dword [esp + 0x24]
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1004ef34
mov eax, dword [0x10092868]
push 0
push Ordinal_4
push dword [esp + 0x34]
mov eax, dword [eax + 0x84]
push edi
call eax
test eax, eax
js 0x1004eebf
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x60]
mov eax, dword [0x10092868]
push dword [esp + 0x44]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
cmp esi, 0x3ec
jne 0x1004ee0a
mov dword [esp + 0x1c], 0
jmp 0x1004ee12
test esi, esi
js 0x1004ef34
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0x81
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x4c]
mov eax, dword [0x10092868]
push dword [esp + 0x44]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x1004ef34
mov eax, dword [esp + 0x18]
xor ecx, ecx
test dword [esp + 0x1c], 0x2000
mov word [esp + eax + 0xfc], cx
jne 0x1004ee79
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.1001f560
test eax, eax
jne 0x1004eea1
push 4
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x104]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x20]
push edi
mov eax, dword [eax + 0x44]
call eax
mov esi, eax
test esi, esi
js 0x1004ef34
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x34]
mov eax, dword [eax + 0x84]
push edi
call eax
test eax, eax
jns 0x1004edd0
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x1004eedc
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [0x10092868]
push dword [esp + 0x14]
push edi
mov eax, dword [eax + 0x68]
call eax
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jns 0x1004eca8
cmp esi, 0xfffff9bd
jne 0x1004ef34
mov eax, dword [0x10092868]
xor esi, esi
push dword [esp + 0x10]
push edi
mov eax, dword [eax + 0x68]
call eax
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x1004ef49
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1004ef5e
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1004ef73
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x204]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x1f8
ret 0xc
mov dword [esp + 0x14], 0xffffffff
jmp 0x1004ef34
call fcn.1007e6f3
int3