Function at 0x65746c
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x56
push 0
push 0
dec ecx
jne 0x657474
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040452c
lea eax, [ebp - 0x168]
mov edx, dword [0x40aed0]
call fcn.00404bec
xor eax, eax
push ebp
push 0x6578a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x65784f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6639dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x388]
mov edx, dword [0x6694ac]
call fcn.004900a4
lea edx, [ebp - 0x278]
mov eax, dword [ebp - 4]
call fcn.004109d0
mov eax, dword [ebp - 0x278]
lea edx, [ebp - 0x274]
call fcn.0040bd9c
mov edx, dword [ebp - 0x274]
lea eax, [ebp - 4]
call fcn.00404174
lea eax, [ebp - 0x26d]
xor ecx, ecx
mov edx, 0x104
call fcn.00402f28
lea eax, [ebp - 0x26d]
mov ecx, 0x104
mov edx, 0x104
call fcn.005035ac
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x27c]
lea edx, [ebp - 0x26d]
mov ecx, 0x105
call fcn.0040430c
mov eax, dword [ebp - 0x27c]
mov ecx, ebx
mov edx, 1
call fcn.00404580
lea edx, [ebp - 0x280]
mov eax, dword [ebp - 0xc]
call fcn.004109d0
mov edx, dword [ebp - 0x280]
lea eax, [ebp - 0xc]
call fcn.00404174
lea eax, [ebp - 0x26d]
xor ecx, ecx
mov edx, 0x104
call fcn.00402f28
push 0x104
lea eax, [ebp - 0x26d]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x26d]
mov ecx, 0x105
call fcn.0040430c
mov eax, dword [ebp - 0x284]
mov ecx, ebx
mov edx, 1
call fcn.00404580
lea edx, [ebp - 0x288]
mov eax, dword [ebp - 0x10]
call fcn.004109d0
mov edx, dword [ebp - 0x288]
lea eax, [ebp - 0x10]
call fcn.00404174
mov eax, dword [ebp - 4]
call fcn.00404378
cmp eax, 3
jle 0x657600
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00404488
je 0x657600
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404488
jne 0x65760d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x657859
lea eax, [ebp - 0x28c]
mov ecx, 0x6578bc
mov edx, dword [ebp - 4]
call fcn.004043c4
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x168]
mov edx, 0x28
call fcn.0040c47c
test eax, eax
jne 0x657776
xor eax, eax
push ebp
push 0x65772c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x290]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.004043c4
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 8]
call fcn.0065706c
mov eax, dword [ebp - 8]
mov edx, dword [0x669488]
call fcn.00404488
jne 0x65768b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x657758
push 0x80
mov eax, dword [ebp - 8]
call fcn.0040453c
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
push ebp
push 0x6576e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6639dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
call fcn.005052dc
push eax
mov edx, ebx
lea eax, [ebp - 0x294]
call fcn.00404294
mov eax, dword [ebp - 0x294]
pop edx
call fcn.004fb498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x657722
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65774c
mov eax, dword [0x663c8c]
mov eax, dword [eax]
call fcn.004af044
lea eax, [ebp - 0x168]
call fcn.0040c4cc
test eax, eax
je 0x65763e
lea eax, [ebp - 0x168]
call fcn.0040c4f0
lea eax, [ebp - 0x2a8]
mov ecx, 0x6578bc
mov edx, dword [ebp - 4]
call fcn.004043c4
mov eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x168]
mov edx, 0x17
call fcn.0040c47c
test eax, eax
jne 0x65782e
mov eax, dword [ebp - 0x160]
and eax, 0x10
cmp eax, 0x10
jne 0x657808
mov eax, dword [ebp - 0x15c]
cmp byte [eax], 0x2e
je 0x657808
push dword [ebp - 4]
push dword [ebp - 0x15c]
push 0x6578e4
lea eax, [ebp - 0x2ac]
mov edx, 3
call fcn.00404438
mov eax, dword [ebp - 0x2ac]
call fcn.0065746c
lea eax, [ebp - 0x2b0]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.004043c4
mov eax, dword [ebp - 0x2b0]
call fcn.0040cf90
mov eax, dword [0x663c8c]
mov eax, dword [eax]
call fcn.004af044
lea eax, [ebp - 0x168]
call fcn.0040c4cc
test eax, eax
je 0x6577a7
lea eax, [ebp - 0x168]
call fcn.0040c4f0
mov eax, dword [0x6639dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x384]
mov edx, 1
call fcn.0050666c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x657859
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6578ac
lea eax, [ebp - 0x2b0]
mov edx, 4
call fcn.00404100
lea eax, [ebp - 0x298]
mov edx, 0xa
call fcn.00404100
lea eax, [ebp - 0x168]
mov edx, dword [0x40aed0]
call fcn.00404cb8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404100
ret