Function at 0x45960a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af6a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45964a
push 1
push 0x24f2
call fcn.00459a55
pop ecx
pop ecx
jmp 0x459a44
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x459852
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00442139
cmp dword [eax], 0
je 0x459775
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x459737
mov eax, 0x6a67606e
test eax, eax
je 0x459737
mov dword [ebp - 0x34], 1
jmp 0x45973b
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
je 0x45974a
mov dword [ebp - 0x3c], 1
jmp 0x45974e
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
sub eax, dword [ecx]
cmp eax, 0xc70e
jge 0x459775
mov dword [ebp - 0x44], 1
jmp 0x459779
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 1
jl 0x459788
mov dword [ebp - 0x54], 1
jmp 0x45978c
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x2dfce95
jne 0x45979e
mov dword [ebp - 0x60], 1
jmp 0x4597a2
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00442139
cmp dword [eax], 0
je 0x4597cf
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00442139
cmp dword [eax], 0
je 0x4597cf
mov dword [ebp - 0x38], 1
jmp 0x4597d3
and dword [ebp - 0x38], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00442139
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jl 0x4597ed
mov dword [ebp - 0x64], 1
jmp 0x4597f1
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00442139
mov esi, eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.00442139
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x45982a
mov dword [ebp - 0x6c], 1
jmp 0x45982e
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00442139
mov dword [eax], esi
jmp 0x459a44
mov dword [ebp - 0x50], 0x30a2
mov dword [ebp - 0x7c], str.zxlmwx_bwunuh_kzmnay_gedg_tbguwbf_rbhjrjl
cmp dword [ebp - 0x50], 0x33e2
jle 0x459916
and dword [ebp - 0x2c], 0
jmp 0x45987a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x353c
jge 0x459901
and dword [ebp - 0x24], 0
jmp 0x459890
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4a9e
jge 0x4598fc
and dword [ebp - 0x1c], 0
jmp 0x4598a6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xe17
jge 0x4598fa
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0xe0]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.00441f21
jmp 0x45989f
jmp 0x459889
jmp 0x459873
push 0x1dea
push 0x6f3
push 0x220f
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0x2e4d
jge 0x459935
push dword [ebp - 0x7c]
call fcn.00499008
pop ecx
jmp 0x459951
or dword [ebp - 4], 0xffffffff
jmp 0x45995b
mov dword [ebp - 0x58], 0x37dd
mov dword [ebp - 0x94], str.vdbxrfbai_bllqzbws_iiy_fkfarx_yabx_ksufxx_ymn_kzwm_hedph_hpaemjjh_qdoase_xzojbznw_mykz_jlyllpe
cmp dword [ebp - 0x58], 0x3acc
jle 0x4599df
and dword [ebp - 0x20], 0
jmp 0x459982
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x27e7
jge 0x4599ce
and dword [ebp - 0x28], 0
jmp 0x459998
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5448
jge 0x4599cc
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
mov ecx, 0xae0558
call fcn.00441f36
jmp 0x459991
jmp 0x45997b
push 0
push 0x24aa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x4599fe
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x58], 0x3508
jge 0x459a1e
mov edx, dword [ebp - 0x94]
mov ecx, 0xae0558
call fcn.004438dc
jmp 0x459a3a
or dword [ebp - 4], 0xffffffff
jmp 0x459a44
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret