Function at 0x434496
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x43454a
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x434537
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x43452b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 3
jmp 0x4344fc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x434529
mov byte [ebp - 1], 0
push 1
push 0x3cdd
push 0
lea eax, [ebp - 1]
push eax
push 0x7a09
push 0x1239
call fcn.004372ae
add esp, 0x18
jmp 0x4344f1
jmp 0x434535
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x434545
push 0
push 0xcc6
call fcn.00434c5e
pop ecx
pop ecx
jmp 0x4346bf
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4345bb
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x40]
push 0x7e25
push 0x7d01
push 0x22f6
push 0
push 0x6baf
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0x6c78
call fcn.00433095
add esp, 0x24
jmp 0x4346bf
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x434695
mov dword [ebp - 0x14], 0xfffffffa
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x5c], 0x44adca1a
push 1
lea ecx, [ebp - 0x74]
call fcn.00428b50
mov dword [ebp - 0xc], 0
jmp 0x43460b
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x434624
push dword [ebp - 0xc]
lea ecx, [ebp - 0x74]
call fcn.00428c3e
mov dword [eax], 0xe2cf4565
jmp 0x434604
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
call fcn.00441840
add esp, 0xc
push 0x3aa0
push 0x578c
push 0x311e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x5f09
push 1
push 0
push 1
lea eax, [ebp - 0x14]
push eax
push 0x900
push 0x1bcc
lea eax, [ebp - 0x5c]
push eax
push 0x21b4
push 0x2aa8
push 0xb04
push 0x4529
push 0x5af5
call fcn.0042e559
add esp, 0x48
lea ecx, [ebp - 0x74]
call fcn.00428c22
jmp 0x4346bf
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x4346bf
push 0x65b5
push 0
push 0x5428
call fcn.00443eb9
add esp, 0xc
mov esp, ebp
pop ebp
ret