Function at 0x449904
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x449d0b
lea eax, [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x449966
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x68], eax
push 0x3a7d
push 1
push dword [ebp - 0x68]
push 0x103b
call fcn.00449d27
add esp, 0x10
jmp 0x449d09
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x4499bc
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x4499b7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x449d09
mov dword [ebp - 8], 0xead
mov dword [ebp - 0x14], 0xc87a9b65
push 2
lea ecx, [ebp - 0x88]
call fcn.00435444
mov dword [ebp - 0x1c], 0xfffffffb
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x5c], 0x3b76f056
mov dword [ebp - 0x6c], 0x40fd7713
mov dword [ebp - 4], 0
jmp 0x449a11
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x449a24
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x10], 0x79b69b2e
jmp 0x449a0a
mov dword [ebp - 4], 0
jmp 0x449a34
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x449a4a
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc8], 0xfffffffb
jmp 0x449a2d
mov dword [ebp - 4], 0
jmp 0x449a5a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x449a73
push dword [ebp - 4]
lea ecx, [ebp - 0x88]
call fcn.00435532
or dword [eax], 0xffffffff
jmp 0x449a53
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x14], eax
je 0x449a8b
mov dword [ebp - 0x20], 1
jmp 0x449a8f
and dword [ebp - 0x20], 0
push 0
lea ecx, [ebp - 0x88]
call fcn.00435532
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
cmp dword [ebp - 0x20], 0
jb 0x449ab4
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x10], 0
jne 0x449ac7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
jne 0x449ac7
and dword [ebp - 0x54], 0
jmp 0x449ace
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0xffffffff
je 0x449add
mov dword [ebp - 0x48], 1
jmp 0x449ae1
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp + eax - 0x10]
jne 0x449aff
mov eax, 0x332e
test eax, eax
jne 0x449aff
and dword [ebp - 0x64], 0
jmp 0x449b06
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x64], eax
jge 0x449b17
mov dword [ebp - 0x30], 1
jmp 0x449b1b
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x1c]
test eax, eax
jne 0x449b39
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
je 0x449b4b
cmp dword [ebp - 0x18], 0
je 0x449b4b
mov dword [ebp - 0xa0], 1
jmp 0x449b52
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xb4], eax
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x10], 0
mov dword [ebp - 0x58], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0xc8], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
imul eax, dword [ebp - 0x58]
test eax, eax
jne 0x449bad
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xc8], 0
je 0x449bbb
xor eax, eax
inc eax
je 0x449bbb
mov dword [ebp - 0x38], 1
jmp 0x449bbf
and dword [ebp - 0x38], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x38], eax
jge 0x449bd7
mov dword [ebp - 0x50], 1
jmp 0x449bdb
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x50], eax
jne 0x449bec
mov dword [ebp - 0x7c], 1
jmp 0x449bf0
and dword [ebp - 0x7c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xb8], eax
push 0
lea ecx, [ebp - 0x88]
call fcn.00435532
cmp dword [eax], 0
jne 0x449c2e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
jne 0x449c2e
and dword [ebp - 0x40], 0
jmp 0x449c35
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x449c4d
cmp dword [ebp - 8], 0
jne 0x449c4d
and dword [ebp - 0x28], 0
jmp 0x449c54
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 0xec7e
jle 0x449c66
mov dword [ebp - 0x2c], 1
jmp 0x449c6a
and dword [ebp - 0x2c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
imul eax, dword [ebp - 0x2c]
test eax, eax
je 0x449c82
cmp dword [ebp - 8], 0
jne 0x449c8e
cmp dword [ebp - 0x14], 0
jne 0x449c8e
and dword [ebp - 0x34], 0
jmp 0x449c95
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x34]
sub eax, 0x174d
mov dword [ebp - 0x3c], eax
je 0x449cbd
push 0
lea ecx, [ebp - 0x88]
call fcn.00435532
cmp dword [eax], 0
je 0x449cbd
mov dword [ebp - 0x44], 1
jmp 0x449cc1
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x449cd5
mov dword [ebp - 0x4c], 1
jmp 0x449cd9
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x4c], eax
jl 0x449cea
mov dword [ebp - 0x24], 1
jmp 0x449cee
and dword [ebp - 0x24], 0
imul eax, dword [ebp - 0x24], 0xffff
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x88]
call fcn.00435516
jmp 0x449d23
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push 1
push 0xee1
call fcn.0043ed43
add esp, 0xc
mov esp, ebp
pop ebp
ret