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

Disassembly:
mov ecx, dword [0x5db520]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b29d2
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x58], eax
mov eax, 1
mov byte [esp + 0x27], al
mov eax, 1
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x58]
jmp 0x4b2514
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov esi, ecx
mov ebp, dword [esp + 0x64]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], dl
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], esi
sub esi, edi
cmp esi, 0xc
jle 0x4b28e6
test ebp, ebp
je 0x4b28bf
mov dword [esp + 0x3c], esi
mov dword [esp + 0x54], edi
movzx esi, byte [esp + 0x27]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4b2586
mov dword [esp + 0x68], ebp
mov ebp, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
call fcn.004b3d30
mov eax, dword [esp + 0x68]
lea ebp, [eax - 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x64], ebp
mov esi, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x14], esi
call fcn.004b3850
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, 2
jne 0x4b25dc
mov dword [esp + 0x34], ecx
nop
mov edx, dword [esp + 0x50]
lea ebx, [edx - 1]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x54]
mov eax, edi
jmp 0x4b2950
movzx edx, byte [esp + 0x27]
test dl, dl
mov dword [esp + 0x60], ecx
je 0x4b2651
movzx ebx, byte [esp + 0x26]
test bl, bl
je 0x4b2656
cmp eax, 1
jne 0x4b2656
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 0x14], esi
call fcn.004b3330
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4b290c
mov ecx, dword [esp + 0x60]
movzx edx, byte [esp + 0x27]
movzx ebx, byte [esp + 0x26]
jmp 0x4b2656
movzx ebx, byte [esp + 0x26]
mov ebp, dword [esp + 0x54]
test ebp, ebp
jle 0x4b2736
lea eax, [ebp - 1]
mov esi, dword [esp + 0x80]
cmp esi, eax
jbe 0x4b2919
mov edi, dword [esp + 0x7c]
lea eax, [edi + ebp*8 - 8]
cmp esi, ecx
jbe 0x4b2910
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x18]
test byte [ebx], al
mov ebx, dword [eax]
mov dword [esp + 0x70], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
lea ebp, [edi + ecx*8]
mov esi, dword [ebp]
mov dword [esp + 0x6c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x28], ebp
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00402f50
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4b26eb
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.00402f50
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4b271a
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call fcn.00402e60
mov eax, dword [esp + 0x10]
test eax, eax
setl al
jmp 0x4b271f
mov eax, 1
xor eax, 1
mov ecx, dword [esp + 0x60]
movzx edx, byte [esp + 0x27]
movzx ebx, byte [esp + 0x26]
mov ebp, dword [esp + 0x54]
jmp 0x4b2738
xor eax, eax
test al, al
je 0x4b2792
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
call fcn.004b3020
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x50]
movzx eax, byte [esp + 0x27]
movzx edx, byte [esp + 0x26]
jmp 0x4b24de
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
call fcn.004b29e0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x54]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x50]
mov ebp, ebx
sub ebx, edx
movzx esi, byte [esp + 0x20]
xchg esi, eax
mov byte [esp + 0x26], al
xchg esi, eax
mov edi, dword [esp + 0x3c]
sar edi, 3
mov dword [esp + 0x4c], edi
cmp ebx, eax
jle 0x4b285c
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov ebx, dword [eax + 0x24]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
call fcn.004b2480
mov eax, dword [esp + 0x38]
lea edi, [eax + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
setle al
mov ecx, dword [esp + 0x50]
jmp 0x4b28b5
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x18], ebp
call fcn.004b2480
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
setle al
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x26]
jmp 0x4b24de
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
call fcn.004b3f10
add esp, 0x74
ret
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
call fcn.004b4360
add esp, 0x74
ret
add esp, 0x74
ret
mov eax, ecx
mov ecx, esi
call fcn.0046db50
mov ecx, esi
call fcn.0046db50
mov dword [edx], ebx
mov ecx, dword [esp + 0x60]
mov dword [ebp], ecx
mov dword [esi], eax
mov eax, dword [esp + 0x48]
lea edi, [eax + 1]
mov eax, dword [esp + 0x44]
lea ebx, [eax - 1]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
cmp ebx, edi
jle 0x4b29a7
cmp esi, edi
jbe 0x4b29c8
lea edx, [ebp + edi*8]
mov eax, dword [edx + 4]
cmp esi, ebx
jbe 0x4b29bf
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], eax
lea ecx, [ebp + edi*8 + 4]
lea esi, [ebp + ebx*8]
mov edi, dword [esi + 4]
mov eax, dword [edx]
lea ebp, [ebp + ebx*8 + 4]
mov ebx, dword [esi]
mov dword [ecx], edi
mov edi, dword [0x5db640]
test edi, edi
je 0x4b2920
call fcn.0046db00
mov dword [edi], ebx
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [esi]
mov dword [edi + 0xc], ecx
jmp 0x4b2920
sub ecx, eax
sub edx, ecx
lea ecx, [edx - 1]
movzx edx, byte [esp + 0x27]
test dl, dl
mov eax, 1
jmp 0x4b25e3
mov eax, ebx
mov ecx, esi
call fcn.0046db50
mov eax, edi
mov ecx, esi
call fcn.0046db50
nop
call fcn.0046c6d0
jmp fcn.004b2480