Function at 0x4c2a00
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da011
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x494], esi
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x484], eax
cmp edx, 0x18
ja 0x4c38b1
lea eax, [edx + edx*2]
cmp dword [ecx + eax*8 + 0x10], 0
lea edi, [ecx + eax*8]
mov dword [ebp - 0x490], edi
je 0x4c2b4c
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x47c], eax
jb 0x4c2a99
mov edi, dword [edi]
mov dword [ebp - 0x490], edi
cmp eax, 8
jae 0x4c2ab4
movups xmm0, xmmword [edi]
mov edi, 7
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
jmp 0x4c38cd
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4c390e
add eax, eax
cmp eax, 0x1000
jb 0x4c2b01
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4c390e
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4c38ec
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4c2b1c
test eax, eax
je 0x4c2b1a
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4c38fd
jmp 0x4c2b1c
xor ecx, ecx
mov eax, dword [ebp - 0x47c]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x490]
push ecx
call fcn.005729d0
mov eax, dword [ebp - 0x47c]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
jmp 0x4c38cd
xor eax, eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov dword [ebp - 4], eax
jmp dword [edx*4 + 0x4c3988]
cmp dword [ebp - 0x484], 0
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004c1980
push eax
lea ecx, [ebp - 0x438]
call fcn.00446d47
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x4c37ea
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2bdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c3913
push edx
push ecx
call fcn.0056c61e
add esp, 8
jmp 0x4c37ea
cmp dword [ebp - 0x428], 0
je 0x4c384f
cmp dword [ebp - 0x484], 0
je 0x4c380d
lea eax, [ebp - 0x438]
push 1
push eax
call fcn.00445234
add esp, 8
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c3861
lea eax, [ebp - 0x438]
cmp edi, eax
je 0x4c3861
cmp dword [ebp - 0x424], 8
mov ecx, edi
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
jmp 0x4c385c
push 0
push 0x60c5e0
lea ecx, [ebp - 0x438]
call fcn.00407cc7
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00444c51
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4c38cd
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c38a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c397c
push edx
push ecx
call fcn.0056c61e
add esp, 8
jmp 0x4c38cd
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret 0xc
push 0x638780
lea eax, [ebp - 0x471]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x469]
push eax
call fcn.0057359b
call fcn.00407b84
call fcn.0057da80
call fcn.0057da80
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0x469]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x471]
push eax
call fcn.0057359b
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0x469]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x471]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x469]
push eax
call fcn.0057359b
call fcn.0057da80
call fcn.0057da80
nop
jge 0x4c39b5
dec esp
add ah, ch
sub ecx, dword [eax + eax - 0x56]
xor byte [eax + eax - 0x77], cl
xor dword [eax + eax + 0xe], ecx
xor ecx, dword [eax + eax - 0x44]
xor ecx, dword [eax + eax + 0x40]
xor al, 0x4c
add ah, al
xor al, 0x4c
add byte [eax + 0x35], cl
dec esp
add byte [ebp + 0x35], dh
dec esp
add byte [edx + 0x26004c35], ah
dec esp
add byte [esi + esi], dh
dec esp
add byte [edx + 0x36], al
dec esp
add byte [edi + 0x36], ch
dec esp
add byte [esi + esi + 0x36c9004c], bl
dec esp
add dh, dh
dec esp
add byte [ebx], ah
aaa
dec esp
add byte [ebx + 0x37], dh
dec esp
add byte [ecx - 0x5bffb3c9], bl
aaa
dec esp
add dh, al
aaa
dec esp
add cl, dl
aaa
dec esp
add ah, bl
aaa
dec esp
add ah, cl
int3