Function at 0x1014408c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2a0
mov edi, dword [ebp + 0xc]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esp + 0x298], eax
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
call fcn.10144a10
test al, al
je 0x10144102
movzx ecx, byte [edi + 0xb]
mov eax, ecx
test cl, cl
jns 0x101440d9
mov eax, dword [edi + 4]
xor edx, edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], edx
cmp eax, 0x10
jae 0x10144130
mov dword [esp + 0xc], 0
jmp 0x101441f1
lea eax, [esp + 0x80]
mov ecx, edi
mov edx, str.Microsoft.MicrosoftEdge.
push eax
push 0x18
call 0x10144827
add esp, 8
mov dword [esp + 0xc], 2
test al, al
je 0x101441f1
jmp 0x10144325
mov dword [esp + 0xc], 0
mov edx, edi
test cl, cl
jns 0x10144140
mov edx, dword [edi]
lea esi, [edx + eax*2]
add esi, 0xffffffe8
push 0xc
push str.Application
push esi
call fcn.10216dd3
add esp, 0xc
movzx ecx, byte [edi + 0xb]
test eax, eax
je 0x10144177
test cl, cl
mov eax, dword [edi]
mov edx, edi
cmovs edx, eax
cmp esi, edx
lea edx, [esi - 2]
mov esi, edx
jne 0x10144146
add edx, 2
mov esi, edx
jmp 0x1014417c
mov eax, dword [edi]
add esi, 2
test cl, cl
mov ebx, edi
cmovs ebx, eax
cmp esi, ebx
je 0x101441f1
test cl, cl
mov edx, dword [edi + 4]
mov edi, ecx
cmovs edi, edx
lea edi, [ebx + edi*2]
sub edi, esi
cmp edi, 0x16
je 0x101441a2
cmp word [esi + 0x16], 0x5c
jne 0x101441b9
lea edi, [esi - 2]
cmp edi, ebx
je 0x101441c0
cmp word [edi - 2], 0x5c
je 0x101441be
add edi, 0xfffffffe
cmp ebx, edi
jne 0x101441a9
jmp 0x101441c0
mov edi, dword [ebp + 0xc]
jmp 0x101441f1
mov ebx, edi
test cl, cl
mov edi, dword [ebp + 0xc]
js 0x101441d2
cmp ebx, edi
jne 0x101441dd
lea ebx, [edi + ecx*2]
mov edx, ecx
jmp 0x101441d9
cmp ebx, eax
jne 0x101441dd
lea ebx, [eax + edx*2]
add edx, edx
sub ebx, edx
push 4
push str.Edge
push ebx
call fcn.10216dd3
add esp, 0xc
test eax, eax
je 0x1014426b
lea eax, [esp + 0x80]
mov ecx, edi
mov edx, str.Microsoft.WebView2Runtime.
push eax
push 0x1a
call 0x10144827
add esp, 8
mov ebx, eax
test al, al
je 0x10144229
mov dword [esp + 0x14], 0
call fcn.10144a10
mov ecx, ebx
xor cl, 1
and cl, al
jmp 0x10144380
mov ecx, edi
push 0xffffffffffffffff
push 0x5c
call fcn.10141cd6
cmp eax, 0xffffffff
je 0x10144325
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x10144247
mov ecx, dword [edi]
lea eax, [ecx + eax*2]
add eax, 2
push str.msedgewebview2.exe
push eax
call fcn.10216dd3
add esp, 8
test eax, eax
jne 0x10144325
mov al, 1
mov dword [esp + 0x14], eax
jmp 0x10144218
sub esi, ebx
add esi, 0xfffffffe
sar esi, 1
lea ecx, [esi - 4]
cmp ecx, 0x7ffffff0
jae 0x1014481b
cmp ecx, 5
jae 0x10144296
lea edi, [esp + 0x90]
mov byte [edi + 0xb], cl
test ecx, ecx
jne 0x101442cd
jmp 0x101442dd
lea edi, [esi + 4]
and edi, 0xfffffff8
mov dword [esp + 0x10], ecx
lea eax, [edi + edi]
push eax
call fcn.10216dd3
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
or edi, 0x80000000
mov dword [esp + 0x98], edi
mov edi, eax
mov dword [esp + 0x94], ecx
add ebx, 8
add ecx, ecx
push ecx
push ebx
push edi
call fcn.10208400
add esp, 0xc
mov word [edi + esi*2 - 8], 0
cmp byte [esp + 0x8b], 0
jns 0x101442fd
push dword [esp + 0x80]
call fcn.10205096
add esp, 4
mov eax, dword [esp + 0x98]
mov dword [esp + 0x88], eax
movq xmm0, qword [esp + 0x90]
movq qword [esp + 0x80], xmm0
mov dword [esp + 0xc], 3
cmp byte [esp + 0x8b], 0
jns 0x10144338
mov eax, dword [esp + 0x80]
jmp 0x1014433f
lea eax, [esp + 0x80]
push str.WebView
push eax
call fcn.10216dd3
add esp, 8
mov edi, eax
call fcn.10144a10
mov ecx, eax
xor ebx, ebx
test edi, edi
je 0x10144378
mov dword [esp + 0x1c], 0
mov edi, 5
mov esi, 0x1029bd38
mov dword [esp + 0x14], 0
jmp 0x1014438c
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ebx
xor edi, edi
inc edi
mov esi, 0x1029c234
xor cl, 1
mov byte [esp + 0x18], cl
movzx ebx, cl
mov dword [esp + 0x10], esi
cmp byte [esp + 0x8b], 0
lea eax, [esp + 0x80]
jns 0x101443b2
mov eax, dword [esp + 0x80]
push dword [esi + ebx*4 + 0x10]
push eax
call fcn.10216dd3
add esp, 8
test eax, eax
je 0x101443d2
add esi, 0xb8
dec edi
jne 0x1014439a
mov esi, dword [esp + 0x10]
jmp 0x101443da
test esi, esi
je 0x1014456c
push 0x68
call fcn.10216dd3
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.101433ea
cmp byte [esi + 0xa0], 0
mov dword [esp + 0x10], edi
je 0x101444e1
mov ecx, 0
cmp byte [esp + 0x18], 0
jne 0x101444e3
lea eax, [esp + 0x92]
push 0x206
push 0xff
push eax
call fcn.10208980
add esp, 0xc
mov ebx, 0x10263900
mov eax, dword [ebx]
mov word [esp + 0x90], 0
push 0x104
lea ecx, [esp + 0x94]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x101444ca
mov edi, eax
sub edi, 1
jb 0x101444ca
cmp word [esp + eax*2 + 0x8e], 0x5c
mov eax, edi
je 0x1014445a
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x1014447a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x94]
push ecx
push eax
call fcn.10216dd3
add esp, 0xc
test eax, eax
jne 0x101444ca
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xb]
test al, al
js 0x101444ae
mov ecx, edi
sub ecx, eax
mov eax, edx
cmp ecx, 0xffffffff
jne 0x101444be
jmp 0x10144814
mov eax, edi
sub eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x10144814
mov eax, dword [edx]
cmp word [eax + edi*2 + 2], 0x5c
je 0x10144814
add ebx, 4
cmp ebx, str.PROGRAMFILES
jne 0x1014442d
xor ecx, ecx
mov edi, dword [esp + 0x10]
jmp 0x101444e3
xor ecx, ecx
mov dword [edi + 0x40], esi
mov eax, dword [esp + 0xc]
mov dword [edi + 0x60], eax
mov dword [esp + 0x18], ecx
mov byte [edi + 0x5c], cl
mov eax, dword [esp + 0x14]
mov byte [edi + 0x5d], al
xor eax, eax
dec eax
lea ebx, [esp + 0x74]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push dword [esi + 0x1c]
push ebx
call fcn.101991bc
add esp, 8
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x70], eax
cmp byte [ebx + 0xb], 0
jns 0x10144536
mov ebx, dword [esp + 0x74]
movzx edi, byte [esp + 0x18]
mov eax, 2
sub eax, edi
lea ecx, [esp + 0x68]
push ecx
push str.channel
push ebx
push 0x200
push eax
call fcn.10199d7e
add esp, 0x14
test al, al
je 0x10144582
cmp byte [esp + 0x73], 0
js 0x1014457a
lea eax, [esp + 0x68]
jmp 0x1014457e
mov esi, dword [ebp + 8]
mov dword [esi], 0
jmp 0x101447cf
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
xor ebx, ebx
lea ecx, [esp + 0x58]
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
lea eax, [esp + 0x48]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x90]
movdqa xmmword [edx], xmm0
mov dword [edx + 0x10], 0xffffffff
push eax
push ecx
push dword [esp + 0x14]
push edi
push esi
push edx
call fcn.10143a77
add esp, 0x18
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
cmp byte [esp + 0x1c], 0
je 0x101446ba
mov edi, dword [esi + 0x14]
push edi
call fcn.10216dd3
add esp, 4
movzx ecx, byte [esp + 0x8b]
test cl, cl
jns 0x101445f9
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jne 0x10144617
lea ecx, [esp + 0x80]
push eax
push edi
push 0xffffffffffffffff
push 0
call fcn.10141e0a
test eax, eax
je 0x10144800
lea eax, [esp + 0x80]
lea esi, [esp + 0x38]
mov ecx, esi
push eax
call fcn.1002df96
cmp byte [esi + 0xb], 0
jns 0x10144634
mov esi, dword [esp + 0x38]
add word [esi], 0x20
cmp byte [esp + 0x43], 0
js 0x10144655
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
movq xmm0, qword [esp + 0x38]
movq qword [esp + 0x20], xmm0
jmp 0x10144666
lea ecx, [esp + 0x20]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10141542
lea esi, [esp + 0x2c]
mov dword [esi], 0
mov byte [esi + 4], 0
cmp byte [esp + 0x9b], 0
jns 0x1014468d
push dword [esp + 0x90]
call fcn.10205096
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x98], eax
movq xmm0, qword [esp + 0x20]
movq qword [esp + 0x90], xmm0
mov eax, dword [esi]
mov dword [esp + 0x9c], eax
mov al, byte [esi + 4]
mov byte [esp + 0xa0], al
mov edi, dword [esp + 0x10]
lea esi, [edi + 8]
mov ecx, esi
lea eax, [esp + 0x90]
push eax
call fcn.1002df96
movzx eax, byte [edi + 0x13]
test al, al
js 0x101446dd
mov dword [edi + 0x44], esi
jmp 0x101446e6
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x9c]
mov dword [edi + 0x4c], eax
cmp eax, 2
jne 0x10144712
lea esi, [edi + 0x14]
mov ecx, esi
lea eax, [esp + 0x68]
push eax
call fcn.1002df96
cmp byte [edi + 0x1f], 0
jns 0x1014470f
mov esi, dword [esi]
mov dword [edi + 0x50], esi
mov al, byte [esp + 0xa0]
mov byte [edi + 0x64], al
lea esi, [edi + 0x20]
mov ecx, esi
lea eax, [esp + 0x58]
push eax
call fcn.1002df96
cmp byte [edi + 0x2b], 0
jns 0x10144733
mov esi, dword [esi]
mov dword [edi + 0x54], esi
mov esi, edi
add esi, 0x2c
mov ecx, esi
lea eax, [esp + 0x48]
push eax
call fcn.1002df96
cmp byte [edi + 0x37], 0
jns 0x1014474f
mov esi, dword [esi]
mov dword [edi + 0x58], esi
mov esi, dword [ebp + 8]
mov dword [esi], edi
cmp byte [esp + 0x43], 0
jns 0x1014476a
push dword [esp + 0x38]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x10144783
push dword [esp + 0x90]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x10144796
push dword [esp + 0x48]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x63], 0
jns 0x101447a9
push dword [esp + 0x58]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x73], 0
jns 0x101447bc
push dword [esp + 0x68]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x7f], 0
jns 0x101447cf
push dword [esp + 0x74]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x8b], 0
jns 0x101447e8
push dword [esp + 0x80]
call fcn.10205096
add esp, 4
mov ecx, dword [esp + 0x298]
xor ecx, ebp
call fcn.10205d16
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x38]
push dword [esi + 0x98]
call fcn.10036cb0
jmp 0x101446ba
mov cl, 1
jmp 0x101444db
lea ecx, [esp + 0x90]
call fcn.101407c4
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x24], edx
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xb], 0
jns 0x10144852
push dword [esi]
call fcn.10205096
add esp, 4
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
movzx ebx, byte [edi + 0xb]
test bl, bl
js 0x10144883
lea eax, [ecx + 8]
cmp eax, ebx
ja 0x1014495e
push dword [ebp - 0x24]
call fcn.10216dd3
add esp, 4
mov esi, ebx
mov edx, edi
jmp 0x1014489e
mov esi, dword [edi + 4]
lea eax, [ecx + 8]
cmp esi, eax
jb 0x1014495e
push dword [ebp - 0x24]
call fcn.10216dd3
add esp, 4
mov edx, dword [edi]
test eax, eax
je 0x1014493b
cmp esi, eax
jl 0x1014495e
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x24]
movzx ecx, word [ecx]
mov word [ebp - 0x2e], cx
lea ecx, [edx + esi*2 - 2]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], esi
mov edi, esi
mov dword [ebp - 0x20], edx
mov ebx, edi
sub ebx, eax
xor esi, esi
inc ebx
je 0x1014495e
inc edi
mov ecx, dword [ebp - 0x20]
movzx ebx, word [ebp - 0x2e]
cmp word [ecx + esi], bx
je 0x101448f2
add esi, 2
dec edi
cmp eax, edi
jne 0x101448e2
jmp 0x1014495e
mov dword [ebp - 0x34], edx
add ecx, esi
mov dword [ebp - 0x40], ecx
je 0x1014495e
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x10144992
mov ecx, dword [ebp - 0x40]
movzx edx, word [ecx + ebx*2]
lea ecx, [ebx + 1]
mov edi, dword [ebp - 0x24]
cmp dx, word [edi + ebx*2]
mov ebx, ecx
je 0x101448ff
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
sub edi, ecx
add ecx, esi
add ecx, 2
sub edi, esi
sar edi, 1
xor ebx, ebx
mov dword [ebp - 0x20], ecx
cmp edi, eax
mov edx, dword [ebp - 0x34]
jge 0x101448cd
jmp 0x10144960
xor edx, edx
mov eax, dword [ebp + 8]
add edx, eax
mov ecx, edi
test bl, bl
jns 0x1014494d
mov ebx, dword [edi + 4]
mov ecx, dword [edi]
cmp ebx, edx
jb 0x1014495e
lea esi, [ecx + ebx*2]
lea eax, [ecx + edx*2]
sub esi, eax
cmp esi, 2
jge 0x10144974
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
shr esi, 1
mov edi, edx
lea eax, [edx + edx]
xor ebx, ebx
cmp word [ecx + eax], 0x5f
je 0x101449bb
add eax, 2
dec esi
jne 0x10144983
jmp 0x10144960
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
lea eax, [edx + eax*2]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
xor ebx, ebx
cmp eax, esi
je 0x10144960
sub ecx, edx
add ecx, esi
cmp ecx, 0xfffffffe
je 0x10144960
mov edx, ecx
sar edx, 1
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
jmp 0x1014493d
add ecx, eax
je 0x1014495e
mov edx, dword [ebp - 0x2c]
add edx, edx
xor ebx, ebx
cmp edx, eax
je 0x10144960
cmp eax, 0xfffffffe
je 0x10144960
sar eax, 1
mov esi, edi
sub eax, edi
mov edi, dword [ebp - 0x28]
lea edx, [edi + 0xc]
lea ecx, [ebp - 0x1c]
push edx
push eax
push esi
push edi
call fcn.101419a4
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0xb], 0
jns 0x101449fa
push dword [esi]
call fcn.10205096
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
mov bl, 1
jmp 0x10144960