Function at 0x570fc4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x570fcc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57125e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027dc
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x418888]
call fcn.00403bbc
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x441474]
call fcn.00441574
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x571227
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00404c18
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov ecx, 0x571274
call fcn.00404d2c
xor edx, edx
push ebp
push 0x5711f7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x18]
call fcn.004090d0
lea ecx, [ebp - 0x38]
mov edx, 0x571288
mov eax, dword [ebp - 0x18]
call fcn.004ceae0
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
call fcn.004090d0
xor edx, edx
push ebp
push 0x571119
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x3c]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404f40
mov eax, dword [ebp - 0x3c]
call fcn.004095dc
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
mov ecx, 2
mov edx, 5
mov eax, dword [ebp - 0x14]
call fcn.00404f40
mov eax, dword [ebp - 0x40]
call fcn.004095dc
mov esi, eax
lea eax, [ebp - 0x44]
push eax
mov ecx, 2
mov edx, 7
mov eax, dword [ebp - 0x14]
call fcn.00404f40
mov eax, dword [ebp - 0x44]
call fcn.004095dc
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.0040b318
fstp qword [ebp - 0x20]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x571123
mov edx, 0x80000001
mov eax, dword [ebp - 0x24]
call fcn.00441614
mov cl, 1
mov edx, 0x5712b4
mov eax, dword [ebp - 0x24]
call fcn.0044167c
test al, al
je 0x5711e5
lea ecx, [ebp - 0x28]
mov edx, 0x5712dc
mov eax, dword [ebp - 0x24]
call fcn.00441bf8
mov eax, dword [ebp - 0x28]
call fcn.00579374
mov ebx, eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.00408ebc
mov al, byte [0x5712e8]
push eax
lea eax, [ebp - 0x48]
push eax
xor ecx, ecx
mov edx, 0x5712f4
mov eax, dword [ebp - 0x2c]
call fcn.0040e9b0
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
call fcn.00404ab8
call fcn.0040b58c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x4c]
mov eax, 0x571300
call fcn.0040c2f0
mov eax, dword [ebp - 0x4c]
call fcn.004095dc
cmp ebx, eax
jg 0x5711e5
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00572254
test al, al
jne 0x5711e5
mov eax, dword [0x581040]
mov eax, dword [eax]
call fcn.0048db50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404464
jmp 0x57122e
mov eax, dword [ebp - 0x24]
call fcn.004415e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x571201
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57122e
mov eax, dword [ebp - 0x24]
call fcn.00403bec
mov eax, dword [ebp - 0x10]
call fcn.00403bec
mov eax, dword [ebp - 8]
call fcn.004027fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571265
lea eax, [ebp - 0x4c]
mov edx, 0xa
call fcn.00404a44
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404a44
lea eax, [ebp - 0xc]
call fcn.00404a20
ret