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

Disassembly:
mov eax, 0x100e8c2c
call fcn.100d5e28
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0x20], esi
push edi
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x7c], eax
jbe 0x1004b91c
mov edi, dword [esi + 8]
lea ecx, [eax]
mov eax, dword [esi + 0x78]
mov edx, dword [eax + ecx*4]
mov al, byte [esi + 0x60]
mov dword [ebp - 0x28], edx
test al, al
je 0x1004b8c0
mov dword [ebp - 0x2c], 1
mov ebx, dword [ebp - 0x2c]
jmp 0x1004b8c3
mov ebx, dword [edi + ecx*4]
test al, al
je 0x1004b8cc
mov edi, dword [edi + ecx*4]
jmp 0x1004b8cf
xor edi, edi
inc edi
lea eax, [edx + 0x70]
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.10036728
test ebx, ebx
je 0x1004b8f2
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.1004a4ac
sub ebx, 1
jne 0x1004b8e3
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
lea ecx, [ebx + 0x7c]
call fcn.10036728
test edi, edi
je 0x1004b90e
lea ecx, [ebx + 0x7c]
call fcn.1004a4ac
sub edi, 1
jne 0x1004b901
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [esi + 0x7c]
jb 0x1004b89f
xor ebx, ebx
cmp dword [esi + 0x18], 0
mov edi, ebx
jbe 0x1004ba69
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx + edi*8]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x28], edx
sub ecx, dword [eax + edx*4]
mov al, byte [esi + 0x60]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov byte [ebp - 0xd], al
test al, al
je 0x1004b95c
mov esi, dword [ecx + edi*8 + 4]
mov dword [ebp - 0x24], esi
jmp 0x1004b95f
mov dword [ebp - 0x24], edx
test al, al
jne 0x1004b96a
mov edx, dword [ecx + edi*8 + 4]
mov dword [ebp - 0x28], edx
and dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x1c]
test cl, cl
mov esi, eax
cmovne esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
xor esi, esi
test cl, cl
cmovne esi, eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [eax + edi*4]
call fcn.1000a0de
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x78]
mov byte [ebp - 4], 1
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1004b9d7
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x100f3aa8
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1004b9f8
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x100f3aa8
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x1004ba39
test ecx, ecx
je 0x1004ba39
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push 0x80000
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1004ba4a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
test eax, eax
je 0x1004ba5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc edi
cmp edi, dword [esi + 0x18]
jb 0x1004b928
cmp byte [esi + 0x60], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x1004ba89
mov ecx, dword [ecx + 0x70]
push dword [edi]
mov ecx, dword [ecx]
call fcn.10005b6c
jmp 0x1004ba98
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.10005b6c
cmp dword [esi + 0x24], ebx
jbe 0x1004baed
sub dword [ebp + 0xc], edi
mov eax, dword [esi + 0x20]
mov edx, dword [eax + ebx*4]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x30]
sub edx, dword [eax + ecx*4]
cmp byte [esi + 0x60], 0
mov ecx, dword [ebp + 8]
je 0x1004bad7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + edi]
mov ecx, dword [ecx + edx*4]
call fcn.10005b6c
jmp 0x1004bae4
mov ecx, dword [ecx + 0x70]
push dword [edi]
mov ecx, dword [ecx + edx*4]
call fcn.10005b6c
inc ebx
add edi, 4
cmp ebx, dword [esi + 0x24]
jb 0x1004baa0
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8