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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c31ff
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 0x4c2ee2
inc eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], edi
cmp eax, ebx
jge 0x4c3166
jae 0x4c31f7
add edx, eax
cmp byte [edx], 0x24
jne 0x4c2edd
lea edx, [eax + 1]
cmp edx, ebx
jge 0x4c2edd
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
test ecx, ecx
je 0x4c3127
cmp eax, edi
jb 0x4c31ee
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 0x4c30f0
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.0045ccd0
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.004c3210
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test ecx, ecx
jne 0x4c2fc3
test eax, eax
jle 0x4c2fc1
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 0x4c2edd
test ecx, ecx
mov dword [esp + 0x24], eax
jne 0x4c304f
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 0x4c3001
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 0x4c2fa4
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
lea eax, [0x787b20]
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.004431f0
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 0x4c2ff2
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 0x4c30b0
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.0045ccd0
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 0x4c2ffb
mov dword [esp + 0x68], ebp
mov dword [esp + 0x40], eax
lea eax, [0x787b20]
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.004431f0
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 0x4c307d
mov dword [esp + 0x68], edi
lea eax, [0x787b20]
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.004431f0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x68]
jmp 0x4c2f40
lea eax, [0x787b20]
mov dword [esp], eax
mov dword [esp + 4], 0
shl ebx, 1
mov dword [esp + 0x34], ebx
mov dword [esp + 8], ebx
call fcn.004430a0
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 0x4c2f12
test ecx, ecx
je 0x4c31d6
cmp ebx, edi
jb 0x4c31e5
lea eax, [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00446730
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.004465b0
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.0045c410
mov ecx, eax
mov eax, edi
call fcn.0045c410
mov ecx, ebx
call fcn.0045c3b0
nop
call fcn.0045ade0
jmp fcn.004c2eb0