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

Disassembly:
mov ecx, dword [0x5f91cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2cb4
sub esp, 0x4c
mov eax, dword [esp + 0x60]
test eax, eax
jge 0x4c2a35
mov ecx, eax
xor edx, edx
jmp 0x4c2a3b
mov ecx, eax
xor eax, eax
mov edx, ecx
mov ebx, dword [esp + 0x64]
test ebx, ebx
jge 0x4c2a47
xor ebp, ebp
jmp 0x4c2a4d
xor ebx, ebx
mov ebp, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.004c1f50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4c2a75
mov edx, dword [esp + 0x64]
test edx, edx
jne 0x4c2a97
lea ecx, [0x51cae0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x4c
ret
mov dword [esp + 0x44], eax
lea eax, [0x4e01c0]
mov dword [esp], eax
lea eax, [ecx + ecx*2 + 3]
and eax, 0xfffffffc
mov dword [esp + 0x38], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a780
mov eax, dword [esp + 0x64]
lea ecx, [eax - 1]
movzx edx, byte [esp + 0x68]
test dl, dl
je 0x4c2ad5
xor ecx, ecx
mov edx, 1
jmp 0x4c2adf
mov eax, 0xffffffff
mov edx, 0xffffffff
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
jmp 0x4c2aff
mov edx, dword [esp + 0x24]
add ebp, edx
mov eax, dword [esp + 0x28]
mov ebx, edi
mov ecx, ebp
cmp eax, ecx
je 0x4c2bb3
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.0046a8f0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4c2b93
mov ebx, dword [esp + 0x44]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov ebp, dword [esp + 0x2c]
imul eax, ebp
mov ecx, dword [esp + 0x60]
lea esi, [eax + ecx*4]
cmp edx, esi
jb 0x4c2cac
cmp esi, eax
jb 0x4c2ca5
mov esi, dword [ebx]
sub edx, eax
neg edx
sar edx, 0x1f
and edx, eax
add edx, esi
mov esi, ecx
shl esi, 2
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
jmp 0x4c2bfe
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x4c
ret
lea eax, [0x51cae0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x4c
ret
mov byte [ebx + ecx + 3], 0xff
lea edx, [ebx + 4]
lea ebx, [ebp + 3]
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
mov edx, ecx
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x34]
cmp ebx, esi
jge 0x4c2af1
mov ebp, dword [esp + 0x30]
lea ecx, [ebp + 2]
cmp eax, ecx
jbe 0x4c2c9a
movzx ecx, byte [ebp + edi + 2]
cmp ebx, esi
jae 0x4c2c91
mov byte [edx + ebx], cl
lea ecx, [ebp + 1]
cmp eax, ecx
jbe 0x4c2c86
lea ecx, [ebx + 1]
movzx edi, byte [ebp + edi + 1]
cmp esi, ecx
jbe 0x4c2c7d
xchg edi, eax
mov byte [ebx + edx + 1], al
xchg edi, eax
cmp ebp, eax
jae 0x4c2c74
lea edi, [ebx + 2]
mov ecx, edx
mov edx, dword [esp + 0x48]
movzx edx, byte [edx + ebp]
cmp esi, edi
jbe 0x4c2c6b
mov byte [ebx + ecx + 2], dl
lea edx, [ebx + 3]
cmp esi, edx
ja 0x4c2bd9
mov eax, edx
mov ecx, esi
call fcn.00463120
mov eax, edi
mov ecx, esi
call fcn.00463120
mov ecx, eax
mov eax, ebp
call fcn.00463120
mov eax, ecx
mov ecx, esi
call fcn.00463120
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.00463120
mov eax, ebx
mov ecx, esi
call fcn.00463120
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.00463120
mov ecx, esi
call fcn.00463180
mov ecx, esi
call fcn.00463160
nop
call fcn.00461ca0
jmp fcn.004c2a10