Function at 0x1c3ce40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x25c
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x210
call fcn.01c9515a
add esp, 4
mov esi, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], 0x80000108
mov edi, 0x104
mov dword [ebp - 0x214], edi
xor ebx, ebx
push 0x20a
push ebx
push eax
call fcn.01c99a20
add esp, 0xc
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1c3d690
cmp eax, 0x105
jae 0x1c3cf7e
mov dword [ebp - 0x214], eax
mov word [esi + eax*2], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x24c], eax
movsd xmm0, qword [ebp - 0x218]
movsd qword [ebp - 0x254], xmm0
push 0x60
call fcn.01c9515a
add esp, 4
lea ecx, [eax + 0x38]
mov dword [eax + 4], ecx
mov dword [eax], 0x1cde994
xorps xmm0, xmm0
movups xmmword [eax + 0x38], xmm0
movups xmmword [eax + 8], xmm0
movups xmmword [eax + 0x18], xmm0
movups xmmword [eax + 0x28], xmm0
movups xmmword [eax + 0x48], xmm0
xorps xmm0, xmm0
movsd qword [eax + 0x58], xmm0
mov dword [eax + 0x38], 0x28
mov dword [eax + 0x3c], 0x1ce158c
movzx ecx, byte [ebp - 0x249]
mov edx, ecx
test cl, cl
jns 0x1c3cf2b
mov edx, dword [ebp - 0x250]
cmp edx, 0x12
mov dword [ebp - 0x25c], eax
jbe 0x1c3cff9
lea edi, [ebp - 0x254]
test cl, cl
jns 0x1c3cf4a
mov edi, dword [ebp - 0x254]
lea eax, [edi - 0x1a]
mov dword [ebp - 0x260], eax
lea eax, [edx*2 - 0x16]
mov dword [ebp - 0x268], eax
add edx, edx
mov eax, 0x18
sub eax, edi
mov dword [ebp - 0x264], eax
mov esi, edi
neg esi
lea ebx, [edi - 0x18]
mov dword [ebp - 0x258], edx
jmp 0x1c3cfd0
add eax, 0xfffffefc
lea ecx, [ebp - 0x218]
push 0
push eax
call fcn.01c87ab0
jmp 0x1c3ceb9
mov edx, dword [ebp - 0x254]
test eax, eax
je 0x1c3d557
add dword [ebp - 0x260], 0xfffffffe
mov eax, dword [ebp - 0x268]
add eax, edi
add eax, 0xfffffffe
add edi, 0xfffffffe
add dword [ebp - 0x264], 2
add esi, 2
add ebx, 0xfffffffe
cmp eax, edx
mov edx, dword [ebp - 0x258]
je 0x1c3cff6
lea eax, [ebx + edx]
push 0xc
push str.Application
push eax
call fcn.01c96f98
add esp, 0xc
movzx ecx, byte [ebp - 0x249]
lea edx, [ebp - 0x254]
test cl, cl
jns 0x1c3cf9c
jmp 0x1c3cf96
xorps xmm0, xmm0
movsd qword [ebp - 0x218], xmm0
mov dword [ebp - 0x210], 0
cmp byte [ebp - 0x20d], 0
js 0x1c3d01c
lea eax, [ebp - 0x218]
jmp 0x1c3d022
mov eax, dword [ebp - 0x218]
push 0x1cead4a
push eax
call fcn.01c97111
add esp, 8
cmp byte [ebp - 0x20d], 0
jns 0x1c3d047
push dword [ebp - 0x218]
call fcn.01c95155
add esp, 4
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.01c99a20
add esp, 0xc
mov word [esi - 2], 0
lea ebx, [ebp - 0x218]
push 0x104
push ebx
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
dec eax
cmp eax, 0x102
mov esi, dword [ebp - 0x25c]
ja 0x1c3d0c6
cmp word [ebp + edi*2 - 0x21a], 0x5c
je 0x1c3d533
cmp byte [ebp - 0x249], 0
js 0x1c3d0ad
lea eax, [ebp - 0x254]
jmp 0x1c3d0b3
mov eax, dword [ebp - 0x254]
push edi
push ebx
push eax
call fcn.01c96f98
add esp, 0xc
test eax, eax
je 0x1c3d491
mov word [ebp - 0x218], 0
push 0x104
push ebx
push 0x1ceabac
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
dec eax
cmp eax, 0x102
ja 0x1c3d123
cmp word [ebp + edi*2 - 0x21a], 0x5c
je 0x1c3d53f
cmp byte [ebp - 0x249], 0
js 0x1c3d10a
lea eax, [ebp - 0x254]
jmp 0x1c3d110
mov eax, dword [ebp - 0x254]
push edi
push ebx
push eax
call fcn.01c96f98
add esp, 0xc
test eax, eax
je 0x1c3d4e2
mov word [ebp - 0x218], 0
push 0x104
push ebx
push str.PROGRAMW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
dec eax
cmp eax, 0x102
ja 0x1c3d180
cmp word [ebp + edi*2 - 0x21a], 0x5c
je 0x1c3d54b
cmp byte [ebp - 0x249], 0
js 0x1c3d167
lea eax, [ebp - 0x254]
jmp 0x1c3d16d
mov eax, dword [ebp - 0x254]
push edi
push ebx
push eax
call fcn.01c96f98
add esp, 0xc
test eax, eax
je 0x1c3d446
xor eax, eax
mov dword [esi + 0x40], 0x1ce17cc
mov dword [ebp - 0x258], eax
mov byte [esi + 0x5c], al
xor eax, eax
dec eax
lea ebx, [ebp - 0x224]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push 0x1cead4a
push ebx
call fcn.01c33860
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], eax
xorps xmm0, xmm0
movsd qword [ebp - 0x230], xmm0
cmp byte [ebx + 0xb], 0
jns 0x1c3d1d0
mov ebx, dword [ebp - 0x224]
mov esi, dword [ebp - 0x25c]
lea edi, [esi + 8]
movzx eax, byte [ebp - 0x258]
mov ecx, 2
sub ecx, eax
lea eax, [ebp - 0x230]
push eax
push 0x1ce143e
push ebx
push 0x200
push ecx
call fcn.01c3d6f0
add esp, 0x14
xor eax, eax
mov dword [ebp - 0x234], eax
xorps xmm0, xmm0
movsd qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x240], eax
movsd qword [ebp - 0x248], xmm0
xor eax, eax
dec eax
mov dword [ebp - 0x208], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x218], xmm0
mov byte [ebp - 0x208], 0
cmp byte [esi + 0x13], 0
js 0x1c3d3e3
xorps xmm0, xmm0
movsd qword [edi], xmm0
mov dword [edi + 8], 0
movzx eax, byte [esi + 0x13]
test al, al
jns 0x1c3d263
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x20c]
mov dword [esi + 0x4c], eax
cmp eax, 1
jne 0x1c3d2b1
lea edi, [esi + 0x14]
cmp byte [esi + 0x1f], 0
movzx eax, byte [ebp - 0x225]
js 0x1c3d422
test al, al
jns 0x1c3d3c9
mov ecx, edi
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
call fcn.01c27280
cmp byte [esi + 0x1f], 0
jns 0x1c3d2ae
mov edi, dword [edi]
mov dword [esi + 0x50], edi
mov al, byte [ebp - 0x208]
mov byte [esi + 0x5d], al
lea edi, [esi + 0x20]
cmp byte [esi + 0x2b], 0
js 0x1c3d3f8
mov eax, dword [ebp - 0x234]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x23c]
movsd qword [edi], xmm0
cmp byte [esi + 0x2b], 0
jns 0x1c3d2e4
mov edi, dword [edi]
mov dword [esi + 0x54], edi
mov edi, esi
add edi, 0x2c
cmp byte [esi + 0x37], 0
js 0x1c3d40d
mov eax, dword [ebp - 0x240]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x248]
movsd qword [edi], xmm0
cmp byte [esi + 0x37], 0
jns 0x1c3d313
mov edi, dword [edi]
mov dword [esi + 0x58], edi
cmp byte [ebp - 0x20d], 0
jns 0x1c3d32d
push dword [ebp - 0x218]
call fcn.01c95155
add esp, 4
cmp byte [ebp - 0x23d], 0
jns 0x1c3d344
push dword [ebp - 0x248]
call fcn.01c95155
add esp, 4
cmp byte [ebp - 0x231], 0
jns 0x1c3d35b
push dword [ebp - 0x23c]
call fcn.01c95155
add esp, 4
cmp byte [ebp - 0x225], 0
jns 0x1c3d372
push dword [ebp - 0x230]
call fcn.01c95155
add esp, 4
cmp byte [ebp - 0x219], 0
jns 0x1c3d389
push dword [ebp - 0x224]
call fcn.01c95155
add esp, 4
mov edi, dword [0x1cf8bf4]
test edi, edi
jne 0x1c3d67b
mov dword [0x1cf8bf4], esi
cmp byte [ebp - 0x249], 0
jns 0x1c3d3b4
push dword [ebp - 0x254]
call fcn.01c95155
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
add esp, 0x25c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x228]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x230]
movsd qword [edi], xmm0
jmp 0x1c3d2a6
mov ecx, edi
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.01c27320
jmp 0x1c3d255
lea eax, [ebp - 0x23c]
mov ecx, edi
push 0
push eax
call fcn.01c27320
jmp 0x1c3d2dc
lea eax, [ebp - 0x248]
mov ecx, edi
push 0
push eax
call fcn.01c27320
jmp 0x1c3d30b
test al, al
cmovs eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x230]
cmovs edx, dword [ebp - 0x230]
mov ecx, edi
push eax
push edx
call fcn.01c27320
jmp 0x1c3d2a6
movzx eax, byte [ebp - 0x249]
mov ecx, eax
test al, al
jns 0x1c3d459
mov ecx, dword [ebp - 0x250]
cmp ecx, edi
je 0x1c3d6b9
jb 0x1c3d6b6
test al, al
js 0x1c3d473
lea eax, [ebp - 0x254]
jmp 0x1c3d479
mov eax, dword [ebp - 0x254]
cmp word [eax + edi*2], 0x5c
mov esi, dword [ebp - 0x25c]
mov al, 1
jne 0x1c3d180
jmp 0x1c3d182
movzx eax, byte [ebp - 0x249]
mov ecx, eax
test al, al
jns 0x1c3d4a4
mov ecx, dword [ebp - 0x250]
cmp ecx, edi
je 0x1c3d6b9
jb 0x1c3d6b6
test al, al
js 0x1c3d4be
lea eax, [ebp - 0x254]
jmp 0x1c3d4c4
mov eax, dword [ebp - 0x254]
cmp word [eax + edi*2], 0x5c
mov esi, dword [ebp - 0x25c]
lea ebx, [ebp - 0x218]
mov al, 1
jne 0x1c3d0c6
jmp 0x1c3d182
movzx eax, byte [ebp - 0x249]
mov ecx, eax
test al, al
jns 0x1c3d4f5
mov ecx, dword [ebp - 0x250]
cmp ecx, edi
je 0x1c3d6b9
jb 0x1c3d6b6
test al, al
js 0x1c3d50f
lea eax, [ebp - 0x254]
jmp 0x1c3d515
mov eax, dword [ebp - 0x254]
cmp word [eax + edi*2], 0x5c
mov esi, dword [ebp - 0x25c]
lea ebx, [ebp - 0x218]
mov al, 1
jne 0x1c3d123
jmp 0x1c3d182
dec edi
jne 0x1c3d08d
jmp 0x1c3d0c6
dec edi
jne 0x1c3d0ea
jmp 0x1c3d123
dec edi
jne 0x1c3d147
jmp 0x1c3d180
mov eax, dword [ebp - 0x258]
add eax, edi
add eax, 0xffffffea
cmp eax, edx
je 0x1c3cff6
mov ebx, edx
test cl, cl
jns 0x1c3d576
mov ecx, dword [ebp - 0x250]
lea eax, [ebx + ecx*2]
mov edx, dword [ebp - 0x258]
mov ecx, edx
sub ecx, eax
add dword [ebp - 0x260], edx
cmp ecx, esi
je 0x1c3d59e
mov eax, dword [ebp - 0x258]
cmp word [edi + eax], 0x5c
jne 0x1c3cff6
mov eax, dword [ebp - 0x260]
add eax, 2
cmp eax, ebx
je 0x1c3d5c5
mov ecx, dword [ebp - 0x260]
lea eax, [ecx - 2]
cmp word [ecx], 0x5c
mov dword [ebp - 0x260], eax
jne 0x1c3d59e
add eax, 4
mov ebx, eax
push 7
push 0x1ce17ba
push ebx
call fcn.01c96f98
add esp, 0xc
test eax, eax
jne 0x1c3cff6
mov eax, dword [ebp - 0x258]
sub eax, ebx
sub eax, dword [ebp - 0x264]
sar eax, 1
mov ecx, eax
mov dword [ebp - 0x258], eax
add eax, 0xfffffff9
cmp eax, 0x7ffffff8
jae 0x1c3d6b3
mov edi, eax
cmp edi, 5
jb 0x1c3d6c6
mov esi, edi
mov dword [ebp - 0x260], edi
or esi, 3
lea eax, [esi*2 + 2]
inc esi
push eax
call fcn.01c9515a
add esp, 4
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x218], eax
or esi, 0x80000000
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x214], eax
add ebx, 0xe
add edi, edi
push edi
push ebx
push dword [ebp - 0x264]
call fcn.01c994a0
add esp, 0xc
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x264]
mov word [ecx + eax*2 - 0xe], 0
jmp 0x1c3d00b
mov ecx, edi
call fcn.01cd04f0
push edi
call fcn.01c95155
add esp, 4
jmp 0x1c3d397
xorps xmm0, xmm0
movsd qword [ebp - 0x254], xmm0
mov dword [ebp - 0x24c], 0
push esi
call fcn.01c95155
add esp, 4
jmp 0x1c3ced5
int3
int3
mov esi, dword [ebp - 0x25c]
mov al, 1
jmp 0x1c3d182
lea ecx, [ebp - 0x218]
mov eax, edi
mov dword [ebp - 0x264], ecx
mov byte [ecx + 0xb], al
test edi, edi
jne 0x1c3d64e
jmp 0x1c3d663