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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
jne 0x4b4d00
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x60
ret
mov ebx, dword [esp + 0x74]
push edi
push ebx
call fcn.004b52a0
add esp, 8
cmp eax, 0xffffffff
jne 0x4b4d4d
mov eax, dword [esp + 0x80]
cmp eax, ebp
je 0x4b4d2c
push eax
push ebx
call fcn.004b5230
add esp, 8
mov esi, eax
jmp 0x4b4d2e
xor esi, esi
mov eax, dword [esp + 0x7c]
cmp eax, ebp
je 0x4b51ed
push eax
call fcn.004b3d20
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [ebx]
add eax, 2
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004ae760
add esp, 8
cmp eax, ebp
jne 0x4b51ef
mov edx, dword [ebx]
lea eax, [esp + 0x40]
add edx, 2
push eax
mov dword [esp + 0x54], edx
call fcn.00489ae0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x4b51e0
lea ecx, [esp + 0x60]
push ecx
call fcn.00489ae0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x4b51d3
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.004ae500
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x4b51c6
lea eax, [esp + 0x30]
push edi
push eax
call fcn.004ae500
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x4b51b9
mov ecx, dword [ebx + 8]
mov esi, dword [edi + 8]
xor edx, edx
cmp ecx, esi
setne dl
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], edx
call fcn.004b5200
cdq
mov ecx, 0x1c
idiv ecx
add esp, 4
cmp edx, 0x1b
jge 0x4b4e49
mov edi, 0x1b
sub edi, edx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.004b41a0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x4b51ac
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x34]
push edi
push edx
call fcn.004b41a0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x4b51ac
jmp 0x4b4e4d
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
lea ebx, [eax - 1]
lea ebp, [ecx - 1]
mov edi, ebx
sub edi, ebp
lea edx, [esp + 0x30]
push edi
push edx
call fcn.004b4560
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b51ac
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b5300
add esp, 8
cmp eax, 0xffffffff
je 0x4b4ecd
mov eax, dword [esp + 0x5c]
inc dword [eax + edi*4]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004b3eb0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b51ac
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004b5300
add esp, 8
cmp eax, 0xffffffff
jne 0x4b4e8e
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.004b3fe0
lea eax, [ebp + 1]
add esp, 8
cmp ebx, eax
jl 0x4b5137
cmp ebx, dword [esp + 0x20]
jg 0x4b512b
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + ebx*4]
mov esi, dword [edx + ebp*4]
cmp eax, esi
jne 0x4b4f1f
mov ecx, dword [esp + 0x5c]
mov eax, ebx
sub eax, ebp
dec eax
lea edi, [eax*4]
mov dword [esp + 0x78], eax
mov dword [edi + ecx], 0xfffffff
jmp 0x4b4f74
mov ecx, 0x1c
xor edx, edx
call fcn.005840b0
mov ecx, dword [edi + ebx*4 - 4]
xor edi, edi
push edi
push esi
or edx, edi
or eax, ecx
push edx
push eax
call fcn.005848a0
test edx, edx
ja 0x4b4f49
cmp eax, 0xfffffff
jbe 0x4b4f56
mov eax, 0xfffffff
mov dword [esp + 0x1c], 0
mov edx, ebx
sub edx, ebp
lea ecx, [edx - 1]
lea edi, [ecx*4]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x5c]
and eax, 0xfffffff
mov dword [edi + ecx], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [edi + eax]
inc edx
and edx, 0xfffffff
mov dword [edi + eax], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + eax]
dec ecx
lea edx, [esp + 0x40]
and ecx, 0xfffffff
push edx
mov dword [edi + eax], ecx
call fcn.004b3d20
lea eax, [ebp - 1]
add esp, 4
test eax, eax
jge 0x4b4fae
xor eax, eax
jmp 0x4b4fb6
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + ebp*4 - 4]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], 2
mov ecx, dword [edi + eax]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.004b4350
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b51ac
lea eax, [ebx - 2]
test eax, eax
jge 0x4b5001
xor eax, eax
jmp 0x4b5008
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax*4]
mov edx, dword [esp + 0x6c]
mov dword [edx], eax
lea eax, [ebx - 1]
test eax, eax
jge 0x4b5019
xor eax, eax
jmp 0x4b5021
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + ebx*4 - 4]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x6c]
mov dword [edx + 8], ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x68], 3
call fcn.004b52a0
add esp, 8
cmp eax, 1
je 0x4b4f85
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + eax]
lea edx, [esp + 0x40]
push edx
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004b4350
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b51ac
mov eax, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004b4560
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b51ac
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004b3eb0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b51ac
cmp dword [esp + 0x28], 1
jne 0x4b512b
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004b5230
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b51ac
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.004b4560
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b51ac
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004b5440
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b51ac
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + eax]
dec ecx
and ecx, 0xfffffff
mov dword [edi + eax], ecx
dec ebx
lea eax, [ebp + 1]
cmp ebx, eax
jge 0x4b4ee6
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4b5149
mov dword [esp + 0x28], 0
jmp 0x4b5154
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x4b517b
lea ecx, [esp + 0x50]
push ecx
call fcn.004b5370
lea edx, [esp + 0x54]
push esi
push edx
call fcn.004b4780
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 8], eax
mov esi, dword [esp + 0x80]
test esi, esi
je 0x4b51aa
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004b48f0
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.004b4780
add esp, 0x18
xor esi, esi
lea edx, [esp + 0x30]
push edx
call fcn.004897e0
add esp, 4
lea eax, [esp + 0x20]
push eax
call fcn.004897e0
add esp, 4
lea ecx, [esp + 0x60]
push ecx
call fcn.004897e0
add esp, 4
lea edx, [esp + 0x40]
push edx
call fcn.004897e0
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.004897e0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret