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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bb4f5
sub esp, 0x54
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x4bb22c
mov ebp, dword [esp + 0x58]
test byte [ebp], al
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
jmp 0x4bb268
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
sub ebx, esi
cmp ebx, 4
jl 0x4bb3f6
mov ebx, dword [esp + 0x44]
sub ecx, ebx
cmp ecx, 4
jl 0x4bb3fa
mov dword [esp + 0x38], ecx
lea ecx, [esi + 4]
cmp edx, ecx
jb 0x4bb4ef
cmp esi, ecx
ja 0x4bb4e8
mov dword [esp + 0x3c], ecx
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
movzx esi, byte [edi + edx]
movzx esi, byte [esi + ebp + 0x40]
xchg esi, eax
mov byte [esp + 0x33], al
xchg esi, eax
movzx ecx, byte [edi + edx + 1]
movzx ecx, byte [ecx + ebp + 0x40]
movzx eax, byte [edi + edx + 2]
movzx eax, byte [eax + ebp + 0x40]
movzx edx, byte [edi + edx + 3]
movzx edx, byte [edx + ebp + 0x40]
or esi, ecx
or esi, eax
or esi, edx
xchg esi, eax
cmp al, 0xff
xchg esi, eax
jne 0x4bb2eb
mov eax, 0
jmp 0x4bb319
movzx ebp, byte [esp + 0x33]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
shl ebp, 0x1a
movzx ecx, cl
shl ecx, 0x14
or ecx, ebp
movzx ebp, al
shl ebp, 0xe
or ebp, ecx
movzx eax, dl
shl eax, 8
or eax, ebp
xchg esi, eax
cmp al, 0xff
xchg esi, eax
mov ebp, dword [esp + 0x58]
je 0x4bb354
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x4bb4e1
mov esi, dword [esp + 0x64]
mov edx, esi
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
bswap eax
mov ebp, dword [esp + 0x5c]
mov dword [ebp + esi], eax
add ebx, 3
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
jmp 0x4bb248
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x4bb4da
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ebx
mov esi, dword [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.004bac50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x2c]
test ecx, ecx
jne 0x4bb3e2
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
mov ebx, eax
mov esi, ecx
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, ebp
mov ebp, dword [esp + 0x5c]
jmp 0x4bb248
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
jmp 0x4bb42a
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov ebx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp edx, esi
jle 0x4bb4b9
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x60]
cmp esi, ebx
jb 0x4bb4d1
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
sub ecx, ebx
mov dword [esp + 0x3c], ecx
sub esi, ebx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.004bac50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x2c]
test ecx, ecx
je 0x4bb400
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov eax, ebx
mov ecx, esi
call fcn.00460fc0
mov eax, ebx
call fcn.00460fc0
mov eax, ebx
call fcn.00460fc0
mov eax, esi
call fcn.00460fc0
call fcn.00460fa0
nop
call fcn.0045faf0
jmp fcn.004bb1d0