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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c212b
sub esp, 0x64
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.004c1470
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x4c1d2a
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c1c2d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov ecx, eax
and eax, 0x1f
nop
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], ebx
cmp eax, 0x11
je 0x4c1a71
cmp eax, 0x14
je 0x4c1a7c
cmp eax, 0x17
jne 0x4c1aa4
mov dword [esp + 0x44], eax
xor ebp, ebp
jmp 0x4c1db0
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00489450
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c1b92
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test ecx, ecx
je 0x4c1ab8
test ecx, 0x200
jne 0x4c1ab8
lea eax, [0x5c13b8]
jmp 0x4c1ad0
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0048a890
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
lea ecx, [0x572c20]
mov dword [esp], ecx
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x5867e4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x6c4f80]
test ecx, ecx
jne 0x4c1b10
mov ecx, dword [esp + 0x48]
jmp 0x4c1b1b
call fcn.00460ef0
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
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 0x4c1b76
mov dword [esp], ecx
lea edx, [0x5c05b4]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c0db0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x6c4f80]
test eax, eax
je 0x4c1b71
call fcn.00460f00
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov ecx, edx
mov dword [esp], ecx
call fcn.004c0ec0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004c6950
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.00409600
mov eax, dword [esp + 0xc]
lea ecx, [0x55ad40]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4c1beb
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4c1bf1
or edx, 0x80
jmp 0x4c1bf1
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00489770
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4c1c48
test eax, 0x200
jne 0x4c1c48
lea eax, [0x5c13b8]
mov ecx, dword [esp + 0x6c]
jmp 0x4c1c68
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0048a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
lea edx, [0x572c20]
mov dword [esp], edx
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x5867e4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x6c4f80]
test ecx, ecx
jne 0x4c1ca8
mov ecx, dword [esp + 0x4c]
jmp 0x4c1cb3
call fcn.00460ef0
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
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 0x4c1d0e
mov dword [esp], ecx
lea edx, [0x5c05b4]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c0db0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x6c4f80]
test eax, eax
je 0x4c1d09
call fcn.00460f00
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov ecx, edx
mov dword [esp], ecx
call fcn.004c0ec0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], ecx
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call fcn.004c0ec0
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x4c1da9
mov ebx, dword [esp + 0x40]
lea ebp, [ebx - 1]
cmp ecx, ebp
jb 0x4c1da2
mov esi, dword [esp + 0x34]
mov esi, dword [esi + 0x10]
mov eax, dword [eax]
mov edi, dword [esp + 0x50]
mov dword [esp], edi
sub edx, ebx
sub ecx, ebx
inc edx
mov ebx, edx
neg edx
inc ecx
sar edx, 0x1f
and ebp, edx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov eax, ebp
call fcn.00460fc0
call fcn.00460fa0
mov ebp, edx
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004c0fe0
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 8
je 0x4c1f70
mov ecx, dword [esp + 0x44]
cmp ecx, 0x17
jne 0x4c1e5e
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
cmp dword [ebx + 8], edx
jg 0x4c1e1c
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.0048ab90
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
cmp dword [ebx + 4], edx
jle 0x4c1e26
cmp ecx, 0x17
jmp 0x4c1e66
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
lea ebp, [edx + 1]
mov dword [esp + 0xc], ebp
call fcn.00489da0
mov eax, dword [esp + 0x44]
cmp eax, 0x17
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jmp 0x4c1e66
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jne 0x4c1e6d
mov ebp, dword [ebx + 4]
jmp 0x4c1e99
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.004889c0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
cmp edx, ebp
jge 0x4c1ee7
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00487d10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004c11f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c1f0f
jmp 0x4c1f48
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004c11f0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c1f5c
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 9
jne 0x4c1f2d
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004c0fe0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x38]
inc edx
cmp ecx, 8
je 0x4c1f74
cmp ecx, 7
je 0x4c1dae
jmp 0x4c2112
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x44]
cmp eax, 0x17
jne 0x4c1f8a
mov ecx, dword [esp + 0x54]
mov ebx, dword [ecx + 4]
jmp 0x4c1fb6
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
call fcn.004889c0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
cmp edx, ebx
jge 0x4c1fe8
cmp eax, 0x11
je 0x4c20ea
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00489da0
mov eax, dword [esp + 0x38]
jmp 0x4c2094
test edx, edx
jne 0x4c2080
cmp eax, 0x17
jne 0x4c2080
mov eax, dword [esp + 0x3c]
test eax, 0x200
jne 0x4c2010
lea edx, [0x5c13b8]
mov ebx, dword [esp + 0x58]
jmp 0x4c2030
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0048a890
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edx
mov edx, eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0048b040
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00489770
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov ecx, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x44]
jmp 0x4c1fe8
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00487d10
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
call fcn.00488640
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
call fcn.004889c0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0xc], eax
jg 0x4c20a3
jmp 0x4c2094
lea eax, [0x560820]
mov dword [esp], eax
lea eax, [0x5c0208]
mov dword [esp + 4], eax
call fcn.00435490
nop
call fcn.0045faf0
jmp fcn.004c19f0