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

Disassembly:
push 0x20
mov eax, 0x4bcd61
call fcn.00470106
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x7c], eax
jbe 0x4b15b4
mov dl, byte [esi + 0x60]
mov ecx, eax
mov eax, dword [esi + 0x78]
shl ecx, 2
mov edi, dword [ecx + eax]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x28], edi
test dl, dl
je 0x4b14c4
mov dword [ebp - 0x1c], 1
jmp 0x4b14c9
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test dl, dl
je 0x4b14d4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x4b14db
mov dword [ebp - 0x14], 1
lea ecx, [edi + 0x70]
mov dword [ebp - 0x24], ecx
mov edi, dword [ecx + 4]
jmp 0x4b150c
mov eax, dword [ecx]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4b150c
mov ecx, dword [eax]
test ecx, ecx
je 0x4b1502
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0046aec1
pop ecx
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x4b14e6
mov dword [ecx + 4], ebx
cmp dword [ebp - 0x1c], ebx
jbe 0x4b153e
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
push 4
call fcn.0046afee
pop ecx
test eax, eax
je 0x4b152e
mov dword [eax], ebx
jmp 0x4b1530
mov eax, ebx
push eax
mov ecx, edi
call fcn.00413ab6
dec esi
jne 0x4b151e
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, 0x7c
mov dword [ebp - 0x24], ecx
mov edi, dword [ecx + 4]
jmp 0x4b1572
mov eax, dword [ecx]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4b1572
mov ecx, dword [eax]
test ecx, ecx
je 0x4b1568
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0046aec1
pop ecx
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x4b154c
mov dword [ecx + 4], ebx
cmp dword [ebp - 0x14], ebx
jbe 0x4b15a4
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
push 4
call fcn.0046afee
pop ecx
test eax, eax
je 0x4b1594
mov dword [eax], ebx
jmp 0x4b1596
mov eax, ebx
push eax
mov ecx, edi
call fcn.00413ab6
dec esi
jne 0x4b1584
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0x7c]
jb 0x4b14a1
mov edi, ebx
cmp dword [esi + 0x18], ebx
jbe 0x4b16f8
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx + edi*8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + edx*4]
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + edx*4]
mov al, byte [esi + 0x60]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x28], edx
mov byte [ebp - 0xd], al
test al, al
je 0x4b15f3
mov esi, dword [ecx + edi*8 + 4]
mov dword [ebp - 0x24], esi
jmp 0x4b15f6
mov dword [ebp - 0x24], edx
test al, al
jne 0x4b1601
mov edx, dword [ecx + edi*8 + 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0xd]
mov esi, eax
test cl, cl
cmovne esi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
xor esi, esi
test cl, cl
cmovne esi, eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x18]
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 - 0x20]
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.004b3435
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4b166e
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
push 0x4f7034
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 0x4b168f
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x4f7034
push ecx
call dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4b16d0
test ecx, ecx
je 0x4b16d0
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x20]
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 - 0x1c]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x4b16e0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4b16ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [esi + 0x18]
jb 0x4b15bf
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 0x4b1718
mov ecx, dword [ecx + 0x70]
push dword [edi]
mov ecx, dword [ecx]
call fcn.00412a1c
jmp 0x4b1727
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.00412a1c
cmp dword [esi + 0x24], ebx
jbe 0x4b177f
sub dword [ebp + 0xc], edi
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
sub ecx, dword [eax + edx*4]
cmp byte [esi + 0x60], 0
mov eax, dword [esi + 0x78]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + edx*4]
je 0x4b1766
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + edi]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + eax*4]
call fcn.00412a1c
jmp 0x4b1776
mov ecx, dword [ecx + 0x70]
mov eax, dword [ebp + 8]
push dword [edi]
mov ecx, dword [ecx + eax*4]
call fcn.00412a1c
inc ebx
add edi, 4
cmp ebx, dword [esi + 0x24]
jb 0x4b172f
xor eax, eax
call fcn.004700d4
ret 8