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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b4b73
sub esp, 0x70
call fcn.004b4580
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x4b4b46
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x74]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4b48ba
inc ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jge 0x4b4b3b
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4b48cf
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
test edx, edx
je 0x4b48eb
cmp ecx, edx
jne 0x4b48ab
mov dword [esp + 0x44], eax
mov ecx, dword [eax + 0x28]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0x2710
mov dword [esp + 8], 0x2710
call fcn.004567d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.0044c9b8
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 0x44], 1
jne 0x4b494b
mov dword [esp + 0x6c], 1
mov edx, dword [ecx + 0x40]
cmp edx, 0x18
ja 0x4b4b00
cmp edx, 9
ja 0x4b4ade
cmp edx, 6
jne 0x4b4ad0
or dword [esp + 0x6c], 0x12
mov edx, dword [ecx + 0x3c]
cmp edx, 0xffffffff
jne 0x4b4ac7
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [ecx + 0x34]
test edx, edx
ja 0x4b4a72
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
ja 0x4b4a36
mov ebp, dword [esp + 0x4c]
mov eax, dword [0x9ec0a0]
shl ecx, 5
lea edi, [ebp + ecx]
test eax, eax
jne 0x4b4a02
lea esi, [esp + 0x50]
call fcn.0044ce80
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x50], eax
je 0x4b49d9
mov edi, edx
mov esi, ebp
mov edx, eax
mov ebp, ebx
mov ebx, dword [esp + 0x38]
jmp 0x4b48ab
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
lea eax, [0x64fa60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0040f5b0
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
jmp 0x4b49be
lea eax, [0x64fa60]
mov dword [esp], eax
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b20
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x24]
jmp 0x4b49a4
lea eax, [0x62bba0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00438a60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
cmp edx, 8
jle 0x4b4aa9
mov edx, 8
add ecx, 0x2c
cmp ecx, eax
je 0x4b4ac0
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d0c0
xor eax, eax
jmp 0x4b498d
mov dword [esp + 0x54], edx
jmp 0x4b4982
cmp edx, 9
je 0x4b4969
jmp 0x4b496e
cmp edx, 0x17
jne 0x4b4aed
or dword [esp + 0x6c], 0x18
jmp 0x4b496e
cmp edx, 0x18
jne 0x4b496e
or dword [esp + 0x6c], 0x14
jmp 0x4b496e
cmp edx, 0x47
ja 0x4b4b22
cmp edx, 0x25
jne 0x4b4b14
or dword [esp + 0x6c], 0x1a
jmp 0x4b496e
cmp edx, 0x47
je 0x4b4969
jmp 0x4b496e
cmp edx, 0x83
je 0x4b4ae3
cmp edx, 0x90
je 0x4b4969
jmp 0x4b496e
mov ebx, ebp
mov edx, edi
mov ebp, esi
jmp 0x4b49d9
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
add esp, 0x70
ret
call fcn.0044b170
jmp fcn.004b4860