Function at 0x100191a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1011d1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
push str.System
push esi
mov word [ebx], ax
call fcn.100c4196
add esp, 8
test eax, eax
jne 0x100191f2
push esi
mov edx, 0x122
mov ecx, ebx
call fcn.100539f0
add esp, 4
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
cmp word [esi], 0x5c
push edi
jne 0x10019239
xor ebx, ebx
lea eax, [esi + 2]
xor edi, edi
mov ecx, 0x1011dc24
push dword [edi + ecx]
push eax
push dword [edi + 0x1011dc20]
call fcn.100ce963
add esp, 0xc
test eax, eax
je 0x100193a2
add edi, 0x20c
lea eax, [esi + 2]
inc ebx
mov ecx, 0x1011dc24
cmp edi, 0x20c
jb 0x10019205
mov ebx, dword [ebp - 0x18]
push 8
push str.Device_
push esi
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x1001947c
push 0xe
lea edi, [esi + 0x10]
mov dword [ebp - 0x24], eax
push edi
push str.HarddiskVolume
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x100192c9
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x2c]
push 0x10101024
push eax
call fcn.10019800
add esp, 0xc
cmp eax, 1
jne 0x100192c9
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp eax, 0x17
ja 0x100192c9
xor eax, eax
mov word [ebp - 0xc], ax
lea eax, [ecx + 0x42]
push eax
push 0x1010102c
lea eax, [ebp - 0xc]
push 3
push eax
call fcn.100163a0
add esp, 0x10
cmp eax, 0xffffffff
je 0x100192c9
push ecx
push ebx
lea edx, [ebp - 0xc]
mov ecx, esi
call fcn.10018e10
add esp, 8
test al, al
jne 0x1001945d
push 8
push str.Device_
push esi
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x1001956e
push 4
push edi
push str.Mup_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
je 0x10019335
push 0x11
push edi
push str.LanmanRedirector_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
je 0x10019335
push 6
push edi
push str.NwRdr_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
je 0x10019335
push 0x12
push edi
push str.NetWareRedirector_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x1001956e
push 4
push edi
push str.Mup_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x1001948f
push 0x12
lea edi, [esi + 0x18]
push edi
push str._LanmanRedirector_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x100194fe
add edi, 0x24
cmp word [esi + 0x3c], 0x3b
jne 0x100194fe
cmp word [esi + 0x40], 0x3a
lea eax, [esi + 0x40]
jne 0x100194fe
push 0x5c
push eax
call fcn.100bfc13
lea ecx, [esi + 0x62]
add esp, 8
cmp eax, ecx
jne 0x100194fe
add edi, 0x28
jmp 0x100194fe
cmp ebx, 0xffffffff
je 0x10019236
imul ebx, ebx, 0x20c
cmp byte [ebx + 0x1011dc28], 0
lea edi, [ebx + 0x1011dc2a]
jne 0x100193ec
push 0x100
push edi
push dword [ebx + 0x1011dc20]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x10019470
cmp eax, 0x100
ja 0x10019470
mov byte [ebx + 0x1011dc28], 1
cmp word [edi], 0
je 0x1001947c
mov eax, dword [ebx + 0x1011dc24]
mov edx, edi
lea esi, [esi + eax*2]
add esi, 2
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10019407
sub edx, ecx
mov ecx, esi
sar edx, 1
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019420
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + 1]
add eax, edx
cmp eax, 0x122
ja 0x1001947c
mov ecx, dword [ebp - 0x18]
mov edx, 0x122
push edi
lfence
call fcn.100539f0
mov ecx, dword [ebp - 0x18]
mov edx, 0x122
push esi
call fcn.10053a50
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [edi], ax
mov byte [ebx + 0x1011dc28], 1
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
push 0x11
push edi
push str.LanmanRedirector_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x100194ce
cmp word [esi + 0x32], 0x3b
lea edi, [esi + 0x32]
jne 0x100194fe
cmp word [esi + 0x36], 0x3a
lea eax, [esi + 0x36]
jne 0x100194fe
push 0x5c
push eax
call fcn.100bfc13
lea ecx, [esi + 0x58]
add esp, 8
cmp eax, ecx
jne 0x100194fe
add edi, 0x28
jmp 0x100194fe
push 6
push edi
push str.NwRdr_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x100194e7
lea edi, [esi + 0x1c]
jmp 0x100194fe
push 0x12
push edi
push str.NetWareRedirector_
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x1001947c
lea edi, [esi + 0x34]
test edi, edi
je 0x1001947c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019510
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 3]
cmp eax, 0x122
ja 0x1001947c
push 2
push 0x10100ec4
push 0x122
lfence
push ebx
lfence
call fcn.100d1599
lea ecx, [ebx + 4]
xor eax, eax
push edi
mov edx, pe_nt_image_headers32
mov word [ecx], ax
call fcn.100539f0
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
push 0x5c
push edi
call fcn.100bfc13
push 8
mov ebx, eax
push str.Harddisk
push edi
mov dword [ebp - 0x14], ebx
call fcn.100cdfbe
add esp, 0x14
test eax, eax
jne 0x100195e8
cmp word [esi + 0x22], 0x5c
jne 0x100195a8
lea eax, [esi + 0x24]
push 0x5c
push eax
call fcn.100bfc13
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x100195e5
push 9
lea eax, [esi + 0x20]
push str.DmVolumes
push eax
call fcn.100cdfbe
add esp, 0xc
test eax, eax
jne 0x100195e8
lea eax, [esi + 0x34]
push 0x5c
push eax
call fcn.100bfc13
add esp, 8
test eax, eax
je 0x1001947c
add eax, 2
push 0x5c
push eax
call fcn.100bfc13
mov ebx, eax
mov dword [ebp - 0x14], eax
add esp, 8
test ebx, ebx
jne 0x10019606
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100195f1
sub ecx, edx
sar ecx, 1
lea ebx, [esi + ecx*2]
mov dword [ebp - 0x14], ebx
push 0
push 0x40
push 3
push 0
push 7
push 0x80
sub ebx, esi
mov byte [ebp - 0xd], 0
push str..MountPointManager
sar ebx, 1
call dword [0x1011d098]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x1001978c
lea ecx, [ebx*2 + 6]
mov dword [ebp - 0x28], 0
push ecx
call fcn.100c3c54
push 0x200
mov dword [ebp - 0x1c], eax
call fcn.100c3c54
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10019772
test edi, edi
je 0x10019772
lea ecx, [ebx + ebx]
mov word [eax], cx
lea edx, [ebx + 1]
push esi
lea ecx, [eax + 2]
call fcn.100539f0
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
add esp, 4
lea eax, [ebx*2 + 4]
mov dword [ebp - 0xc], eax
push 0
push ecx
push 0x200
push edi
push eax
push esi
push 0x6d0030
push dword [ebp - 0x20]
call dword [0x1011d0a0]
test eax, eax
jne 0x10019701
cmp dword [edi], eax
je 0x10019772
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x10019772
mov ebx, dword [edi]
push edi
call fcn.100c3c60
push ebx
call fcn.100c3c54
mov edi, eax
add esp, 8
test edi, edi
je 0x10019772
push 0
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
push dword [ebp - 0xc]
push esi
push 0x6d0030
push dword [ebp - 0x20]
call dword [0x1011d0a0]
test eax, eax
je 0x10019772
lea ebx, [edi + 4]
mov edx, ebx
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10019710
mov esi, dword [ebp - 0x14]
sub edx, ecx
mov ecx, esi
sar edx, 1
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019730
sub ecx, dword [ebp - 0xc]
sar ecx, 1
lea eax, [ecx + 1]
add eax, edx
cmp eax, 0x122
ja 0x10019772
mov ecx, dword [ebp - 0x18]
mov edx, 0x122
push ebx
lfence
call fcn.100539f0
mov ecx, dword [ebp - 0x18]
mov edx, 0x122
push esi
call fcn.10053a50
add esp, 8
mov byte [ebp - 0xd], 1
push edi
call fcn.100c3c60
push dword [ebp - 0x1c]
call fcn.100c3c60
add esp, 8
push dword [ebp - 0x20]
call dword [0x1011d08c]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xd]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100be435
mov esp, ebp
pop ebp
ret