Function at 0x10014cd3
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d92b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
mov dword [ebp - 0x144], 0x4530
mov dword [ebp - 0x134], 0xfffffffe
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x158], 7
push 1
lea ecx, [ebp - 0x19c]
call fcn.10019c20
and dword [ebp - 4], 0
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1b8], 0xa3a7
push 1
lea ecx, [ebp - 0x190]
call fcn.10019c20
mov byte [ebp - 4], 1
push 0x4361
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0x19c]
push eax
push 0x2a5d
push 0x27db
call fcn.100184d8
add esp, 0x18
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0x190]
push eax
call fcn.10018174
add esp, 0xc
push 0x3ee3
push 0x2317
lea eax, [ebp - 0x19c]
push eax
push 0x7f66
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x410
push 0
push 0x5eb8
push 0x7b4c
lea eax, [ebp - 0x144]
push eax
call fcn.100159f6
add esp, 0x30
push 0x2607
push 0x1e86
push 0x43c6
push 0
lea eax, [ebp - 0x190]
push eax
call fcn.10019805
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.10019ca7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.10019ca7
mov eax, dword [0x14b2bc24]
and eax, 1
jne 0x10014e4e
mov eax, dword [0x14b2bc24]
or eax, 1
mov dword [0x14b2bc24], eax
mov dword [ebp - 4], 2
mov ecx, 0x14b2bbdc
call fcn.10019dbc
push 0x100902af
call fcn.10075c56
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], 0xd569
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x1ac], 0xfffffffc
mov dword [ebp - 0x1a8], 0xfffffffc
mov dword [ebp - 0x1a4], 0xfffffffc
mov dword [ebp - 0x1a0], 0xfffffffc
xor eax, eax
inc eax
je 0x10014e92
cmp dword [ebp - 0x38], 0
jne 0x10014ea2
push 0xfffffffffffffff9
pop eax
test eax, eax
jne 0x10014ea2
and dword [ebp - 0xdc], 0
jmp 0x10014eac
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0xdc]
test eax, eax
je 0x10014ecf
mov eax, 0xf4a7d2ae
test eax, eax
je 0x10014ecf
mov dword [ebp - 0xf8], 1
jmp 0x10014ed6
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
add eax, 7
cmp eax, 0x4951162d
jge 0x10014eef
mov dword [ebp - 0x64], 1
jmp 0x10014ef3
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x64]
je 0x10014f10
cmp dword [ebp - 0x38], 0
je 0x10014f10
mov dword [ebp - 0x140], 1
jmp 0x10014f17
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1e4], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1ac], 0x9c309ab8
push 0x5bff
push 0x1b05
push 0
call fcn.1001679a
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x1ec]
push eax
mov ecx, 0x14b2bbdc
call fcn.10019d86
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x1f4]
push eax
mov ecx, 0x14b2bbdc
call fcn.10019d94
mov ecx, eax
call fcn.10019da9
movzx eax, al
test eax, eax
je 0x1001516d
mov dword [ebp - 0x58], 0x61928c17
mov dword [ebp - 0x54], 0x61928c17
mov dword [ebp - 0x50], 0x61928c17
mov dword [ebp - 0x4c], 0x61928c17
mov dword [ebp - 0x1c], 0x3aa9ac70
mov dword [ebp - 0x154], 0x70f9e3d3
mov dword [ebp - 0x1c], 3
jmp 0x10014fc7
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1001513b
mov dword [ebp - 0x20], 0x80849f84
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x20], 0
jmp 0x10014ff2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x10015136
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0x58]
cmp dword [ebp + eax*4 - 0x58], ecx
jne 0x10015015
mov dword [ebp - 0x7c], 1
jmp 0x10015019
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0xd4], 0
jg 0x1001502b
mov dword [ebp - 0x6c], 1
jmp 0x1001502f
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp + eax*4 - 0x58]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0x58]
jne 0x1001505c
mov dword [ebp - 0xb4], 1
jmp 0x10015063
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xb4], eax
jl 0x10015077
mov dword [ebp - 0x74], 1
jmp 0x1001507b
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x58]
cmp dword [ebp - 0x74], eax
jle 0x10015093
mov dword [ebp - 0xf4], 1
jmp 0x1001509a
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0xf4], eax
jle 0x100150b7
mov dword [ebp - 0x120], 1
jmp 0x100150be
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x210], eax
or eax, 0xffffffff
je 0x100150e3
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x58], 0
jne 0x100150e9
cmp dword [ebp - 0x1c], 0
je 0x100150fb
cmp dword [ebp - 0x1c], 0
je 0x100150fb
mov dword [ebp - 0xbc], 1
jmp 0x10015102
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0xbc]
jle 0x1001511a
xor eax, eax
jne 0x1001511a
and dword [ebp - 0x84], 0
jmp 0x10015124
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x58], ecx
jmp 0x10014feb
jmp 0x10014fc0
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1001514c
call fcn.10014c5e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x148]
push eax
mov ecx, 0x14b2bbdc
call fcn.10019e10
mov al, byte [eax]
jmp 0x100158ed
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x94], 0x65dea311
mov dword [ebp - 0x20c], 0xd1c1d68
mov dword [ebp - 0x1b0], 0xc458a922
mov dword [ebp - 0x1f0], 5
mov dword [ebp - 0x1bc], 2
mov dword [ebp - 0x1cc], 0xffffffff
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x3c], 0
jmp 0x100151ca
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x100151e0
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x254], 0xfbf2b831
jmp 0x100151c3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x10], 0
je 0x1001521f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x204], eax
mov eax, 0xd921b0ae
test eax, eax
je 0x1001521f
mov dword [ebp - 0x128], 1
jmp 0x10015226
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x10], 0xb1510afb
ja 0x10015241
mov dword [ebp - 0x5c], 1
jmp 0x10015245
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x5c]
imul eax, ecx
cmp eax, dword [ebp - 0x10]
jge 0x10015262
mov dword [ebp - 0x8c], 1
jmp 0x10015269
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xe136dc99
jae 0x10015281
mov dword [ebp - 0xc4], 1
jmp 0x10015288
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x94], eax
jle 0x100152ab
mov dword [ebp - 0xec], 1
jmp 0x100152b2
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0x10]
jne 0x100152d5
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x100152d3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x10015351
mov dword [ebp - 0x1f8], 0x3205
mov dword [ebp - 0x184], 0x74bdbaf9
mov dword [ebp - 0x180], 0x74bdbaf9
mov dword [ebp - 0x17c], 0x74bdbaf9
mov dword [ebp - 0x178], 0x74bdbaf9
lea ecx, [ebp - 0x3d]
call fcn.100091c3
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x224]
call fcn.10019cbb
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.10019c81
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x21c]
call fcn.10019ca7
push dword [ebp + 8]
lea eax, [ebp - 0x244]
push eax
call fcn.10012b68
pop ecx
pop ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x130]
call fcn.10019bde
mov al, byte [eax]
mov byte [ebp - 0x15], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.10019b82
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x68], 0xfffd
mov dword [ebp - 0x28], 0
jmp 0x100153bf
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x100153d5
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x150], 0xf951fe77
jmp 0x100153b8
mov dword [ebp - 0x28], 0
jmp 0x100153e5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x100153fb
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x1c4], 0
jmp 0x100153de
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xcc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x150], ecx
cmp dword [ebp - 0xcc], 0x942a1e94
ja 0x1001543f
push 0
push 0xc85
push 0x2b60
call fcn.10015979
add esp, 0xc
jmp 0x100154a3
mov dword [ebp - 0xa4], 0xb263d188
mov dword [ebp - 0x14], 0
jmp 0x10015459
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x100154a3
mov dword [ebp - 0x34], 0
jmp 0x1001546f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10015485
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x22c], 4
jmp 0x10015468
mov eax, dword [ebp - 0xa4]
dec eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x150], 0
je 0x100154a1
jmp 0x100154a3
jmp 0x10015452
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xe4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe4]
mov dword [ebp + eax - 0x150], ecx
mov eax, dword [ebp - 0xe4]
neg eax
neg eax
jne 0x100154d4
mov dword [ebp - 0x70], 1
jmp 0x100154d8
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jge 0x100154ec
mov dword [ebp - 0x13c], 1
jmp 0x100154f3
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x48], eax
jg 0x10015507
mov dword [ebp - 0xac], 1
jmp 0x1001550e
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xac]
jne 0x10015528
mov eax, 0x6e6c
test eax, eax
jne 0x10015528
and dword [ebp - 0x60], 0
jmp 0x1001552f
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x60], eax
je 0x10015543
mov dword [ebp - 0x100], 1
jmp 0x1001554a
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1e0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c4]
cmp dword [ebp - 0x70], eax
jne 0x1001556e
mov dword [ebp - 0x78], 1
jmp 0x10015572
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push eax
mov ecx, 0x14b2bbdc
call fcn.10019e10
mov cl, byte [ebp - 0x15]
mov byte [eax], cl
mov dword [ebp - 0x30], 0xa44198d7
mov dword [ebp - 0x208], 0xdfecbe92
mov dword [ebp - 0x90], 0x740826f3
mov dword [ebp - 0x12c], 0x57392715
mov dword [ebp - 0x80], 0xfffffffa
mov dword [ebp - 0x10c], 0x7b47e0fa
push 1
lea ecx, [ebp - 0x170]
call fcn.10019c20
mov dword [ebp - 4], 4
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x24], 0
jmp 0x100155fb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10015611
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x164], 0xa53d
jmp 0x100155f4
mov dword [ebp - 0x24], 0
jmp 0x10015621
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1001563d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x170]
call fcn.10019cac
mov dword [eax], 0x2836
jmp 0x1001561a
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10015662
push 0x27de
push 0x5d7e
push 1
push 0x26b4
call fcn.10014c7c
add esp, 0x10
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x164], 0
je 0x100158ae
mov dword [ebp - 0xc8], 0x789
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x200], 4
mov dword [ebp - 0xc0], 0x31bb000e
mov dword [ebp - 0x44], 0xb6b7be2d
cmp dword [ebp - 0xc8], 0x9689
jl 0x100156c7
mov dword [ebp - 0xa8], 1
jmp 0x100156ce
and dword [ebp - 0xa8], 0
mov dword [ebp - 0x80], 0xfffffff7
cmp dword [ebp - 0x80], 0
jne 0x100156e2
push 8
pop eax
test eax, eax
je 0x100156f7
cmp dword [ebp - 0x90], 0
je 0x100156f7
mov dword [ebp - 0x88], 1
jmp 0x100156fe
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x10c]
cmp dword [ebp - 0x88], eax
jne 0x10015719
push 0
lea ecx, [ebp - 0x170]
call fcn.10019cac
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x114], eax
jg 0x10015733
mov dword [ebp - 0x98], 1
jmp 0x1001573a
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x98]
jl 0x10015758
mov dword [ebp - 0xa0], 1
jmp 0x1001575f
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x164]
jl 0x10015781
mov dword [ebp - 0xb0], 1
jmp 0x10015788
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb0]
jle 0x100157a2
mov dword [ebp - 0xb8], 1
jmp 0x100157a9
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0xb8], eax
jl 0x100157c3
mov dword [ebp - 0x124], 1
jmp 0x100157ca
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x1b4], eax
imul eax, dword [ebp - 0xc0], 0xfff9
cmp dword [ebp - 0xc8], eax
jl 0x100157f4
mov dword [ebp - 0xd0], 1
jmp 0x100157fb
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x164]
imul eax, dword [ebp - 0xd0]
cmp eax, 0x6be8
jne 0x10015827
or eax, 0xffffffff
je 0x10015827
mov dword [ebp - 0xd8], 1
jmp 0x1001582e
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0x1c250287
je 0x10015846
mov dword [ebp - 0xe0], 1
jmp 0x1001584d
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0x1b9b
je 0x10015865
mov dword [ebp - 0xe8], 1
jmp 0x1001586c
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x3e2be8ca
jl 0x10015884
mov dword [ebp - 0xf0], 1
jmp 0x1001588b
and dword [ebp - 0xf0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x164]
mov ecx, dword [ebp - 0xf0]
sub ecx, 8
sub ecx, dword [ebp - 0x12c]
sub eax, ecx
mov dword [ebp - 0x30], eax
jmp 0x100158db
mov dword [ebp - 0x30], 0
jmp 0x100158be
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x100158db
push dword [ebp - 0x30]
lea ecx, [ebp - 0x170]
call fcn.10019cac
cmp dword [eax], 0
je 0x100158d9
jmp 0x100158db
jmp 0x100158b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10019ca7
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret