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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b3566
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov eax, 1
mov byte [esp + 0x27], al
mov eax, 1
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x40]
jmp 0x4b31b9
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov esi, ecx
mov ebp, dword [esp + 0x4c]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], dl
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x58], esi
sub esi, edi
cmp esi, 0xc
jle 0x4b352f
test ebp, ebp
je 0x4b3508
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], edi
movzx esi, byte [esp + 0x27]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4b3225
mov dword [esp + 0x50], ebp
mov ebp, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
call fcn.004b4060
mov eax, dword [esp + 0x50]
lea ebp, [eax - 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], ebp
mov esi, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call fcn.004b3cc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, 2
je 0x4b326e
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebx, dword [esp + 0x58]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
jmp 0x4b32ca
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call fcn.004b3c50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov edx, dword [esp + 0x58]
mov ebx, edx
sub edx, eax
lea eax, [edx - 1]
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebp, 1
mov dword [esp + 0x48], eax
je 0x4b3334
movzx esi, byte [esp + 0x26]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4b3339
cmp ebp, 1
jne 0x4b3339
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.004b3a00
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4b3504
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
jmp 0x4b3339
movzx esi, byte [esp + 0x26]
test ecx, ecx
jle 0x4b3399
lea ebp, [ecx - 1]
mov edi, dword [esp + 0x68]
cmp edi, ebp
jbe 0x4b355c
mov ebp, dword [esp + 0x64]
mov edx, dword [ebp + ecx*4 - 4]
cmp edi, eax
jbe 0x4b3555
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x18]
mov esi, dword [ebp + eax*4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.004b3960
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
mov ebp, eax
mov eax, dword [esp + 0x48]
jmp 0x4b339b
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4b33ed
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x1c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004b3800
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x58]
movzx eax, byte [esp + 0x27]
movzx edx, byte [esp + 0x26]
jmp 0x4b318f
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004b3570
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x54]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x58]
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 + 0x34]
sar edi, 3
mov dword [esp + 0x3c], edi
cmp ebx, eax
jle 0x4b34a7
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 0x24]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
call fcn.004b3140
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
setle al
mov ecx, dword [esp + 0x58]
jmp 0x4b34fa
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x18], ebp
call fcn.004b3140
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
setle al
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x26]
jmp 0x4b318f
add esp, 0x5c
ret
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004b4150
add esp, 0x5c
ret
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004b43f0
add esp, 0x5c
ret
mov ecx, edi
call fcn.00474b20
mov eax, ebp
mov ecx, edi
call fcn.00474b20
nop
call fcn.004736a0
jmp fcn.004b3140