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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b1dc7
sub esp, 0x6c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.004b0f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x4b183f
test edx, edx
jne 0x4b1751
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], ebx
nop
nop
mov eax, ebx
and ebx, 0x1f
cmp ebx, 0x11
je 0x4b1564
cmp ebx, 0x14
je 0x4b156f
cmp ebx, 0x17
jne 0x4b1597
mov dword [esp + 0x44], ebx
xor ecx, ecx
jmp 0x4b18cd
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.0047b7a0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b1679
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.0047c890
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
lea edx, [0x4df120]
mov dword [esp], edx
call fcn.0040af50
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x4e6993]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e83b0]
test ecx, ecx
jne 0x4b15f2
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
jmp 0x4b1602
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00459fb0
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x4b1657
mov dword [esp], ecx
lea edx, [0x50f8d0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b0880
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e83b0]
test ecx, ecx
jne 0x4b164d
mov dword [edx + 0x40], eax
jmp 0x4b1655
lea edi, [edx + 0x40]
call fcn.00459fb0
mov ecx, edx
mov dword [esp], ecx
call fcn.004b0990
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004b6610
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00408a30
mov eax, dword [esp + 0xc]
nop
movzx ecx, byte [0x7c26b8]
test cl, cl
je 0x4b16dc
lea ecx, [0x4d3c80]
mov dword [0x7c26bc], ecx
mov edx, dword [0x7e83b0]
test edx, edx
jne 0x4b16cf
mov dword [0x7c26c0], eax
jmp 0x4b16e2
lea edi, [0x7c26c0]
call fcn.00459fb0
jmp 0x4b16e2
lea ecx, [0x4d3c80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4b1709
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4b170f
or edx, 0x80
jmp 0x4b170f
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.0047ba60
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.0047c890
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
lea edx, [0x4df120]
mov dword [esp], edx
call fcn.0040af50
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x4e6993]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e83b0]
test ecx, ecx
jne 0x4b17b8
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
jmp 0x4b17c8
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00459fb0
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x4b181d
mov dword [esp], ecx
lea edx, [0x50f8d0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b0880
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e83b0]
test ecx, ecx
jne 0x4b1813
mov dword [edx + 0x40], eax
jmp 0x4b181b
lea edi, [edx + 0x40]
call fcn.00459fb0
mov ecx, edx
mov dword [esp], ecx
call fcn.004b0990
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
nop
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call fcn.004b0990
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp edx, eax
jb 0x4b18c6
mov ebx, dword [esp + 0x40]
lea ebp, [ebx - 1]
cmp eax, ebp
jb 0x4b18bd
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 0x10]
mov edi, dword [esp + 0x48]
mov dword [esp], edi
sub edx, ebx
inc edx
mov edi, edx
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, ebp
mov dword [esp + 4], ecx
sub eax, ebx
inc eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov ecx, eax
mov eax, ebp
call fcn.0045a090
mov ecx, eax
call fcn.0045a070
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004b0ac0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x10], 8
je 0x4b1bc5
mov ecx, dword [esp + 0x44]
cmp ecx, 0x17
jne 0x4b1ab8
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.0047ab40
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x4b1a6b
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.0047ab40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
call fcn.0047ab40
mov eax, dword [esp + 0xc]
mov ecx, eax
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov ecx, dword [esp + 0x40]
add eax, ecx
cmp eax, 4
jge 0x4b1987
mov eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
call fcn.0047c890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x38]
mov dword [esp + 8], ebp
call fcn.0047b1d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0047ce20
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], esi
call fcn.0047cb00
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.0047ba60
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.0047b1d0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x4b1ab8
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
lea ebp, [eax + 1]
mov dword [esp + 0xc], ebp
call fcn.0047c020
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.0047b1d0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x4b1b34
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0047ae90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004b0cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x4b1b68
jmp 0x4b1ba1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004b0cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4b1bb3
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x10], 9
jne 0x4b1b86
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004b0ac0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
inc ecx
mov edx, dword [eax + 0x10]
cmp edx, 8
je 0x4b1bc9
cmp edx, 7
je 0x4b18cd
jmp 0x4b1dae
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x6c
ret
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
call fcn.0047b1d0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x4b1c85
mov ecx, dword [esp + 0x44]
cmp ecx, 0x11
jne 0x4b1c61
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.0047c890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0047d060
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x34]
jmp 0x4b1d7b
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0047c020
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4b1d06
mov eax, dword [esp + 0x44]
cmp eax, 0x17
jne 0x4b1d06
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.0047c890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0047ce20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0047ba60
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0047ae90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
call fcn.0047ba60
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.0047b1d0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x4b1d20
jmp 0x4b1c85
lea eax, [0x4d7140]
mov dword [esp], eax
lea eax, [0x50ed1c]
mov dword [esp + 4], eax
call fcn.004319f0
nop
call fcn.00458b70
jmp fcn.004b14e0