Function at 0x10002af0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049ca4
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x10060058]
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
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0xf
mov byte [ebp - 0x2cc], 0
mov dword [ebp - 4], 0
lea esi, [ecx + 1]
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0xf
mov byte [ebp - 0x284], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002b77
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x284]
call fcn.10001db0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0xf
mov byte [ebp - 0x29c], 0
mov byte [ebp - 4], 3
lea edi, [ebp - 0x284]
cmp dword [ebp - 0x270], 0x10
mov eax, dword [ebp - 0x274]
cmovae edi, dword [ebp - 0x284]
test eax, eax
je 0x10002c0f
push eax
push 0x3a
push edi
call fcn.10029330
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10002c0f
sub esi, edi
jmp 0x10002c12
or esi, 0xffffffff
cmp dword [ebp - 0x274], esi
lea eax, [ebp - 0x284]
mov ecx, esi
mov dword [ebp - 0x368], 0
cmovb ecx, dword [ebp - 0x274]
cmp dword [ebp - 0x270], 0x10
push ecx
cmovae eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x368]
push eax
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0xf
call fcn.10001db0
mov edx, dword [ebp - 0x2a0]
cmp edx, 0x10
jb 0x10002c9a
mov ecx, dword [ebp - 0x2b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002c90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
movups xmm0, xmmword [ebp - 0x368]
mov eax, dword [ebp - 0x274]
inc esi
mov dword [ebp - 0x368], 0
movups xmmword [ebp - 0x2b4], xmm0
movq xmm0, qword [ebp - 0x358]
lea ecx, [eax - 1]
movq qword [ebp - 0x2a4], xmm0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0xf
cmp eax, esi
jb 0x100035f8
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x270], 0x10
lea eax, [ebp - 0x284]
cmovae eax, dword [ebp - 0x284]
push ecx
add eax, esi
lea ecx, [ebp - 0x368]
push eax
call fcn.10001db0
mov edx, dword [ebp - 0x288]
cmp edx, 0x10
jb 0x10002d4c
mov ecx, dword [ebp - 0x29c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002d42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
movups xmm0, xmmword [ebp - 0x368]
xor eax, eax
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x32c], eax
movups xmmword [ebp - 0x29c], xmm0
mov dword [ebp - 0x314], eax
movq xmm0, qword [ebp - 0x358]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2e4], eax
movq qword [ebp - 0x28c], xmm0
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
mov word [ebp - 0x344], ax
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], 7
mov word [ebp - 0x32c], ax
mov dword [ebp - 0x304], eax
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.1002c5af
cmp dword [ebp - 0x2a0], 0x10
lea esi, [ebp - 0x2b4]
mov dword [ebp - 0x34c], eax
cmovae esi, dword [ebp - 0x2b4]
mov dword [eax], 0
lea eax, [ebp - 0x350]
push 0xa
push eax
push esi
call fcn.1002c4e2
add esp, 0xc
mov edi, eax
cmp esi, dword [ebp - 0x350]
je 0x100035fd
mov eax, dword [ebp - 0x34c]
cmp dword [eax], 0x22
je 0x10003625
mov dword [ebp - 4], 4
cmp edi, 1
je 0x10002e7e
cmp edi, 2
je 0x10002e7e
cmp edi, 0xb
je 0x10002e7e
mov eax, dword [ebp - 0x34c]
jmp 0x1000313c
push 0x258
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.100291d0
cmp dword [ebp - 0x288], 0x10
lea eax, [ebp - 0x29c]
push 0x122
cmovae eax, dword [ebp - 0x29c]
push eax
push 0x12c
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.1002c845
add esp, 0x20
test eax, eax
je 0x10002fc6
lea ecx, [ebp - 0x344]
call fcn.10002650
mov edx, dword [ebp - 0x288]
cmp edx, 0x10
jb 0x10002f13
mov ecx, dword [ebp - 0x29c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002f09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0xf
mov byte [ebp - 0x29c], 0
cmp edx, 0x10
jb 0x10002f68
mov ecx, dword [ebp - 0x2b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002f5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
cmp edx, 0x10
jb 0x100035dc
mov ecx, dword [ebp - 0x284]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002fb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
jmp 0x100035dc
xor eax, eax
mov dword [ebp - 0x368], 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 7
lea edx, [ecx + 2]
mov word [ebp - 0x368], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002ff6
sub ecx, edx
lea eax, [ebp - 0x26c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x368]
call fcn.100072c0
lea edx, [ebp - 0x368]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3e4]
call fcn.10002130
push eax
lea ecx, [ebp - 0x344]
call fcn.10003660
lea ecx, [ebp - 0x3e4]
call fcn.10002650
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x354]
cmp edx, 8
jb 0x10003088
mov ecx, dword [ebp - 0x368]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000307e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003607
push edx
push ecx
call fcn.1002739f
add esp, 8
cmp dword [ebp - 0x2d4], 0
jne 0x100030df
cmp dword [ebp - 0x300], 8
lea esi, [ebp - 0x314]
cmovae esi, dword [ebp - 0x314]
cmp dword [ebp - 0x304], 5
jne 0x100030d8
mov ecx, str.https
mov edx, 5
sub esi, ecx
nop word [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x100030d8
add ecx, 2
sub edx, 1
jne 0x100030c0
mov eax, 0x1bb
jmp 0x10003135
mov eax, 0x50
jmp 0x10003135
mov byte [ebp - 4], 8
call fcn.1002c5af
cmp dword [ebp - 0x2d0], 8
lea esi, [ebp - 0x2e4]
mov dword [ebp - 0x350], eax
cmovae esi, dword [ebp - 0x2e4]
mov dword [eax], 0
lea eax, [ebp - 0x34c]
push 0xa
push eax
push esi
call fcn.1002c50c
add esp, 0xc
cmp esi, dword [ebp - 0x34c]
je 0x1000360c
mov ecx, dword [ebp - 0x350]
cmp dword [ecx], 0x22
je 0x10003625
mov dword [ebp - 4], 4
dec edi
cmp edi, 0xa
ja case.0x10003146.3
jmp dword [edi*4 + 0x10003630]
sub esp, 0x18
movzx esi, ax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x34c], esp
mov ecx, esp
push eax
call fcn.10005470
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x350], esp
mov ecx, esp
push eax
call fcn.10005470
mov byte [ebp - 4], 0xb
jmp 0x10003435
sub esp, 0x18
movzx esi, ax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x36c], esp
mov ecx, esp
push eax
call fcn.10005470
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x34c], esp
mov ecx, esp
push eax
call fcn.10005470
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2fc]
mov ecx, esp
push eax
call fcn.10005470
mov edx, 1
jmp 0x10003448
push ecx
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x368]
call fcn.10001130
lea ecx, [ebp - 0x2cc]
add esp, 4
cmp ecx, eax
je 0x10003226
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 edx, dword [ebp - 0x354]
cmp edx, 0x10
jb 0x10003260
mov ecx, dword [ebp - 0x368]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003256
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003616
push edx
push ecx
call fcn.1002739f
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x2cc]
mov ecx, esp
push eax
call fcn.10001ae0
call fcn.100097b0
add esp, 0x18
jmp case.0x10003146.3
sub esp, 0x18
lea eax, [ebp - 0x29c]
mov ecx, esp
push eax
call fcn.10001ae0
call fcn.1000f520
add esp, 0x18
jmp case.0x10003146.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.0x10003146.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.0x10003146.3
push 0x14
xor eax, eax
mov dword [ebp - 0x368], 0
push str.c:programdata_audio
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 7
mov word [ebp - 0x368], ax
call fcn.100072c0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x368]
cmp dword [ebp - 0x354], 8
push 0x104
cmovae eax, dword [ebp - 0x368]
push 0x100633d0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x100033b6
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x354]
cmp edx, 8
jb 0x100033ac
mov ecx, dword [ebp - 0x368]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100033a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000361b
push edx
push ecx
call fcn.1002739f
add esp, 8
call fcn.100081f0
jmp case.0x10003146.3
mov ecx, 0x100633d0
call fcn.10007ed0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x354]
cmp edx, 8
jb 0x100033ac
mov ecx, dword [ebp - 0x368]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100033a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000361b
jmp 0x100033a2
sub esp, 0x18
movzx esi, ax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x36c], esp
mov ecx, esp
push eax
call fcn.10005470
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x34c], esp
mov ecx, esp
push eax
call fcn.10005470
mov byte [ebp - 4], 0x10
sub esp, 0x18
lea eax, [ebp - 0x2fc]
mov ecx, esp
push eax
call fcn.10005470
xor edx, edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1000df80
add esp, 0x48
lea ecx, [ebp - 0x344]
call fcn.10002650
mov edx, dword [ebp - 0x288]
cmp edx, 0x10
jb 0x1000349b
mov ecx, dword [ebp - 0x29c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003491
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0xf
mov byte [ebp - 0x29c], 0
cmp edx, 0x10
jb 0x100034f0
mov ecx, dword [ebp - 0x2b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100034e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
cmp edx, 0x10
jb 0x10003545
mov ecx, dword [ebp - 0x284]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000353b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0xf
mov byte [ebp - 0x284], 0
cmp edx, 0x10
jb 0x100035dc
mov ecx, dword [ebp - 0x2cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002fb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003620
jmp 0x10002fb7
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.1002736e
mov esp, ebp
pop ebp
ret
call fcn.10001350
push str.invalid_stoi_argument
call fcn.1000f8c4
call fcn.1002ba9f
push str.invalid_stoi_argument
call fcn.1000f8c4
call fcn.1002ba9f
call fcn.1002ba9f
call fcn.1002ba9f
push str.stoi_argument_out_of_range
call fcn.1000f904
nop
dec ebp
xor dword [eax], eax
adc byte [ebx + 0x56100031], cl
xor al, 0
adc byte [esi + 0x34], dl
add byte [eax], dl
push esi
xor al, 0
adc bh, bl
xor dword [eax], eax
adc byte [esi + 0x32], bh
add byte [eax], dl
pushfd
xor al, byte [eax]
adc bh, cl
xor al, byte [eax]
adc byte [edx], al
xor eax, dword [eax]
adc ah, bh
xor eax, dword [eax]
adc ah, cl
int3