Function at 0x409173
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4091e2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
push eax
push 1
push 0x15c8
push 0x4c23
push 1
push 0x6ba2
push 0x20cf
push 0xf47
push 0x11a3
call fcn.004093ac
add esp, 0x28
jmp 0x40939b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x409260
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x40924e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x40924c
push 0x23ac
push 0x14d1
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
jmp 0x40925b
push 0x15dd
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x40939b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x409378
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0x2ccf
mov dword [ebp - 0x68], str.mujtzm_ydoljmms_tinkoqpdg_nvp_jvyrzccz_kcrpdjkn
cmp dword [ebp - 0x28], 0x2e5e
jle 0x40932b
and dword [ebp - 0x1c], 0
jmp 0x4092b4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x42a5
jge 0x40932b
and dword [ebp - 0x14], 0
jmp 0x4092ca
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x71a8
jge 0x409329
and dword [ebp - 0x18], 0
jmp 0x4092e0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3350
jge 0x409327
and dword [ebp - 0x20], 0
jmp 0x4092f6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2d74
jge 0x409325
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov ecx, 0xab56b8
call fcn.00435439
jmp 0x4092ef
jmp 0x4092d9
jmp 0x4092c3
jmp 0x4092ad
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x2a88
jge 0x409350
mov edx, dword [ebp - 0x68]
mov ecx, 0xab56b8
call fcn.004371ef
jmp 0x40936c
or dword [ebp - 4], 0xffffffff
jmp 0x409376
jmp 0x40939b
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x40939b
push 0x231e
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret