Function at 0x4505b5
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45072b
mov dword [ebp - 0x30], 0x6cfc
mov dword [ebp - 0x58], str.ggstvxq_rdqui_byebnum_tqte
cmp dword [ebp - 0x30], 0x6e9f
jle 0x45067b
and dword [ebp - 0x28], 0
jmp 0x45060a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x72f6
jge 0x45067b
and dword [ebp - 0x20], 0
jmp 0x450620
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3286
jge 0x450679
and dword [ebp - 0x2c], 0
jmp 0x450636
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3117
jge 0x450677
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x80]
call fcn.004018f3
pop ecx
pop ecx
mov ecx, eax
call fcn.0042fa1f
push eax
call fcn.00498447
pop ecx
lea ecx, [ebp - 0x80]
call fcn.0042fa15
jmp 0x45062f
jmp 0x450619
jmp 0x450603
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x6c2a
jge 0x450697
push dword [ebp - 0x58]
call fcn.00498447
pop ecx
jmp 0x4506b3
or dword [ebp - 4], 0xffffffff
jmp 0x4506bd
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x4506db
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x450726
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x450709
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x450726
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.0042fc2d
mov dword [eax], 1
jmp 0x4506fe
jmp 0x450838
mov dword [ebp - 0x34], 0x111e
mov dword [ebp - 0x40], str.fjn_bbpdcjbbw_vlyg_przntou_rrmn_qkttfvrif_biivcx_mdiooo_ygvf_lxksp_ucvdkpdf_fbsuna_lgp
cmp dword [ebp - 0x34], 0x1488
jle 0x4507d2
and dword [ebp - 0x18], 0
jmp 0x450753
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1e9c
jge 0x4507cc
and dword [ebp - 0x1c], 0
jmp 0x450769
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2329
jge 0x4507ca
and dword [ebp - 0x24], 0
jmp 0x45077f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6c01
jge 0x4507c8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x98]
call fcn.004018f3
pop ecx
pop ecx
mov ecx, eax
call fcn.0042fa1f
push eax
call fcn.00498447
pop ecx
lea ecx, [ebp - 0x98]
call fcn.0042fa15
jmp 0x450778
jmp 0x450762
jmp 0x45074c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x1098
jge 0x4507f1
push dword [ebp - 0x40]
call fcn.00498447
pop ecx
jmp 0x45080d
or dword [ebp - 4], 0xffffffff
jmp 0x450817
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x45082e
push 0x1c5b
call dword [sym.imp.USER32.dll_HideCaret]
jmp 0x450838
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret