Function at 0x10002c60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c914
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x1005f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], 0
movups xmmword [ebp - 0x2cc], xmm0
mov dword [ebp - 0x2b8], 0xf
mov byte [ebp - 0x2cc], 0
mov dword [ebp - 4], 0
lea esi, [ecx + 1]
movups xmmword [ebp - 0x29c], xmm0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002ce0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x29c]
call fcn.10001d70
xorps xmm0, xmm0
mov dword [ebp - 0x2a4], 0
movups xmmword [ebp - 0x2b4], xmm0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
movups xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0xf
mov byte [ebp - 0x284], 0
mov byte [ebp - 4], 3
lea edi, [ebp - 0x29c]
cmp dword [ebp - 0x288], 0xf
mov eax, dword [ebp - 0x28c]
cmova edi, dword [ebp - 0x29c]
test eax, eax
je 0x10002d75
push eax
push 0x3a
push edi
call fcn.1002b220
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10002d75
sub esi, edi
jmp 0x10002d78
or esi, 0xffffffff
cmp dword [ebp - 0x28c], esi
lea eax, [ebp - 0x29c]
mov ecx, esi
mov dword [ebp - 0x358], 0
cmovb ecx, dword [ebp - 0x28c]
xorps xmm0, xmm0
cmp dword [ebp - 0x288], 0xf
push ecx
cmova eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x368]
push eax
movups xmmword [ebp - 0x368], xmm0
mov dword [ebp - 0x354], 0
call fcn.10001d70
mov ecx, dword [ebp - 0x2a0]
cmp ecx, 0xf
jbe 0x10002e00
mov edx, dword [ebp - 0x2b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002df6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
movups xmm0, xmmword [ebp - 0x368]
mov eax, dword [ebp - 0x28c]
inc esi
movups xmmword [ebp - 0x2b4], xmm0
movq xmm0, qword [ebp - 0x358]
lea ecx, [eax - 1]
movq qword [ebp - 0x2a4], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0
movups xmmword [ebp - 0x368], xmm0
cmp eax, esi
jb 0x10003749
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x288], 0xf
lea eax, [ebp - 0x29c]
cmova eax, dword [ebp - 0x29c]
push ecx
add eax, esi
lea ecx, [ebp - 0x368]
push eax
call fcn.10001d70
mov ecx, dword [ebp - 0x270]
cmp ecx, 0xf
jbe 0x10002eb2
mov edx, dword [ebp - 0x284]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002ea8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
movups xmm0, xmmword [ebp - 0x368]
xor eax, eax
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
movups xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x31c], eax
movq xmm0, qword [ebp - 0x358]
movq qword [ebp - 0x274], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x344], xmm0
mov word [ebp - 0x344], ax
movups xmmword [ebp - 0x32c], xmm0
mov dword [ebp - 0x318], 7
movups xmmword [ebp - 0x314], xmm0
mov word [ebp - 0x32c], ax
movups xmmword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x304], eax
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x300], 7
mov word [ebp - 0x314], ax
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2e8], 7
mov word [ebp - 0x2fc], ax
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
mov byte [ebp - 4], 5
call fcn.1002edc8
cmp dword [ebp - 0x2a0], 0xf
lea esi, [ebp - 0x2b4]
mov dword [ebp - 0x34c], eax
cmova esi, dword [ebp - 0x2b4]
mov dword [eax], 0
lea eax, [ebp - 0x350]
push 0xa
push eax
push esi
call fcn.1002ec9f
add esp, 0xc
mov edi, eax
cmp esi, dword [ebp - 0x350]
je 0x1000374e
mov eax, dword [ebp - 0x34c]
cmp dword [eax], 0x22
je 0x10003758
jmp 0x10002fcf
mov dword [ebp - 4], 4
cmp edi, 1
je 0x10002ff0
cmp edi, 2
je 0x10002ff0
cmp edi, 0xb
je 0x10002ff0
mov eax, dword [ebp - 0x34c]
jmp 0x10003254
push 0x258
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.1002b0c0
cmp dword [ebp - 0x270], 0xf
lea eax, [ebp - 0x284]
push 0x122
cmova eax, dword [ebp - 0x284]
push eax
push 0x12c
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.1002f07e
add esp, 0x20
test eax, eax
je 0x1000314b
lea ecx, [ebp - 0x344]
call fcn.100028a0
mov ecx, dword [ebp - 0x270]
cmp ecx, 0xf
jbe 0x10003085
mov edx, dword [ebp - 0x284]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000307b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0xf
mov byte [ebp - 0x284], 0
cmp ecx, 0xf
jbe 0x100030da
mov edx, dword [ebp - 0x2b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100030d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
cmp ecx, 0xf
jbe 0x1000312f
mov edx, dword [ebp - 0x29c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003125
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002928e
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x358], 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x354], 0
movups xmmword [ebp - 0x368], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003172
sub ecx, edx
lea eax, [ebp - 0x26c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x368]
call fcn.10007b00
lea edx, [ebp - 0x368]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3e4]
call fcn.10002090
push eax
lea ecx, [ebp - 0x344]
call fcn.100037c0
lea ecx, [ebp - 0x3e4]
call fcn.100028a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x354]
cmp ecx, 7
jbe 0x10003204
mov edx, dword [ebp - 0x368]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100031fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003762
push ecx
push edx
call fcn.100292bf
add esp, 8
cmp dword [ebp - 0x2d4], 0
jne 0x1000326c
cmp dword [ebp - 0x300], 7
lea esi, [ebp - 0x314]
mov edx, dword [ebp - 0x304]
cmova esi, dword [ebp - 0x314]
cmp edx, 5
jne 0x10003265
mov ecx, str.https
test edx, edx
je 0x10003248
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10003265
add ecx, 2
sub edx, 1
jne 0x10003237
mov eax, 0x1bb
mov dword [ebp - 4], 4
dec edi
cmp edi, 0xa
ja case.0x1000325e.3
jmp dword [edi*4 + 0x10003788]
mov eax, 0x50
jmp 0x1000324d
mov byte [ebp - 4], 8
call fcn.1002edc8
cmp dword [ebp - 0x2d0], 7
lea esi, [ebp - 0x2e4]
mov dword [ebp - 0x350], eax
cmova esi, dword [ebp - 0x2e4]
mov dword [eax], 0
lea eax, [ebp - 0x34c]
push 0xa
push eax
push esi
call fcn.1002ece5
add esp, 0xc
cmp esi, dword [ebp - 0x34c]
je 0x10003767
mov ecx, dword [ebp - 0x350]
cmp dword [ecx], 0x22
je 0x10003771
jmp 0x1000324d
sub esp, 0x18
movzx esi, ax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x34c], esp
mov ecx, esp
push eax
call fcn.10005590
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x350], esp
mov ecx, esp
push eax
call fcn.10005590
mov byte [ebp - 4], 0xb
jmp 0x100035e5
sub esp, 0x18
movzx esi, ax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x36c], esp
mov ecx, esp
push eax
call fcn.10005590
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x34c], esp
mov ecx, esp
push eax
call fcn.10005590
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2fc]
mov ecx, esp
push eax
call fcn.10005590
mov edx, 1
jmp 0x100035f8
push ecx
lea edx, [ebp - 0x284]
lea ecx, [ebp - 0x368]
call fcn.10001130
lea ecx, [ebp - 0x2cc]
add esp, 4
cmp ecx, eax
je 0x100033df
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2cc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2bc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x354]
cmp ecx, 0xf
jbe 0x10003419
mov edx, dword [ebp - 0x368]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000340f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000377b
push ecx
push edx
call fcn.100292bf
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x2cc]
mov ecx, esp
push eax
call fcn.10001a40
call fcn.10009dd0
add esp, 0x18
jmp case.0x1000325e.3
sub esp, 0x18
lea eax, [ebp - 0x284]
mov ecx, esp
push eax
call fcn.10001a40
call fcn.10010130
add esp, 0x18
jmp case.0x1000325e.3
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x11
call esi
push 0
push 0
push 0
push 0x52
call esi
push 0
push 2
push 0
push 0x52
call esi
push 0
push 2
push 0
push 0x11
call esi
jmp case.0x1000325e.3
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x11
call esi
push 0
push 0
push 0
push 0x57
call esi
push 0
push 2
push 0
push 0x57
call esi
push 0
push 2
push 0
push 0x11
call esi
jmp case.0x1000325e.3
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x358], 0
push str.c:programdata_audio
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x354], 0
movups xmmword [ebp - 0x368], xmm0
call fcn.10007b00
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x368]
cmp dword [ebp - 0x354], 7
push 0x104
cmova eax, dword [ebp - 0x368]
push 0x100622d0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10003566
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x354]
cmp ecx, 7
jbe 0x1000355c
mov edx, dword [ebp - 0x368]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003552
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003780
push ecx
push edx
call fcn.100292bf
add esp, 8
call fcn.100085f0
jmp case.0x1000325e.3
mov ecx, 0x100622d0
call fcn.100082d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x354]
cmp ecx, 7
jbe 0x1000355c
mov edx, dword [ebp - 0x368]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003552
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003780
jmp 0x10003552
sub esp, 0x18
movzx esi, ax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x36c], esp
mov ecx, esp
push eax
call fcn.10005590
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x34c], esp
mov ecx, esp
push eax
call fcn.10005590
mov byte [ebp - 4], 0x10
sub esp, 0x18
lea eax, [ebp - 0x2fc]
mov ecx, esp
push eax
call fcn.10005590
xor edx, edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1000eb70
add esp, 0x48
lea ecx, [ebp - 0x344]
call fcn.100028a0
mov ecx, dword [ebp - 0x270]
cmp ecx, 0xf
jbe 0x1000364b
mov edx, dword [ebp - 0x284]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003641
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0xf
mov byte [ebp - 0x284], 0
cmp ecx, 0xf
jbe 0x100036a0
mov edx, dword [ebp - 0x2b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
cmp ecx, 0xf
jbe 0x100036f1
mov edx, dword [ebp - 0x29c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100036e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003744
push ecx
push edx
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0xf
mov byte [ebp - 0x29c], 0
cmp ecx, 0xf
jbe 0x1000312f
mov edx, dword [ebp - 0x2cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003125
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003125
call fcn.1002e25f
call fcn.10001240
push str.invalid_stoi_argument
call fcn.1001060a
push str.stoi_argument_out_of_range
call fcn.1001064a
call fcn.1002e25f
push str.invalid_stoi_argument
call fcn.1001060a
push str.stoi_argument_out_of_range
call fcn.1001064a
call fcn.1002e25f
call fcn.1002e25f
nop dword [eax]
push es
xor eax, dword [eax]
adc byte [ebx + esi], al
adc byte [esi], al
add byte ss:[eax], dl
push es
add byte ss:[eax], dl
push es
add byte ss:[eax], dl
cwde
xor eax, dword [eax]
adc byte [edi], dh
xor al, 0
adc byte [ebp + 0x34], dl
add byte [eax], dl
mov byte [eax + eax], dh
adc byte [ebx - 1408237516], bh
xor eax, 0xcccc1000
int3