Function at 0x10014f42
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push esi
and dword [ebp - 0x80], 0
mov dword [ebp - 0x28], 0x16df251d
mov dword [ebp - 0x30], 0
jmp 0x10014f7c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x10014f92
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x124], 0x4a8c6a53
jmp 0x10014f75
mov dword [ebp - 0x28], 0
jmp 0x10014fa2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x10015035
mov dword [ebp - 0x3c], 4
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10014fc9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x3c], 0
jmp 0x10014fd9
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x10015030
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x48], 0
jmp 0x10014ff6
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jg 0x1001502e
mov dword [ebp - 0x44], 0xe327439c
mov dword [ebp - 0x44], 0
jmp 0x10015013
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1001502c
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10014ed3
pop ecx
pop ecx
jmp 0x1001500c
jmp 0x10014fef
jmp 0x10014fd2
jmp 0x10014f9b
push 0x7299
push 0x7987
push 0x27d2
lea eax, [ebp - 0x28]
push eax
push 0x5d33
push 0x2762
push 0
push 0x349a
push 0x295c
push 0x5a3d
call fcn.10018905
add esp, 0x28
lea ecx, [ebp - 0x154]
call fcn.1001aae2
and dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0x5c8094a1
mov dword [ebp - 0x50], 0
jmp 0x10015091
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x100150a7
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x174], 0xfffffffd
jmp 0x1001508a
mov dword [ebp - 0x4c], 0
jmp 0x100150b7
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x100150d9
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x100150d7
push 0
push 0x3bf9
call fcn.10015934
pop ecx
pop ecx
jmp 0x100150b0
push 1
lea eax, [ebp + 0xc]
push eax
push 0x7e62
lea eax, [ebp - 0x154]
push eax
call fcn.10014e64
add esp, 0x10
mov dword [ebp - 0xc8], 0xc8094a18
mov dword [ebp - 0xf0], 0x36f6dd8d
mov dword [ebp - 0xec], 0x36f6dd8d
mov dword [ebp - 0xe8], 0x36f6dd8d
mov dword [ebp - 0xe4], 0x36f6dd8d
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x14], 0
jmp 0x1001513c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10015152
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x160], 0xfffffffa
jmp 0x10015135
mov dword [ebp - 0x14], 0
jmp 0x10015162
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x10015178
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x138], 0xfffffff8
jmp 0x1001515b
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xf0], 0xafb
jle 0x1001519d
cmp dword [ebp - 0xc8], 0
jne 0x1001519d
and dword [ebp - 0x90], 0
jmp 0x100151a7
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 3
jl 0x100151b9
mov dword [ebp - 0x74], 1
jmp 0x100151bd
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
add eax, 0x70ed99ea
je 0x100151e3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x138], 0
je 0x100151e3
mov dword [ebp - 0xbc], 1
jmp 0x100151ea
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x138]
cmp eax, dword [ebp - 0xbc]
jne 0x10015208
mov dword [ebp - 0x7c], 1
jmp 0x1001520c
and dword [ebp - 0x7c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x138]
cmp dword [ebp - 0x7c], eax
jg 0x1001522a
mov dword [ebp - 0xc4], 1
jmp 0x10015231
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0x93dda37b
je 0x10015246
mov dword [ebp - 0x54], 1
jmp 0x1001524a
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0xf0], ecx
cmp dword [ebp - 0x54], 0xfffffff6
jge 0x1001526c
mov dword [ebp - 0x84], 1
jmp 0x10015273
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 7
je 0x10015288
mov dword [ebp - 0xcc], 1
jmp 0x1001528f
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xcc]
jg 0x100152aa
mov dword [ebp - 0x6c], 1
jmp 0x100152ae
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x6c]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x160], eax
and dword [ebp - 0x24], 0
jmp 0x100152d1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0xc]
jae 0x100154b1
mov dword [ebp - 0x60], 0x77e8
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x34], 0
jmp 0x100152fe
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10015311
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x58], 0xfff6
jmp 0x100152f7
cmp dword [ebp - 0x60], 0
je 0x1001534b
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x10015346
push 0x48a9
push 0x6229
push 0
push 0x4c95
push 0x6012
push 0x4191
call fcn.10017557
add esp, 0x18
jmp 0x10015474
mov dword [ebp - 0x20], 0x63f9e923
mov dword [ebp - 0x38], 0x796840e
mov dword [ebp - 0xa8], 0xe819d338
cmp dword [ebp - 0x60], 0
jne 0x1001540a
mov eax, dword [ebp - 0x20]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x58]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x58]
je 0x10015393
mov dword [ebp - 0xb0], 1
jmp 0x1001539a
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xb0]
jg 0x100153b1
mov dword [ebp - 0x98], 1
jmp 0x100153b8
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffffb
jl 0x100153d3
mov dword [ebp - 0xc0], 1
jmp 0x100153da
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc0], eax
je 0x100153f1
mov dword [ebp - 0xa0], 1
jmp 0x100153f8
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0xa0], eax
jl 0x10015410
cmp dword [ebp - 0x38], 0
jne 0x10015414
cmp dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10015438
mov dword [ebp - 0xb8], 1
jmp 0x1001543f
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10015474
push 0x1adb
push 1
call fcn.10014ed3
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x24]
xor edx, edx
div dword [0x10096630]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.1000c7c8
push eax
lea ecx, [ebp - 0x154]
call fcn.1001ab74
jmp 0x100152ca
mov dword [ebp - 0x10], 0x6dd1e1e8
push 2
lea ecx, [ebp - 0xe0]
call fcn.1001abea
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0
jmp 0x100154d9
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x100154f5
push dword [ebp - 0x40]
lea ecx, [ebp - 0xe0]
call fcn.1001ac88
mov dword [eax], 0x999d94b4
jmp 0x100154d2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x10], 0xf2f4a8b1
mov dword [ebp - 0x10], 0xfffffff8
jmp 0x10015515
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe3
jle 0x10015767
mov dword [ebp - 0x2c], 0xfffffffc
push 4
lea ecx, [ebp - 0x114]
call fcn.1001abea
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x114]
push eax
push 0x2a00
lea eax, [ebp - 0x118]
push eax
push 0x1fcb
call fcn.10015837
add esp, 0x14
cmp dword [ebp - 0x10], 0
je 0x10015587
mov esi, dword [ebp - 0x2c]
push 0
lea ecx, [ebp - 0xe0]
call fcn.1001ac88
mov dword [eax], esi
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x15]
push eax
push 0
call fcn.10018700
pop ecx
pop ecx
jmp 0x10015753
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0xf8], 1
lea ecx, [ebp - 0x59]
call fcn.1000c653
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x17c]
call fcn.1001ac97
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x16c]
call fcn.1001ac46
mov byte [ebp - 4], 3
mov dword [ebp - 0xd4], 0xfffffff9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x108], eax
push 3
pop eax
sub eax, 0x4af7
cmp eax, dword [ebp - 0x68]
jne 0x10015621
mov dword [ebp - 0x88], 1
jmp 0x10015628
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
sub eax, 0x4fd5
cmp eax, 0xfffffff6
jne 0x10015644
mov dword [ebp - 0x8c], 1
jmp 0x1001564b
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x1dda
jg 0x10015669
cmp dword [ebp - 0x10], 0
je 0x10015669
mov dword [ebp - 0x94], 1
jmp 0x10015670
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
jge 0x1001568a
mov dword [ebp - 0x9c], 1
jmp 0x10015691
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0x2c4e
je 0x100156a9
mov dword [ebp - 0xa4], 1
jmp 0x100156b0
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xffffffff
jg 0x100156c5
mov dword [ebp - 0xac], 1
jmp 0x100156cc
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 1
jne 0x100156e1
mov dword [ebp - 0xb4], 1
jmp 0x100156e8
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xb4], eax
jg 0x100156fc
mov dword [ebp - 0x70], 1
jmp 0x10015700
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
lea eax, [ecx + eax - 5]
cmp dword [ebp - 0x2c], eax
je 0x10015718
mov dword [ebp - 0x78], 1
jmp 0x1001571c
and dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.1001ac88
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
lea eax, [ebp - 0xd4]
push eax
push 0
push 0x47bb
call fcn.10017782
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.1001ac6c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.1001ac6c
jmp 0x1001550e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.1001ac6c
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001aaf3
mov eax, dword [ebp - 0x80]
or eax, 1
mov dword [ebp - 0x80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.1001ab4c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret