Function at 0x1002a3ac
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002a7da
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1002a7b8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0x1cc3
cmp dword [ebp - 0x18], 0xbdc
jge 0x1002a798
mov dword [ebp - 0x1ac], 0x40
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x19c], 2
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x194], 2
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x18c], 5
mov dword [ebp - 0x188], 2
mov dword [ebp - 0x184], 2
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x17c], 5
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x174], 2
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x16c], 0xe
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x164], 5
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x15c], 5
mov dword [ebp - 0x158], 2
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x148], 2
mov dword [ebp - 0x144], 2
mov dword [ebp - 0x140], 5
mov dword [ebp - 0x13c], 4
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 4
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x12c], 0x33
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 2
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], 0xe
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x114], 2
mov dword [ebp - 0x110], 2
mov dword [ebp - 0x10c], 0xe
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x104], 6
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xfc], 4
mov dword [ebp - 0xf8], 2
mov dword [ebp - 0xf4], 2
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0xec], 0x34
mov dword [ebp - 0xe8], 2
mov dword [ebp - 0xe4], 5
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xdc], 5
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd0], 2
mov dword [ebp - 0xcc], 0xd
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0xc4], 2
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xbc], 0xd
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0xb0], 4
mov dword [ebp - 0xac], 0x2f
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0xa4], 4
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 5
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], 4
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], 0x32
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 2
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 6
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0x34
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0xc
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 0xa
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], 2
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x1000782c
call fcn.100513ab
pop ecx
pop ecx
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x1ac]
push 0x1000782c
call fcn.100515a0
pop ecx
pop ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
push 2
mov ecx, dword [ebp - 0x20]
call fcn.1000e49e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x1002a7d8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002a7d8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x1002a806
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push 0x53fd
mov eax, dword [ebp - 0x1c]
push dword [eax]
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x2c]
call fcn.1001edb9
add esp, 0x14
mov esp, ebp
pop ebp
ret