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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edx
xor ecx, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], ecx
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4c4fec
cmp dword [edi + 0x74], ecx
jne 0x4c4fdf
test byte [eax + 0x4c], 8
jne 0x4c4fdf
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00495690
mov esi, eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
jge 0x4c504e
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x24], ecx
movzx edx, byte [edx + 0x18]
cmp dword [esi + 0x70], ecx
jg 0x4c501f
push 0
push 0
push edx
mov edx, 0x2f
mov ecx, esi
call fcn.004959f0
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4c504e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x2f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x4c5111
nop dword [eax]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c5070
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x4c5073
or eax, 0xffffffff
mov edx, dword [ebp + 8]
mov ecx, edi
push eax
push dword [ebp + 0x18]
call fcn.004c4ef0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4c5098
movzx ecx, word [eax + esi*4]
jmp 0x4c509c
movzx ecx, word [edx + 0x24]
movsx eax, cx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4c50c3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c50b5
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esp + 0x20]
mov edx, 0x3b
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004abf20
push eax
push dword [esp + 0x34]
mov edx, 0x35
mov ecx, edi
call fcn.004ac0e0
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004ac1f0
mov ecx, eax
inc esi
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x14], ecx
cmp esi, dword [eax + 0x14]
jl 0x4c5060
jmp 0x4c5113
xor ecx, ecx
mov edx, dword [ebp + 8]
cmp edx, dword [eax]
jne 0x4c530b
cmp dword [ebp + 0x1c], 0
jle 0x4c530b
test byte [edx + 0x24], 0x80
jne 0x4c51cb
mov ecx, dword [edi]
lea eax, [esp + 0x30]
push 0
push eax
mov edx, 0xad
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.004abf20
mov esi, eax
add esp, 8
test esi, esi
je 0x4c5168
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov eax, dword [esp + 0x2c]
mov edx, 0xa4
mov ecx, dword [esp + 0x20]
push 0
mov dword [esp + 0x34], 0
mov eax, dword [eax + 0x34]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x3c], 0
call fcn.004abf20
add esp, 8
test eax, eax
je 0x4c51b3
mov ecx, dword [ebp + 8]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x1c], ecx
or ecx, 0xffffffff
mov word [eax + 0x20], cx
push eax
push esi
mov edx, 0x34
mov ecx, edi
call fcn.004ac0e0
add esp, 8
mov esi, eax
jmp 0x4c52f6
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], ecx
cmp si, word [eax + 0x32]
jae 0x4c528d
nop dword [eax + eax]
mov eax, dword [eax + 4]
movzx esi, word [eax + ecx*2]
mov ecx, edi
push esi
push dword [ebp + 0x18]
call fcn.004c4ef0
movsx ecx, si
add esp, 8
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4c5232
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5223
sub ecx, edx
and ecx, 0x3fffffff
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
mov edx, 0x3b
push 0
push eax
call fcn.004abf20
push eax
push dword [esp + 0x3c]
mov edx, 0x2d
mov ecx, edi
call fcn.004ac0e0
mov edx, dword [esp + 0x28]
mov ecx, edi
push eax
call fcn.004ac1f0
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov edx, dword [ebp + 8]
inc ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, dword [ebp + 0xc]
jl 0x4c51f0
mov ecx, dword [edi]
push 0
push 0x34
call fcn.00476a20
mov esi, eax
add esp, 8
test esi, esi
je 0x4c52e5
push 0x34
push 0
push esi
call fcn.005cc450
add esp, 0xc
mov byte [esi], 0x13
or eax, 0xffffffff
mov edx, esi
mov word [esi + 0x22], ax
mov ecx, dword [edi]
push 0
push dword [esp + 0x1c]
call fcn.004ac070
mov eax, dword [edi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4c52f6
push eax
push str.SCopy
push edi
call fcn.00479ca0
add esp, 0xc
jmp 0x4c52f6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c52f6
mov ecx, dword [edi]
mov edx, eax
call fcn.004ac4d0
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.004ac1f0
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x2c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov edx, ecx
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
call fcn.004ab0f0
cmp dword [edi + 0x24], 0
jne 0x4c53bc
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
mov edx, esi
mov ecx, edi
call fcn.004ed370
mov edi, dword [esp + 0x30]
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov ecx, dword [edi + 0x6c]
movzx edx, byte [eax + 0x18]
cmp dword [edi + 0x70], ecx
jg 0x4c537d
push 0
push dword [ebp + 0x1c]
mov ecx, edi
push edx
mov edx, 0x95
call fcn.004959f0
add esp, 0xc
jmp 0x4c53af
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + ecx*4], 0x95
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x4c53c0
mov ecx, esi
call fcn.004ede70
jmp 0x4c53c0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c53d3
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.004ac4d0
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4c5416
mov edx, dword [edi + 0x6c]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x4c53ee
mov dword [edi + 0x6c], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
cmovs ecx, eax
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4c5409
mov eax, 0x68632c
mov dword [eax + 8], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret