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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4bb9ea
sub esp, 0x9c
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
je 0x4bb973
mov ecx, dword [edx]
test ecx, 1
je 0x4bb973
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x8c]
cmp ecx, edx
je 0x4bb3f6
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
mov esi, dword [ecx + 8]
mov dword [esp + 0x1c], esi
mov edi, dword [ecx + 4]
cmp esi, ebp
jg 0x4bb8c2
mov edx, dword [esp + 0x1c]
cmp esi, edx
jle 0x4bb8bb
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], ebp
cmp ebx, edi
je 0x4bb3c4
mov dword [esp], ebx
mov dword [esp + 4], edi
shl edx, 2
mov dword [esp + 8], edx
call fcn.00456550
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa0]
movzx eax, byte [eax]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x7c]
cmp eax, ecx
je 0x4bb47d
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
cmp esi, ebx
jg 0x4bb82b
mov edi, esi
cmp esi, edi
jle 0x4bb824
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x60], edx
cmp edx, ebp
je 0x4bb44e
mov dword [esp], edx
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00456550
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa4]
movzx eax, byte [eax]
mov byte [esp + 0x7c], al
movzx eax, byte [esp + 0x7c]
test al, al
je 0x4bb81a
movzx eax, byte [esp + 0x8c]
test al, al
je 0x4bb810
mov eax, 0xffffffff
mov byte [esp + 0x7c], 0
jmp 0x4bb4d4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x80], ecx
movzx ecx, byte [esp + 0x6c]
mov byte [esp + 0x7c], cl
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [0x6661b4]
mov dword [esp + 4], edx
call fcn.004b9000
mov eax, dword [esp + 8]
test eax, eax
je 0x4bb7fe
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4bb7ec
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.004b8e00
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
test eax, eax
je 0x4bb7da
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c17e0
mov eax, dword [esp + 0xc]
test eax, 1
je 0x4bb7d1
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
test ecx, ecx
jbe 0x4bb96c
mov ecx, dword [edx]
and ecx, 7
cmp ecx, 3
jne 0x4bb7bf
mov ecx, dword [esp + 0x3c]
neg ecx
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x6c]
mov dword [esp], edx
lea edx, [esp + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004bba00
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
test ecx, ecx
jbe 0x4bb965
mov edx, dword [eax]
and edx, 3
cmp edx, 3
jne 0x4bb7b6
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
test edx, edx
jbe 0x4bb95c
mov edx, dword [ebx]
and edx, 3
cmp edx, 3
jne 0x4bb7b6
mov edx, dword [esp + 0x3c]
neg edx
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x90]
cmp ecx, ebx
jg 0x4bb734
mov esi, ecx
cmp ecx, esi
jle 0x4bb72d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x60], ebp
cmp ebp, eax
je 0x4bb638
mov dword [esp], ebp
mov dword [esp + 4], eax
shl esi, 2
mov dword [esp + 8], esi
call fcn.00456550
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x7c]
mov byte [esp + 0x8c], al
nop
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
cmp edx, ecx
jg 0x4bb6b6
mov ebp, edx
cmp edx, ebp
jle 0x4bb6b2
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], eax
cmp eax, ebx
je 0x4bb4a6
mov dword [esp], eax
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.00456550
jmp 0x4bb4a6
mov ebp, edx
jmp 0x4bb686
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ebx
cmp edx, 1
jne 0x4bb6f9
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov edx, 1
mov ecx, 1
jmp 0x4bb682
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.00440360
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov edx, ebp
mov ecx, dword [esp + 0x34]
jmp 0x4bb682
mov esi, ecx
jmp 0x4bb615
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], ecx
cmp ecx, 1
jne 0x4bb77e
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ebx, 1
mov ecx, 1
jmp 0x4bb60d
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 8], edx
call fcn.00440360
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ecx, esi
jmp 0x4bb60d
mov edx, dword [esp + 0x3c]
jmp 0x4bb5f1
cmp ecx, 5
je 0x4bb584
mov ecx, dword [esp + 0x3c]
jmp 0x4bb58a
mov ecx, dword [esp + 0x3c]
jmp 0x4bb58a
mov dword [esp + 0xa8], 0
add esp, 0x9c
ret
mov dword [esp + 0xa8], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
add esp, 0x9c
ret
mov eax, 1
jmp 0x4bb49f
mov eax, 1
jmp 0x4bb4d4
mov edi, esi
jmp 0x4bb42b
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], esi
cmp esi, 1
jne 0x4bb87c
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x7c]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x40]
mov ebx, 1
mov esi, 1
jmp 0x4bb423
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.00440360
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x7c]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
mov esi, edi
jmp 0x4bb423
mov edx, esi
jmp 0x4bb3a1
mov dword [esp + 0x54], edi
cmp esi, 1
jne 0x4bb915
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x8c]
mov edi, dword [esp + 0x54]
mov esi, 1
mov ebp, 1
jmp 0x4bb395
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 8], ecx
call fcn.00440360
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x8c]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
jmp 0x4bb395
xor eax, eax
mov ecx, edx
call fcn.00455c70
xor eax, eax
call fcn.00455c70
xor eax, eax
call fcn.00455c70
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x559b80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x566ac1]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a61e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004080b0
mov eax, dword [esp + 8]
lea ecx, [0x53b300]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042db00
nop
call fcn.004543b0
jmp fcn.004bb2b0