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

Disassembly:
sub esp, 0x274
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x27c]
mov dword [esp], eax
push ebx
push ebp
lea edx, [eax + 0x18]
mov eax, dword [edx + 0x74]
mov dword [esp + 0x6c], eax
imul eax, eax, 0x24
push esi
mov esi, dword [edx + 0x48]
push edi
mov dword [esp + 0x50], esi
mov ecx, dword [esi + 0x4a8]
mov dword [esp + 0x58], ecx
mov ebp, dword [eax + esi + 0x58]
mov eax, dword [esi + 0x28]
mov ecx, dword [edx + 0xec]
mov dword [esp + 0x3c], ebp
mov eax, dword [eax + 0x150]
mov ebx, dword [eax + 0xc8]
xor eax, eax
mov edi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
movzx eax, word [edx + 0xe8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], edi
lea edx, [eax*4 + 8]
mov eax, dword [ecx + 0x10]
movzx ecx, word [ecx + 2]
imul ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x6c], edx
add ecx, eax
xor eax, eax
push eax
push Ordinal_2
push ebp
mov ebp, dword [esp + 0x294]
push ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
call fcn.1003c7d0
test eax, eax
js 0x100a0088
push edi
push 0xffffffffffffffff
push dword [esp + 0x44]
push ebp
call fcn.1003c7d0
test eax, eax
jns 0x1009fc56
cmp eax, 0xfffff9bd
jne 0x100a0088
push dword [esp + 0x294]
lea eax, [esp + 0x6c]
push eax
push ebx
push dword [esp + 0x1c]
call fcn.100a0446
test eax, eax
js 0x100a0088
mov eax, dword [esi + 0x4ac]
test eax, eax
jle 0x1009fcce
mov esi, dword [esi + 0x4a8]
lea ecx, [esi + eax*4]
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
cmp esi, ecx
jae 0x1009fcce
mov edi, dword [eax + 0xcc]
mov ecx, dword [edi]
test ecx, ecx
je 0x1009fca2
cmp dword [ecx], 0
jne 0x1009fcb5
push eax
push dword [esp + 0x14]
push ebp
call fcn.100f189b
test eax, eax
js 0x100a0088
mov edi, dword [edi]
add esi, 4
mov dword [esp + 0x24], edi
mov edi, dword [edi]
mov dword [esp + 0x18], edi
cmp esi, dword [esp + 0x1c]
jae 0x1009fcce
mov eax, dword [esi]
jmp 0x1009fc91
mov eax, dword [esp + 0x10]
push dword [eax + 0x124]
lea eax, [esp + 0x18]
push 0
push eax
push edi
push ebp
call fcn.100debbe
test eax, eax
js 0x100a0088
mov esi, dword [0x1017b204]
mov dword [esp + 0x30], esi
test esi, esi
jg 0x1009fd12
push 0xa
pop esi
cmp dword [esp + 0x290], esi
cmova esi, dword [esp + 0x290]
mov dword [esp + 0x30], esi
push esi
xor eax, eax
inc eax
push eax
push dword [esp + 0x1c]
push edi
push ebp
call fcn.100dfeea
xor eax, eax
cmp word [ebx + 0x44], ax
jle 0x1009fd6c
mov edi, dword [ebx]
inc eax
mov esi, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], eax
lea eax, [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x18]
push ebp
call fcn.1018dc3e
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov edi, dword [esp + 0x18]
mov dword [eax + 4], esi
test ebx, ebx
js 0x100a005f
mov esi, dword [esp + 0x30]
push dword [esp + 0x68]
mov eax, dword [esp + 0x14]
push dword [esp + 0x18]
add eax, 0x18
push edi
push ebp
push eax
call fcn.100df019
mov ebx, eax
test ebx, ebx
js 0x100a005f
push dword [esp + 0x14]
mov eax, dword [esp + 0x14]
push edi
push ebp
add eax, 0x18
push eax
call fcn.100df207
mov ebx, eax
test ebx, ebx
js 0x100a003c
mov eax, dword [esp + 0x20]
xor ecx, ecx
inc ecx
mov dword [esp + 0x70], ecx
cmp eax, dword [esp + 0x44]
jae 0x100a0038
test byte [eax], cl
je 0x100a0038
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, esi
ja 0x100a0038
xor eax, eax
push eax
push ecx
push dword [esp + 0x44]
push ebp
call fcn.1003c7d0
mov ebx, eax
test ebx, ebx
js 0x100a0048
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x4ac]
test eax, eax
jle 0x100a0004
mov esi, dword [ecx + 0x4a8]
mov ebx, dword [esi]
lea eax, [esi + eax*4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], ebx
cmp esi, eax
jae 0x100a0004
mov edx, dword [esp + 0x74]
mov eax, esi
shl edx, 5
sub eax, dword [esp + 0x58]
mov dword [esp + 0x64], edx
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 0xcc]
mov dword [esp + 0x78], ecx
sar eax, 2
lea edi, [ecx + 0x24]
movzx ecx, word [ecx + 0xc]
and ecx, 0x80
add edi, edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*4]
xor eax, eax
push eax
lea eax, [esp + 0x50]
add ecx, 8
push eax
push 0x100
lea eax, [esp + 0x18c]
mov dword [esp + 0x30], ecx
push eax
push dword [ebx + 0xe0]
push ebp
call fcn.100adfdf
mov ebx, eax
test ebx, ebx
js 0x100a0048
cmp ebx, 0x3ec
je 0x1009ffb9
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov ebx, dword [edi + 0x18]
mov dword [esp + 0x2c], ebx
cmp dword [eax], ecx
je 0x1009fec0
push 4
push eax
push ebx
push ebp
call fcn.1003c680
test eax, eax
js 0x100a0088
push 2
pop eax
push eax
jmp 0x1009fec1
push ecx
push ebx
push ebp
call fcn.1003c9c0
mov ebx, eax
test ebx, ebx
js 0x100a0048
xor eax, eax
inc eax
or word [edi + 0x14], ax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x18]
push edi
push dword [esp + 0x1c]
push ebp
call fcn.100ddec7
mov ebx, eax
test ebx, ebx
js 0x100a004f
xor eax, eax
inc eax
push eax
lea eax, [esp + 0x4c]
push eax
push 0x100
lea eax, [esp + 0x8c]
push eax
push edi
push dword [esp + 0x24]
push ebp
call fcn.100f2190
mov ebx, eax
test ebx, ebx
js 0x100a004f
mov eax, 0xfffe
and word [edi + 0x14], ax
cmp dword [esp + 0x60], 0
je 0x1009ff58
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x184]
push eax
push dword [esp + 0x80]
push dword [esp + 0x1c]
call fcn.100a09e7
jmp 0x1009ff81
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], eax
jne 0x1009ff7f
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x188]
push eax
call fcn.10118c5c
add esp, 0xc
test eax, eax
je 0x1009ff85
xor eax, eax
test eax, eax
je 0x1009ffe8
lea eax, [esp + 0x7c]
push eax
push 4
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x38]
push ebp
call fcn.1003cf90
mov ebx, eax
test ebx, ebx
js 0x100a004f
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x34], eax
cmp dword [ecx], eax
jne 0x1009ffb9
mov eax, dword [esp + 0x54]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
add esi, 4
mov ecx, dword [esp + 0x5c]
add eax, 4
mov dword [esp + 0x28], eax
cmp esi, ecx
jae 0x1009ffd7
mov ebx, dword [esi]
mov dword [esp + 0x1c], ebx
jmp 0x1009ffdb
mov ebx, dword [esp + 0x1c]
cmp esi, ecx
jae 0x100a0000
mov edx, dword [esp + 0x64]
jmp 0x1009fe32
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, 5
je 0x100a0038
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
jmp 0x100a000e
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 2
pop ecx
or word [eax], cx
add eax, dword [esp + 0x6c]
push dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push edi
push ebp
add eax, 0x18
push eax
call fcn.100df207
mov ebx, eax
test ebx, ebx
js 0x100a003c
mov esi, dword [esp + 0x30]
jmp 0x1009fdaa
test ebx, ebx
jns 0x100a0044
cmp ebx, 0xfffff9bd
jne 0x100a0048
xor eax, eax
mov ebx, eax
cmp dword [esp + 0x34], 0
je 0x100a005b
push 3
push dword [esp + 0x30]
push ebp
call fcn.1003c9c0
mov edi, dword [esp + 0x18]
push dword [esp + 0x14]
call dword [0x10139124]
push ebp
push dword [esp + 0x18]
xor eax, eax
push edi
inc eax
push eax
push dword [esp + 0x24]
call dword [0x10139148]
movzx eax, ax
push eax
call fcn.100dec36
mov eax, ebx
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0x274
ret 0x10