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

Disassembly:
mov ecx, dword [0x6d0e30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c4e44
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.004c4190
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x4c4a4b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c494e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov ecx, eax
and eax, 0x1f
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x5c], ebx
nop
nop
cmp eax, 0x11
je 0x4c4792
cmp eax, 0x14
je 0x4c479d
cmp eax, 0x17
jne 0x4c47c5
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x4c4ad1
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0048a900
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c48b3
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
test ecx, ecx
je 0x4c47d9
test ecx, 0x200
jne 0x4c47d9
lea eax, [0x5b7028]
jmp 0x4c47f1
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0048bbe0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], edx
lea ecx, [0x5698e0]
mov dword [esp], ecx
call fcn.0040caa0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x57bf4b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x6d0ed8]
test ecx, ecx
jne 0x4c4831
mov ecx, dword [esp + 0x48]
jmp 0x4c483c
call fcn.00464af0
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 0x4c4897
mov dword [esp], ecx
lea edx, [0x5b647c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c3ad0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x4c4892
call fcn.00464b00
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.004c3bf0
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.004c9730
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.0040a3b0
mov eax, dword [esp + 0xc]
lea ecx, [0x551ca0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4c490c
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4c4912
or edx, 0x80
jmp 0x4c4912
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 + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.0048ac20
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4c4969
test eax, 0x200
jne 0x4c4969
lea eax, [0x5b7028]
mov ecx, dword [esp + 0x6c]
jmp 0x4c4989
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.0048bbe0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
lea edx, [0x5698e0]
mov dword [esp], edx
call fcn.0040caa0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x57bf4b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x6d0ed8]
test ecx, ecx
jne 0x4c49c9
mov ecx, dword [esp + 0x4c]
jmp 0x4c49d4
call fcn.00464af0
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 0x4c4a2f
mov dword [esp], ecx
lea edx, [0x5b647c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c3ad0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x4c4a2a
call fcn.00464b00
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.004c3bf0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], eax
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.004c3bf0
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x4c4aca
mov ebx, dword [esp + 0x3c]
lea ebp, [ebx - 1]
cmp ecx, ebp
jb 0x4c4ac3
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.00464bd0
call fcn.00464bb0
mov ebp, edx
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004c3d10
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 8
je 0x4c4c89
mov ecx, dword [esp + 0x40]
cmp ecx, 0x17
jne 0x4c4b7f
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
cmp dword [ebx + 8], edx
jg 0x4c4b3d
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.0048bee0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
cmp dword [ebx + 4], edx
jle 0x4c4b47
cmp ecx, 0x17
jmp 0x4c4b87
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ebp, [edx + 1]
mov dword [esp + 0xc], ebp
call fcn.0048b0f0
mov eax, dword [esp + 0x40]
cmp eax, 0x17
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
jmp 0x4c4b87
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
jne 0x4c4b8e
mov ebp, dword [ebx + 4]
jmp 0x4c4bba
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.00489e80
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
cmp edx, ebp
jge 0x4c4c08
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00488b10
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.004c3f20
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c4c30
jmp 0x4c4c69
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004c3f20
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c4c79
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 9
jne 0x4c4c4e
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004c3d10
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x38]
inc edx
cmp ecx, 8
je 0x4c4c8d
cmp ecx, 7
je 0x4c4acf
jmp 0x4c4e2b
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
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 + 0x40]
cmp eax, 0x17
jne 0x4c4ca3
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 4]
jmp 0x4c4ccf
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00489e80
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
cmp edx, ebx
jge 0x4c4d01
cmp eax, 0x11
je 0x4c4e03
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0048b0f0
mov eax, dword [esp + 0x38]
jmp 0x4c4dad
test edx, edx
jne 0x4c4d99
cmp eax, 0x17
jne 0x4c4d99
mov eax, dword [esp + 0x44]
test eax, 0x200
jne 0x4c4d29
lea edx, [0x5b7028]
mov ebx, dword [esp + 0x60]
jmp 0x4c4d49
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0048bbe0
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.0048c390
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 + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0048ac20
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov eax, dword [esp + 0x40]
jmp 0x4c4d01
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00488b10
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.00489b10
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.00489e80
mov eax, dword [esp + 0x38]
cmp dword [esp + 0xc], eax
jg 0x4c4dbc
jmp 0x4c4dad
lea eax, [0x557540]
mov dword [esp], eax
lea eax, [0x5b5c28]
mov dword [esp + 4], eax
call fcn.00435f80
nop
call fcn.004636f0
jmp fcn.004c4710