Function at 0x5417a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x5417a8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x541a65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402730
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov dword [ebp - 0x10], eax
call fcn.00492c68
test al, al
je 0x5417fe
mov ecx, 0xf013f
mov dl, 1
mov eax, dword [0x492b68]
call fcn.00492d3c
mov dword [ebp - 0x24], eax
jmp 0x54180d
mov dl, 1
mov eax, dword [0x492b68]
call fcn.00492cf8
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x541a2e
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 - 0x34]
mov edx, dword [ebp - 8]
call fcn.004043d8
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov ecx, 0x541a7c
call main
xor edx, edx
push ebp
push 0x5419fe
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 - 0x38]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.00408874
lea ecx, [ebp - 0x3c]
mov edx, 0x541a94
mov eax, dword [ebp - 0x18]
call fcn.004c3ff0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
call fcn.00408874
xor edx, edx
push ebp
push 0x541913
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x40]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404700
mov eax, dword [ebp - 0x40]
call fcn.00408ea4
mov ebx, eax
lea eax, [ebp - 0x44]
push eax
mov ecx, 2
mov edx, 5
mov eax, dword [ebp - 0x14]
call fcn.00404700
mov eax, dword [ebp - 0x44]
call fcn.00408ea4
mov esi, eax
lea eax, [ebp - 0x48]
push eax
mov ecx, 2
mov edx, 7
mov eax, dword [ebp - 0x14]
call fcn.00404700
mov eax, dword [ebp - 0x48]
call fcn.00408ea4
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.0040ac08
fstp qword [ebp - 0x20]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54191d
mov edx, 0x80000002
mov eax, dword [ebp - 0x24]
call fcn.00492dec
lea eax, [ebp - 0x28]
mov edx, 0x541ac0
call fcn.00404278
push 0
mov cl, 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.00492e54
test al, al
je 0x5419ec
lea ecx, [ebp - 0x2c]
mov edx, 0x541ae8
mov eax, dword [ebp - 0x24]
call fcn.0049362c
mov eax, dword [ebp - 0x2c]
call fcn.00543e04
mov ebx, eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
call fcn.00408660
mov al, byte [0x541af4]
push eax
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
mov edx, 0x541b00
mov eax, dword [ebp - 0x30]
call fcn.0040e198
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
call fcn.00404278
call fcn.0040ae3c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0x541b0c
call fcn.0040bae4
mov eax, dword [ebp - 0x50]
call fcn.00408ea4
cmp ebx, eax
jg 0x5419ec
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00542420
test al, al
jne 0x5419ec
mov eax, dword [0x55e810]
mov eax, dword [eax]
call fcn.00490108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403c24
jmp 0x541a35
mov eax, dword [ebp - 0x24]
call fcn.00492dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x541a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541a35
mov eax, dword [ebp - 0x24]
call fcn.004033ac
mov eax, dword [ebp - 0x10]
call fcn.004033ac
mov eax, dword [ebp - 8]
call fcn.00402750
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541a6c
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.00404204
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404204
lea eax, [ebp - 0xc]
call fcn.004041e0
ret