Function at 0x457ba0
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4990e9
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4c6190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], 0
cmp edi, 2
jne 0x457c2f
push 0x49b518
lea ecx, [ebp - 0x78]
call fcn.00401a50
push 0x49b438
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.00401a50
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x60]
push eax
push SysReAllocString
push esi
call fcn.00458130
add esp, 0x14
lea ecx, [ebp - 0x60]
call fcn.004022e0
lea ecx, [ebp - 0x78]
jmp 0x457e04
xor eax, eax
lea ecx, [ebp - 0x60]
cmp edi, 1
push 0x49b424
setne al
add eax, 0x80000001
mov dword [ebp - 0x2c], eax
call fcn.00401a50
push 0x49b3e8
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 2
call fcn.00401a50
push 0x200
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.00458130
add esp, 0x14
lea ecx, [ebp - 0x78]
call fcn.004022e0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.004022e0
cmp dword [ebp - 0x18], 0
jne 0x457dc8
mov ecx, 0x49ab90
cmp edi, 1
mov eax, 0x49ac90
cmovne eax, ecx
lea ecx, [ebp - 0x90]
push eax
call fcn.00401a50
push 0x49b438
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00401a50
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0xa8]
push eax
call fcn.00458130
add esp, 0x14
lea ecx, [ebp - 0x28]
push eax
call fcn.00404b30
lea ecx, [ebp - 0xa8]
call fcn.004022e0
lea ecx, [ebp - 0x44]
call fcn.004022e0
lea ecx, [ebp - 0x90]
call fcn.004022e0
cmp dword [ebp - 0x18], 0
jne 0x457dc8
cmp edi, 1
mov eax, 0x49b568
mov ecx, 0x49b588
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], 0
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
push ecx
push ecx
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], cx
mov byte [ebp - 4], 9
mov dword [ebp - 0x48], 2
call edi
test eax, eax
je 0x457db4
push 0
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ec90
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
call edi
test eax, eax
je 0x457d9d
cmp eax, dword [ebp - 0x34]
ja 0x457d9d
push 0
dec eax
lea ecx, [ebp - 0x44]
push eax
call fcn.0040ec90
jmp 0x457db4
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], 0
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404b30
lea ecx, [ebp - 0x44]
call fcn.004022e0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.004022e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465ee7
mov esp, ebp
pop ebp
ret