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

Disassembly:
sub esp, 0x274
mov eax, dword [0x101366b4]
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.1003cb30
test eax, eax
js 0x100a0aa9
push edi
push 0xffffffffffffffff
push dword [esp + 0x44]
push ebp
call fcn.1003cb30
test eax, eax
jns 0x100a0677
cmp eax, 0xfffff9bd
jne 0x100a0aa9
push dword [esp + 0x294]
lea eax, [esp + 0x6c]
push eax
push ebx
push dword [esp + 0x1c]
call fcn.100a0e67
test eax, eax
js 0x100a0aa9
mov eax, dword [esi + 0x4ac]
test eax, eax
jle 0x100a06ef
mov esi, dword [esi + 0x4a8]
lea ecx, [esi + eax*4]
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
cmp esi, ecx
jae 0x100a06ef
mov edi, dword [eax + 0xcc]
mov ecx, dword [edi]
test ecx, ecx
je 0x100a06c3
cmp dword [ecx], 0
jne 0x100a06d6
push eax
push dword [esp + 0x14]
push ebp
call fcn.100f2389
test eax, eax
js 0x100a0aa9
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 0x100a06ef
mov eax, dword [esi]
jmp 0x100a06b2
mov eax, dword [esp + 0x10]
push dword [eax + 0x124]
lea eax, [esp + 0x18]
push 0
push eax
push edi
push ebp
call fcn.100df6ac
test eax, eax
js 0x100a0aa9
mov esi, dword [0x1017c244]
mov dword [esp + 0x30], esi
test esi, esi
jg 0x100a0733
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.100e09d8
xor eax, eax
cmp word [ebx + 0x44], ax
jle 0x100a078d
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.100deffd
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 0x100a0a80
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.100dfb07
mov ebx, eax
test ebx, ebx
js 0x100a0a80
push dword [esp + 0x14]
mov eax, dword [esp + 0x14]
push edi
push ebp
add eax, 0x18
push eax
call fcn.100dfcf5
mov ebx, eax
test ebx, ebx
js 0x100a0a5d
mov eax, dword [esp + 0x20]
xor ecx, ecx
inc ecx
mov dword [esp + 0x70], ecx
cmp eax, dword [esp + 0x44]
jae 0x100a0a59
test byte [eax], cl
je 0x100a0a59
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, esi
ja 0x100a0a59
xor eax, eax
push eax
push ecx
push dword [esp + 0x44]
push ebp
call fcn.1003cb30
mov ebx, eax
test ebx, ebx
js 0x100a0a69
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x4ac]
test eax, eax
jle 0x100a0a25
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 0x100a0a25
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 pe_nt_image_headers32
lea eax, [esp + 0x18c]
mov dword [esp + 0x30], ecx
push eax
push dword [ebx + 0xe0]
push ebp
call fcn.100aea00
mov ebx, eax
test ebx, ebx
js 0x100a0a69
cmp ebx, 0x3ec
je 0x100a09da
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov ebx, dword [edi + 0x18]
mov dword [esp + 0x2c], ebx
cmp dword [eax], ecx
je 0x100a08e1
push 4
push eax
push ebx
push ebp
call fcn.1003c9e0
test eax, eax
js 0x100a0aa9
push 2
pop eax
push eax
jmp 0x100a08e2
push ecx
push ebx
push ebp
call fcn.1003cd20
mov ebx, eax
test ebx, ebx
js 0x100a0a69
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.100de9b5
mov ebx, eax
test ebx, ebx
js 0x100a0a70
xor eax, eax
inc eax
push eax
lea eax, [esp + 0x4c]
push eax
push pe_nt_image_headers32
lea eax, [esp + 0x8c]
push eax
push edi
push dword [esp + 0x24]
push ebp
call fcn.100f2c7e
mov ebx, eax
test ebx, ebx
js 0x100a0a70
mov eax, 0xfffe
and word [edi + 0x14], ax
cmp dword [esp + 0x60], 0
je 0x100a0979
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x184]
push eax
push dword [esp + 0x80]
push dword [esp + 0x1c]
call fcn.100a1408
jmp 0x100a09a2
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], eax
jne 0x100a09a0
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x188]
push eax
call fcn.1011974c
add esp, 0xc
test eax, eax
je 0x100a09a6
xor eax, eax
test eax, eax
je 0x100a0a09
lea eax, [esp + 0x7c]
push eax
push 4
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x38]
push ebp
call fcn.1003d2f0
mov ebx, eax
test ebx, ebx
js 0x100a0a70
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x34], eax
cmp dword [ecx], eax
jne 0x100a09da
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 0x100a09f8
mov ebx, dword [esi]
mov dword [esp + 0x1c], ebx
jmp 0x100a09fc
mov ebx, dword [esp + 0x1c]
cmp esi, ecx
jae 0x100a0a21
mov edx, dword [esp + 0x64]
jmp 0x100a0853
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, 5
je 0x100a0a59
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
jmp 0x100a0a2f
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.100dfcf5
mov ebx, eax
test ebx, ebx
js 0x100a0a5d
mov esi, dword [esp + 0x30]
jmp 0x100a07cb
test ebx, ebx
jns 0x100a0a65
cmp ebx, 0xfffff9bd
jne 0x100a0a69
xor eax, eax
mov ebx, eax
cmp dword [esp + 0x34], 0
je 0x100a0a7c
push 3
push dword [esp + 0x30]
push ebp
call fcn.1003cd20
mov edi, dword [esp + 0x18]
push dword [esp + 0x14]
call dword [0x1013a164]
push ebp
push dword [esp + 0x18]
xor eax, eax
push edi
inc eax
push eax
push dword [esp + 0x24]
call dword [0x1013a188]
movzx eax, ax
push eax
call fcn.100df724
mov eax, ebx
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0x274
ret 0x10