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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c29af
sub esp, 0x6c
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4c2692
inc eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], edi
cmp eax, ebx
jge 0x4c2916
jae 0x4c29a7
add edx, eax
cmp byte [edx], 0x24
jne 0x4c268d
lea edx, [eax + 1]
cmp edx, ebx
jge 0x4c268d
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
test ecx, ecx
je 0x4c28d7
cmp eax, edi
jb 0x4c299e
mov dword [esp + 0x30], ebp
sub eax, edi
mov dword [esp + 0x3c], eax
lea edx, [eax + ebp]
mov dword [esp + 0x38], edx
neg eax
sar eax, 0x1f
and edi, eax
mov eax, dword [esp + 0x70]
add edi, eax
cmp esi, edx
jb 0x4c28a0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x34], esi
lea eax, [ecx + ebp]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0045cd80
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x70]
add ecx, eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.004c29c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test ecx, ecx
jne 0x4c2773
test eax, eax
jle 0x4c2771
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x64]
mov ebp, edx
mov edx, dword [esp + 0x28]
mov esi, edx
add edx, eax
lea edi, [eax + esi + 1]
mov eax, edx
mov esi, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x74]
jmp 0x4c268d
test ecx, ecx
mov dword [esp + 0x24], eax
jne 0x4c27ff
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
lea edx, [ebx + edx + 1]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
movzx esi, byte [ebp + ebx]
mov edi, dword [esp + 0x34]
cmp edx, edi
ja 0x4c27b1
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x38]
xchg esi, eax
mov byte [ecx + ebp], al
xchg esi, eax
mov ebx, ecx
mov ecx, edi
jmp 0x4c2754
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
lea eax, [0x78aca0]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00443250
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
movzx esi, byte [esp + 0x23]
jmp 0x4c27a2
mov dword [esp], edx
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + eax]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x34]
cmp ebx, esi
ja 0x4c2860
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], esi
mov dword [esp + 0x64], edx
add ecx, edx
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0045cd80
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
jmp 0x4c27ab
mov dword [esp + 0x68], ebp
mov dword [esp + 0x40], eax
lea eax, [0x78aca0]
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00443250
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x68]
jmp 0x4c282d
mov dword [esp + 0x68], edi
lea eax, [0x78aca0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00443250
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x68]
jmp 0x4c26f0
lea eax, [0x78aca0]
mov dword [esp], eax
mov dword [esp + 4], 0
shl ebx, 1
mov dword [esp + 0x34], ebx
mov dword [esp + 8], ebx
call fcn.00443100
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov esi, dword [esp + 0x34]
jmp 0x4c26c2
test ecx, ecx
je 0x4c2986
cmp ebx, edi
jb 0x4c2995
lea eax, [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00446790
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov edx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00446610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x6c
ret
mov eax, edi
mov ecx, ebx
call fcn.0045c4c0
mov ecx, eax
mov eax, edi
call fcn.0045c4c0
mov ecx, ebx
call fcn.0045c460
nop
call fcn.0045ae90
jmp fcn.004c2660