Function at 0x414954
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae09b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x414c54
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x4149c5
push 0
push 0x115e
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x414c52
mov dword [ebp - 0x34], 0x12b3
mov dword [ebp - 0x74], str.avlgjhmnn_xfujwwi_wpumbwe_ocfjqqrl_vazeqxsvg_ilahatkgv_mqszcqlc_rerrg_fyh_ogwvwpt
cmp dword [ebp - 0x34], 0x14d5
jle 0x414a7a
and dword [ebp - 0x28], 0
jmp 0x4149ed
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5873
jge 0x414a7a
and dword [ebp - 0x1c], 0
jmp 0x414a07
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x244c
jge 0x414a75
and dword [ebp - 0x24], 0
jmp 0x414a1d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4d77
jge 0x414a73
and dword [ebp - 0x18], 0
jmp 0x414a33
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1e02
jge 0x414a71
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
sar eax, cl
mov ecx, dword [ebp - 0x18]
shl eax, cl
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov ecx, 0xabbe58
call fcn.0042fa2a
jmp 0x414a2c
jmp 0x414a16
jmp 0x414a00
jmp 0x4149e6
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x124b
jge 0x414a9a
mov edx, dword [ebp - 0x74]
mov ecx, 0xabbe58
call fcn.004313d0
jmp 0x414ab6
or dword [ebp - 4], 0xffffffff
jmp 0x414ac0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x2b1d
mov dword [ebp - 0x8c], str.ltkhbn_hyq_fmtbmtnj_tbn_wjwcxxuzx_yrgtkemq_ipofyokxx_oozksib_dqpofejn_wupgi_rqycwsna
cmp dword [ebp - 0x3c], 0x2e0d
jle 0x414b83
and dword [ebp - 0x20], 0
jmp 0x414b0f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xabf
jge 0x414b77
and dword [ebp - 0x14], 0
jmp 0x414b25
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x22a0
jge 0x414b75
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
lea ecx, [ebp - 0xb4]
call fcn.004018f3
pop ecx
pop ecx
mov ecx, eax
call fcn.0042fa1f
push eax
call fcn.00498447
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.0042fa15
jmp 0x414b1e
jmp 0x414b08
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x29c8
jge 0x414ba5
push dword [ebp - 0x8c]
call fcn.00498447
pop ecx
jmp 0x414bc1
or dword [ebp - 4], 0xffffffff
jmp 0x414bcb
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.0042fc2d
cmp dword [eax], 0xcd329b3a
jbe 0x414be6
mov dword [ebp - 0x30], 1
jmp 0x414bea
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
sub eax, dword [ebp - 0x30]
jne 0x414c02
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x414c02
and dword [ebp - 0x48], 0
jmp 0x414c09
mov dword [ebp - 0x48], 1
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.0042fc2d
mov eax, dword [eax]
sub eax, 0x7265d48
cmp eax, 0xffffffff
jl 0x414c28
mov dword [ebp - 0x50], 1
jmp 0x414c2c
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.0042fc2d
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x58]
call fcn.0042fc2d
mov dword [eax], esi
jmp 0x414c82
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x60]
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push dword [ebp - 0x78]
call fcn.00423e31
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret