Function at 0x454182
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af5a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x454413
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], 0x2f51
mov dword [ebp - 0x70], str.eaocw_nldirftat_mhpo_mqhrqxql
cmp dword [ebp - 0x2c], 0x329e
jle 0x454247
and dword [ebp - 0x24], 0
jmp 0x4541e9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1303
jge 0x454247
and dword [ebp - 0x1c], 0
jmp 0x4541ff
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6f60
jge 0x454245
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0xa4]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.00441f21
jmp 0x4541f8
jmp 0x4541e2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x2cad
jge 0x454263
push dword [ebp - 0x70]
call fcn.00499008
pop ecx
jmp 0x45427f
or dword [ebp - 4], 0xffffffff
jmp 0x454289
mov dword [ebp - 0x30], 0x455b
mov dword [ebp - 0x44], str.xdhpjs_lli_raffypeaz_roxaw_gcfeks_yxbczsn
cmp dword [ebp - 0x30], 0x464f
jle 0x454337
and dword [ebp - 0x18], 0
jmp 0x4542b1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4cda
jge 0x454331
and dword [ebp - 0x28], 0
jmp 0x4542c7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4e7d
jge 0x45432c
and dword [ebp - 0x14], 0
jmp 0x4542dd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x299c
jge 0x45432a
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xbc]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xbc]
call fcn.00441f21
jmp 0x4542d6
jmp 0x4542c0
jmp 0x4542aa
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x4543c8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xffffffe7
jmp 0x454388
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0xd
je 0x4543c6
mov dword [ebp - 0x3c], 0x672a
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x60], 0x42f88d96
lea eax, [ebp - 0x58]
push eax
push 0
push dword [ebp - 0x88]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
push eax
call fcn.00456aea
add esp, 0x18
jmp 0x45437d
jmp 0x4543d2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x4528
jge 0x4543eb
push dword [ebp - 0x44]
call fcn.00499008
pop ecx
jmp 0x454407
or dword [ebp - 4], 0xffffffff
jmp 0x454411
jmp 0x45444a
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x6c]
call fcn.00445469
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret