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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x4c692b
sub esp, 0x134
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x140]
jmp 0x4c5f12
cmp ecx, eax
jae 0x4c5f1b
jmp 0x4c6925
mov ebx, dword [esp + 0x150]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4c5f2c
jmp 0x4c5f5d
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], edx
add esp, 0x134
ret
mov ebp, dword [esp + 0x140]
mov dword [esp + 0x24], ebp
cmp dword [esp + 0x148], ebp
je 0x4c5f76
jmp 0x4c6083
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x140]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
mov ebx, dword [esp + 0x150]
add edx, ebx
mov dword [esp + 0x68], edx
cmp eax, edx
jae 0x4c5fb3
jmp 0x4c5fbc
mov dword [esp + 0x120], edx
jmp 0x4c6004
mov ebx, dword [esp + 0x150]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea eax, [0x511660]
mov dword [esp + 0x10], eax
call fcn.00471230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
jmp 0x4c6004
mov eax, dword [esp + 0x150]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x150]
add eax, dword [esp + 0x11c]
mov dword [esp + 0x118], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00476100
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], edx
add esp, 0x134
ret
lea esi, [ebp + ebx]
mov edi, dword [esp + 0x144]
mov dword [esp + 0x2c], edi
cmp edi, esi
jl 0x4c609b
jmp 0x4c6436
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
mov eax, dword [esp + 0x13c]
cmp ecx, edx
jbe 0x4c60b9
jmp 0x4c6920
jmp 0x4c60bb
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x28]
sub eax, dword [esp + 0x148]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x138]
test byte [eax], al
mov eax, dword [eax + 0x10]
mov dword [esp + 0x114], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004711a0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], eax
mov ebx, dword [esp + 0x12c]
add edx, ebx
mov dword [esp + 0x5c], edx
cmp eax, edx
jae 0x4c6160
jmp 0x4c6169
mov dword [esp + 0x10c], edx
jmp 0x4c61b1
mov ebx, dword [esp + 0x12c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea eax, [0x511660]
mov dword [esp + 0x10], eax
call fcn.00471230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
jmp 0x4c61b1
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x12c]
add eax, dword [esp + 0x108]
mov dword [esp + 0x104], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00476100
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x110]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x148]
jmp 0x4c621a
cmp ebx, ecx
jbe 0x4c6223
jmp 0x4c6919
sub edx, ebx
sub ecx, ebx
mov ebp, edx
neg edx
sar edx, 0x1f
and ebx, edx
lea edx, [eax + ebx]
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ebp
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebp
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0x14c]
mov ebp, dword [esp + 0x154]
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebp
mov ebx, dword [esp + 0xfc]
mov dword [esp + 0x54], ebx
cmp ebx, edx
jg 0x4c6298
jmp 0x4c629e
mov dword [esp + 0x54], edx
jmp 0x4c62a0
jmp 0x4c62a0
mov edx, dword [esp + 0xf8]
cmp dword [esp + 0xec], edx
jne 0x4c62b2
jmp 0x4c62da
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00476100
jmp 0x4c62dc
jmp 0x4c62dc
mov eax, dword [esp + 0x148]
add eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
jmp 0x4c62f9
cmp ecx, eax
jae 0x4c6302
jmp 0x4c6914
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add edx, eax
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ebp
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x144]
jmp 0x4c6344
cmp ecx, eax
jae 0x4c634d
jmp 0x4c690f
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x130]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x4c], ecx
cmp ecx, eax
jg 0x4c63ca
jmp 0x4c63d0
mov dword [esp + 0x4c], eax
jmp 0x4c63d2
jmp 0x4c63d2
mov eax, dword [esp + 0xe0]
cmp dword [esp + 0xd4], eax
jne 0x4c63e4
jmp 0x4c640c
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xe0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00476100
jmp 0x4c640e
jmp 0x4c640e
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], edx
add esp, 0x134
ret
lea ecx, [ebp + ebx]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x144]
cmp edx, ecx
jae 0x4c644e
jmp 0x4c690a
jmp 0x4c6450
mov dword [esp + 0x140], ecx
mov eax, dword [esp + 0x148]
add eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x144]
jmp 0x4c6476
cmp eax, ecx
jbe 0x4c647f
jmp 0x4c6905
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x138]
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0x154]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.004c6b80
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x23], al
test al, al
jne 0x4c6505
jmp 0x4c66a1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x144]
jmp 0x4c6520
cmp ecx, eax
jae 0x4c6529
jmp 0x4c6900
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add edx, eax
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ebp
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0x14c]
mov ebp, dword [esp + 0x154]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebp
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x34], ebx
cmp ebx, edx
jg 0x4c659d
jmp 0x4c65a3
mov dword [esp + 0x34], edx
jmp 0x4c65a5
jmp 0x4c65a5
mov edx, dword [esp + 0x94]
cmp dword [esp + 0x88], edx
jne 0x4c65b7
jmp 0x4c65df
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00476100
jmp 0x4c65e1
jmp 0x4c65e1
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x144]
jmp 0x4c65ff
cmp ecx, eax
jae 0x4c6608
jmp 0x4c68fb
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ebp
mov eax, dword [esp + 0x138]
test byte [eax], al
mov eax, dword [eax + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x128]
mov ebx, dword [esp + 0x12c]
mov ebp, dword [esp + 0x130]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004c6940
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], edx
add esp, 0x134
ret
mov eax, dword [esp + 0x148]
add eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x144]
jmp 0x4c66c7
cmp ecx, eax
jae 0x4c66d0
jmp 0x4c68f6
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add edx, eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x144]
jmp 0x4c670c
cmp ecx, eax
jae 0x4c6715
jmp 0x4c68f1
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add edx, eax
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ebp
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebp
mov edx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x128]
mov ebp, dword [esp + 0x130]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebp
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x44], ebx
cmp ebx, edx
jg 0x4c6798
jmp 0x4c679e
mov dword [esp + 0x44], edx
jmp 0x4c67a0
jmp 0x4c67a0
mov edx, dword [esp + 0xc4]
cmp dword [esp + 0xb8], edx
jne 0x4c67b2
jmp 0x4c67da
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00476100
jmp 0x4c67dc
jmp 0x4c67dc
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x144]
jmp 0x4c67fa
cmp ecx, eax
jae 0x4c6803
jmp 0x4c68ec
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ebp
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ebp
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x154]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jg 0x4c6877
jmp 0x4c687d
mov dword [esp + 0x3c], eax
jmp 0x4c687f
jmp 0x4c687f
mov eax, dword [esp + 0xac]
cmp dword [esp + 0xa0], eax
jne 0x4c6891
jmp 0x4c68b9
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00476100
jmp 0x4c68bb
jmp 0x4c68bb
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], edx
add esp, 0x134
ret
call fcn.00475890
call fcn.00475890
call fcn.00475890
call fcn.00475890
call fcn.00475890
call fcn.00475890
call fcn.00475870
call fcn.00475890
call fcn.00475890
mov eax, ebx
call fcn.00475890
call fcn.00475870
call fcn.00475890
nop
call fcn.004743b0
jmp fcn.004c5ec0