Function at 0x421efe
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x422147
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x4220c1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x422072
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x42200f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4242
jle 0x42200d
and dword [ebp - 4], 0
jmp 0x421fbd
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x8fb
jge 0x422003
push 0x5096
push 0x60f6
lea eax, [ebp - 4]
push eax
push 1
push 0x3370
push 0x2eb1
push 0x37d1
push 1
push 0x7ce
push 1
push 0x1ca2
push 1
push 1
push 1
call fcn.0041d2cf
add esp, 0x38
jmp 0x421fb6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x422070
and dword [ebp - 8], 0
jmp 0x42201c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1269
jge 0x422070
push 0x2fd
push 0x5531
push 0x2f3e
push 1
push 1
push 0x3290
push 0xba8
push 0
push 0x130b
push 1
push 0x837
lea eax, [ebp - 8]
push eax
push 0x2677
push 0x5714
push 1
push 1
push 0
push 1
call fcn.00419a51
add esp, 0x48
jmp 0x422015
jmp 0x4220bc
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x42209e
push 0
push 0xaad2b5
push str._::GetObjectW__0__2006__0___error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4220bc
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push dword [eax + 4]
push dword [eax]
mov ecx, 0xab5438
call fcn.0042afca
jmp 0x422145
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x422104
push 0x778a
push 0x6b74
push 0x33af
push 1
push 0x7df9
push 0
push 0x72c3
call fcn.00407b40
add esp, 0x1c
jmp 0x422145
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
cmp dword [eax], 0x11c5
jge 0x422145
push 0x723f
push 0x37c7
push 0x344f
push 0
push dword [ebp - 0x7c]
push 0
call fcn.00408ebf
add esp, 0x18
jmp 0x42216f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
push 1
push 0
push 0x5822
push 0x7077
push 1
push dword [ebp - 0x80]
push 1
push 0x297e
call fcn.0041e78a
add esp, 0x20
mov esp, ebp
pop ebp
ret