Function at 0x416e0b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bef75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x417097
lea eax, [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x416fb1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x416f5b
mov dword [ebp - 0xa8], 3
push 2
lea ecx, [ebp - 0xf0]
call fcn.0043557d
push 1
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0x7bc4
push 1
push 0x1566
push 0x5f20
push 0
call fcn.0040d852
add esp, 0x24
mov byte [ebp - 0x19], 0
push 1
push 0x3013
push 0
push 0xc9e
push 1
push 1
lea eax, [ebp - 0x19]
push eax
call fcn.0040bdfc
add esp, 0x1c
push 1
push 0x50ab
lea eax, [ebp - 0xa8]
push eax
push 0x570d
push 1
push 1
push 0x768c
lea eax, [ebp - 0xf0]
push eax
push 0
call fcn.00408e41
add esp, 0x24
lea ecx, [ebp - 0xf0]
call fcn.0043564f
jmp 0x416fac
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x416f92
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 3
jge 0x416fac
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.0043566b
and dword [eax], 0
jmp 0x416f87
jmp 0x417092
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x417047
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x41702b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 2
jge 0x417045
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.0043566b
or dword [eax], 0xffffffff
jmp 0x417020
jmp 0x417092
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x417075
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 1
jge 0x417092
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
call fcn.0043566b
mov dword [eax], 0xbbb66efe
jmp 0x41706a
jmp 0x4173ad
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x14], 0x7b18
mov dword [ebp - 0x20], 0xffffffff
xor eax, eax
jne 0x4170ba
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x417106
mov dword [ebp - 0x84], 2
mov dword [ebp - 0x14], 0x17
jmp 0x4170d4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x25
jl 0x4170f8
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x4170f6
push 0x23ac
push 0x14d1
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
jmp 0x4170cd
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x20], eax
jmp 0x417377
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xa4], 8
mov dword [ebp - 0x20], 0
jmp 0x417148
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x417357
mov dword [ebp - 0x44], 1
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x417176
push 0
push 0
push 0
push 0x8ac
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [ebp - 0x14], 0
jmp 0x417186
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x4171a6
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x4171a4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x41717f
mov dword [ebp - 0x14], 0
jmp 0x4171b6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x417352
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0x94], 0xe56e31bb
mov dword [ebp - 0x3c], 0xa57
mov dword [ebp - 0x8c], str.xfaob_zusbvkmn_twopr_qfsoz_pxvzzzonl_cmv_knyrwl_gyxsvj_cbzzmtn_htzdlol
cmp dword [ebp - 0x3c], 0xb1d
jle 0x417290
and dword [ebp - 0x30], 0
jmp 0x4171ff
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x33e
jge 0x417285
and dword [ebp - 0x38], 0
jmp 0x417215
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x4436
jge 0x417280
and dword [ebp - 0x34], 0
jmp 0x41722b
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x63ea
jge 0x41727e
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x118]
call fcn.00401a1e
pop ecx
pop ecx
mov ecx, eax
call fcn.0043542e
push eax
call fcn.004a9457
pop ecx
lea ecx, [ebp - 0x118]
call fcn.00435424
jmp 0x417224
jmp 0x41720e
jmp 0x4171f8
push 0xbff
call dword [sym.imp.GDI32.dll_GetStockObject]
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x4172a9
push 0x15dd
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x9f3
jge 0x4172c2
push dword [ebp - 0x8c]
call fcn.004a9457
pop ecx
jmp 0x4172de
or dword [ebp - 4], 0xffffffff
jmp 0x4172e8
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0xe4]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0x44], 5
jl 0x41731c
mov dword [ebp - 0x40], 1
jmp 0x417320
and dword [ebp - 0x40], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp + eax - 0xe4]
cmp ecx, dword [ebp - 0x9c]
jl 0x417340
mov dword [ebp - 0x48], 1
jmp 0x417344
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa4], eax
jmp 0x4171af
jmp 0x417141
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x417377
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x417393
push 0x2f6
push 0x93d
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 0
push 0x7138
push dword [ebp - 0xac]
push 0x761
call fcn.0040e1d6
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret