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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x34]
cmp byte [esi + 0x230], 0
push edi
jne 0x4bb4e5
mov ebx, dword [esp + 0x3c]
cmp byte [ebx + 0x77d], 0
je 0x4bb52f
mov ebx, dword [esp + 0x3c]
cmp byte [ebx + 0x77c], 0
je 0x4bb52f
cmp byte [eax + 0x29], 0
je 0x4bb52f
mov ecx, dword [ebx + 0x780]
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x784]
mov ecx, ebp
call fcn.004b8480
add esp, 0x14
mov edx, dword [esi + 0x2c8]
mov edi, dword [esp + 0x40]
mov eax, dword [edx + 0x1c8]
mov ecx, edi
call fcn.004c0c10
lea esi, [ebx + 0x64]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
lea esp, [esp]
test eax, eax
je 0x4bb648
and eax, 1
je 0x4bb5b7
cmp dword [esi - 0x10], 0x16
jne 0x4bb5b7
mov eax, dword [esi]
mov ecx, dword [esi - 8]
cmp eax, 0x100
je 0x4bb625
mov edx, dword [ebp]
push 0
mov edx, dword [edx + 0x40]
push eax
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x58]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, ebp
call edx
jmp 0x4bb625
test eax, eax
je 0x4bb625
cmp dword [esi - 0x10], 0x1d
jne 0x4bb625
mov eax, dword [esp + 0x48]
fld dword [esp + 0x50]
fsub qword [0x556088]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esi - 8]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x24]
mov eax, dword [esi]
cmp eax, 0x100
je 0x4bb621
mov ebp, dword [ebp]
push 0
push eax
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x38]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x5c]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x40]
mov ecx, ebp
call edx
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
inc ecx
sar eax, 1
add esi, 0x1c
cmp ecx, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x4bb560
mov ebx, dword [ebx + 0x6ec]
test ebx, ebx
je 0x4bb71c
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x2c8]
mov eax, dword [ecx + 0x1c8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4bb6b8
test edi, edi
jl 0x4bb6b8
cmp edi, ecx
jge 0x4bb6b8
cmp edi, dword [eax + 0x10]
mov edx, dword [eax + 4]
jge 0x4bb682
lea ecx, [edx + edi*4]
jmp 0x4bb68a
mov ecx, dword [eax + 0x14]
add ecx, edi
lea ecx, [edx + ecx*4]
cmp dword [ecx], 0
je 0x4bb6b8
cmp edi, dword [eax + 0x10]
jge 0x4bb6a4
mov eax, dword [eax + 4]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
call fcn.004c08c0
jmp 0x4bb6ba
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 4]
add ecx, edi
lea eax, [edx + ecx*4]
mov ecx, dword [eax]
call fcn.004c08c0
jmp 0x4bb6ba
xor eax, eax
and ebx, eax
je 0x4bb71c
mov esi, dword [esp + 0x1c]
xor edi, edi
test ebx, ebx
je 0x4bb71c
test bl, 1
je 0x4bb711
cmp dword [esi - 0x10], 5
je 0x4bb711
mov eax, dword [esi]
mov ecx, dword [esi - 8]
cmp eax, 0x100
je 0x4bb711
mov edx, dword [ebp]
push 0
mov edx, dword [edx + 0x40]
push eax
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x58]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, ebp
call edx
inc edi
sar ebx, 1
add esi, 0x1c
cmp edi, 0x20
jl 0x4bb6c4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret