Function at 0x443115
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x443397
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x44333b
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x44331b
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 3
jmp 0x4431d5
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x443319
mov dword [ebp - 0xc], 0
jmp 0x4431f1
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x443204
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x24], 4
jmp 0x4431ea
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x44323d
mov dword [ebp - 0x28], 1
jmp 0x443241
and dword [ebp - 0x28], 0
push 3
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
je 0x44325b
mov dword [ebp - 0x14], 1
jmp 0x44325f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffd
je 0x44327a
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44327a
mov dword [ebp - 0x20], 1
jmp 0x44327e
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
mov eax, dword [eax]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x4432a7
mov dword [ebp - 0x18], 1
jmp 0x4432ab
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
mov esi, dword [eax]
sub esi, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
imul esi, dword [eax]
test esi, esi
je 0x4432da
mov dword [ebp - 0x1c], 1
jmp 0x4432de
and dword [ebp - 0x1c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0x24], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x24], ecx
push 1
mov ecx, dword [ebp - 8]
call fcn.0042f1b3
mov eax, dword [eax]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x4431ca
jmp 0x443339
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x443339
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
jmp 0x443395
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x44338b
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x443389
push 0xe0d
push 0x2a1b
push 0
push 1
push 0x559d
push 0x2494
push 0
call fcn.004351b7
add esp, 0x1c
jmp 0x443395
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x4433c4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
push 0
push 0x7a2d
push 0x45cf
push 0x561f
push 0x5c6e
push dword [ebp - 0x88]
call fcn.0043b404
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret