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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x4c7670
sub esp, 0xe0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x14], edx
mov ebx, dword [0x6669a8]
mov ebp, dword [0x6669a4]
mov esi, dword [0x6669a0]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
call fcn.004bca50
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb0], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c17e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004c1ba0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xac], edx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], esi
mov edi, dword [0x6669b8]
mov esi, dword [0x6669b4]
mov ebp, dword [0x6669b0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
call fcn.004bca50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe8]
test ebx, ebx
jbe 0x4c7666
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
lea edx, [0x547a60]
mov dword [esp], edx
call fcn.0040a710
mov eax, dword [esp + 4]
mov dword [esp + 0xc0], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.004b44e0
lea eax, [0x543900]
mov dword [esp], eax
lea eax, [0x58b450]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
call fcn.00408310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
lea edi, [esp + 0xc4]
mov edx, eax
xor eax, eax
call fcn.00455e49
lea edi, [esp + 0xc4]
call fcn.00455e49
lea eax, [0x58b450]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
mov eax, dword [esp + 0x5c]
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4c764c
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + eax*4 - 4]
nop
cmp ebx, 0x10000
jb 0x4c7645
shr ebx, 0x10
mov ebp, 0x10
cmp ebx, 0x100
jb 0x4c70b1
shr ebx, 8
add ebp, 8
cmp ebx, 0x100
jae 0x4c765a
shl ecx, 5
lea esi, [0x64f440]
movzx ebx, byte [esi + ebx]
add ebx, ebp
add ecx, ebx
mov dword [esp + 0x7c], ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0xbc], ebx
xor ebp, ebp
mov dword [esp + 0x50], ebp
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0x6c], ebx
xor ebx, ebx
mov dword [esp + 0x70], ebx
xor ebx, ebx
mov dword [esp + 0xb8], ebx
xor ebx, ebx
xor ebp, ebp
jmp 0x4c7150
mov edi, dword [esp + 0x90]
inc edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0xb8], esi
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0xa0]
mov ebx, edi
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0xf0]
cmp ebx, ecx
jge 0x4c7636
mov dword [esp + 0x90], ebx
dec ecx
cmp ecx, ebx
jne 0x4c75ac
movzx ecx, byte [esp + 0xf4]
test cl, cl
je 0x4c75ac
mov edi, dword [0x6669b4]
mov dword [esp + 0x48], edi
mov eax, dword [0x6669b0]
cmp edi, esi
jg 0x4c7507
mov edx, dword [esp + 0x48]
cmp edi, edx
jle 0x4c7500
mov dword [esp + 0x4c], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0xb4], ebp
cmp ebp, eax
je 0x4c71cc
mov dword [esp], ebp
mov dword [esp + 4], eax
shl edx, 2
mov dword [esp + 8], edx
call fcn.00456550
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0xb4], edx
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x78]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x2c], ebp
call fcn.004c2260
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x9c], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ebx, dword [0x6669a4]
mov ebp, dword [0x6669a0]
mov esi, dword [0x6669a8]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
call fcn.004bcd50
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c74b2
mov eax, 1
test al, al
je 0x4c72d5
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0xb8]
jmp 0x4c710a
mov eax, 1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0xb8]
jmp 0x4c7320
mov eax, dword [esp + 0x8c]
inc eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x88]
cmp eax, ebp
jae 0x4c74a3
mov dword [esp + 0x8c], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0xbc], edi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.004beec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x2c], edx
call fcn.004bf860
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x9c], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x14], edi
call fcn.004bcd50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c7480
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [0x6669a0]
mov ebp, dword [0x6669a4]
mov esi, dword [0x6669a8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004bcd50
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c72fa
mov byte [esp + 0xf8], 0
add esp, 0xe0
ret
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0xa8]
jmp 0x4c710a
mov byte [esp + 0xf8], 0
add esp, 0xe0
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], esi
call fcn.004bcd50
mov eax, dword [esp + 0x18]
test eax, eax
sete al
jmp 0x4c72ae
mov edx, edi
jmp 0x4c71a3
mov dword [esp + 0xa4], eax
cmp edi, 1
jne 0x4c7561
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0xf4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x90]
mov esi, 1
mov edi, 1
jmp 0x4c7197
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [edi + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], ecx
call fcn.00440360
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0xf4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
jmp 0x4c7197
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x1c], ebp
call fcn.004c2000
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov eax, dword [0x6669b4]
mov ecx, dword [0x6669b0]
mov edx, dword [0x6669b8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.004bc760
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
jmp 0x4c71de
mov byte [esp + 0xf8], 1
add esp, 0xe0
ret
xor ebp, ebp
jmp 0x4c70a3
mov edx, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4c70ce
mov eax, ebx
mov ecx, 0x100
call fcn.00455c80
xor eax, eax
mov ecx, ebx
call fcn.00455c70
nop
call fcn.004543b0
jmp fcn.004c6e20