Function at 0x403d86
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459422
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x520
push esi
mov dword [ebp - 0x4f0], ecx
mov ecx, dword [ebp - 0x4f0]
add ecx, 4
call fcn.00404770
test eax, eax
je 0x403dd2
push 0
push 0
push 0x4703e8
call fcn.0044acf8
xor eax, eax
jmp 0x404181
lea ecx, [ebp - 0x4c0]
call fcn.00401de0
mov dword [ebp - 4], 0
push 0x470400
mov eax, dword [ebp - 0x4f0]
add eax, 4
push eax
lea ecx, [ebp - 0x4c4]
push ecx
call fcn.0043fcb7
mov dword [ebp - 0x4f4], eax
mov edx, dword [ebp - 0x4f4]
mov dword [ebp - 0x4f8], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.0043fb5b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c4]
call fcn.0043fa22
mov ecx, dword [ebp - 0x4f0]
add ecx, 4
push ecx
mov edx, esp
mov dword [ebp - 0x4c8], esp
push ecx
mov ecx, edx
call fcn.0043f797
mov dword [ebp - 0x4fc], eax
call fcn.00403cc6
add esp, 4
mov dword [ebp - 0x500], eax
cmp dword [ebp - 0x500], 0
jne 0x403f66
push ecx
mov ecx, esp
mov dword [ebp - 0x4cc], esp
lea eax, [ebp - 0x4c0]
push eax
call fcn.0043f797
mov dword [ebp - 0x504], eax
call fcn.00403abf
add esp, 4
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
jne 0x403f66
push 0x104
push 0
mov ecx, dword [ebp - 0x4f0]
add ecx, 4
call fcn.0043fe52
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 3
lea ecx, [ebp - 0x4d0]
push ecx
mov ecx, dword [ebp - 0x4f0]
add ecx, 4
call fcn.0043c178
mov dword [ebp - 0x50c], eax
mov edx, dword [ebp - 0x50c]
mov dword [ebp - 0x510], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x510]
push eax
mov ecx, dword [ebp - 0x4f0]
add ecx, 4
call fcn.0043fb5b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
call fcn.0043fa22
push 0x470408
mov ecx, dword [ebp - 0x4f0]
add ecx, 4
push ecx
lea edx, [ebp - 0x4d4]
push edx
call fcn.0043fcb7
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x514]
mov dword [ebp - 0x518], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x518]
push ecx
lea ecx, [ebp - 0x4c0]
call fcn.0043fb5b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4d4]
call fcn.0043fa22
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x4f0]
add ecx, 4
call fcn.00401e00
push eax
push 0x4034e6
call fcn.00441d36
push 0
lea ecx, [ebp - 0x4bc]
call fcn.00404eac
mov byte [ebp - 4], 4
lea edx, [ebp - 0x4bc]
mov dword [0x4774bc], edx
lea ecx, [ebp - 0x4bc]
call fcn.00441803
mov dword [ebp - 0x10], eax
push ecx
mov esi, esp
mov dword [ebp - 0x4dc], esp
push 0x470410
push 0x470418
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x4e0]
push ecx
call fcn.0043fcb7
mov dword [ebp - 0x51c], eax
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x520], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x520]
push eax
push esi
call fcn.0043fcb7
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x4f0]
call fcn.00402c4d
mov dword [ebp - 0x528], eax
xor ecx, ecx
cmp dword [ebp - 0x528], 0
sete cl
mov byte [ebp - 0x4d8], cl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4e0]
call fcn.0043fa22
mov edx, dword [ebp - 0x4d8]
and edx, 0xff
test edx, edx
je 0x40408d
push 0
push 0x47041c
push 0x470424
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x4e4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.00404820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c0]
call fcn.0043fa22
mov eax, dword [ebp - 0x4e4]
jmp 0x404181
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x4c0]
push ecx
lea ecx, [ebp - 0x414]
call fcn.0043f797
mov byte [ebp - 4], 6
push str.disk_setup.exe__delt
lea ecx, [ebp - 0x414]
call fcn.0043fdfe
push 0x470454
lea ecx, [ebp - 0x414]
call fcn.0043fdfe
mov edx, dword [0x477550]
push edx
lea ecx, [ebp - 0x414]
call fcn.0043fdfe
push str.__fatherPath__
lea ecx, [ebp - 0x414]
call fcn.0043fdfe
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.0043fdfe
push 0x470468
lea ecx, [ebp - 0x414]
call fcn.0043fdfe
push ecx
mov ecx, esp
mov dword [ebp - 0x4e8], esp
lea edx, [ebp - 0x414]
push edx
call fcn.0043f797
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x4f0]
call fcn.004044b9
mov dword [ebp - 0x4ec], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x414]
call fcn.0043fa22
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.00404820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c0]
call fcn.0043fa22
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret