Function at 0x11095dd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111dfa67
mov eax, dword fs:[0]
push eax
sub esp, 0x8fc
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0x8ac], eax
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x8a0], eax
xor eax, eax
mov dword [ebp - 0x894], eax
mov ecx, 0x50
mov word [ebp - 0x894], cx
mov ecx, dword [0x1127b21c]
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x88c], eax
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x874], eax
mov byte [ebp - 0x870], al
mov ebx, edx
mov edx, dword [ecx]
push eax
mov dword [ebp - 0x89c], eax
mov eax, dword [edx + 0x1c]
push 1
call eax
mov ecx, dword [ebp - 0x8a0]
push 0
push 0
push str.DisableExec
push str.Client
mov dword [ebp - 0x8a4], eax
call fcn.110bbc00
test eax, eax
jne 0x11095ebe
mov ecx, dword [ebp - 0x8a0]
push eax
push eax
push str.NoFTWhenLoggedOff
push str.Client
call fcn.110bbc00
test eax, eax
je 0x11095ec8
cmp dword [ebp - 0x8a4], 0
jne 0x11095ec8
mov eax, 5
jmp 0x110966fc
mov ecx, dword [ebp - 0x8a0]
push 0
push 0
push str.NoExecWhenLoggedOff
push str.Client
call fcn.110bbc00
test eax, eax
je 0x11095ef8
cmp dword [ebp - 0x8a4], 0
jne 0x11095ef8
mov eax, 0xfffffffb
jmp 0x110966fc
mov ecx, dword [edi + 4]
call fcn.110c7040
push eax
push esi
push ebx
lea ecx, [ebp - 0x908]
call fcn.1111aaf0
push 0x104
lea ecx, [ebp - 0x8d4]
mov dword [ebp - 4], 0
call fcn.1113c0e0
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 1
call fcn.1113dd30
mov edx, dword [ebp - 0x908]
mov eax, dword [edx + 0x58]
lea ecx, [ebp - 0x8ec]
push ecx
lea ecx, [ebp - 0x908]
mov byte [ebp - 4], 2
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [ebp - 0x8d4]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [ebp - 0x8e4]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp - 0x8e4]
mov edx, dword [eax]
lea ecx, [ebp - 0x8e4]
call edx
test al, al
jne 0x11095f9b
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp - 0x8d8]
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
mov edx, dword [ebp - 0x8d4]
mov dword [ebp - 0x8e8], eax
mov eax, dword [edx]
add esp, 4
lea ecx, [ebp - 0x8d4]
call eax
test al, al
jne 0x11095fdc
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x8c8]
push 0
push ecx
call fcn.111b7990
mov esi, eax
add esp, 8
mov dword [ebp - 0x8bc], esi
cmp word [esi], 0x20
mov byte [ebp - 4], 3
mov ebx, esi
jne 0x1109600a
add ebx, 2
cmp word [ebx], 0x20
je 0x11096001
push str..exe
push ebx
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x110960b4
push 0x21
push ebx
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
je 0x110960b4
cmp dword [ebp - 0x8a4], 0
jne 0x110960a0
mov ecx, dword [ebp - 0x8ac]
mov edx, 0xfffb
push 1
mov word [ebp - 0x892], dx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
push 4
lea edx, [ebp - 0x894]
push edx
call eax
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 1
call fcn.1113cd80
lea ecx, [ebp - 0x8d4]
mov byte [ebp - 4], 0
call fcn.1113cd80
lea ecx, [ebp - 0x908]
mov dword [ebp - 4], 0xffffffff
call fcn.1111ab70
jmp 0x1109671b
lea ecx, [ebp - 0x8d4]
call fcn.1102f630
mov ecx, eax
call fcn.11090150
jmp 0x11096062
push str.nsclienttb
push ebx
call fcn.11198bf0
add esp, 8
test eax, eax
je 0x110960de
call fcn.11065780
test eax, eax
je 0x110960de
push 1
push str.Exec
call fcn.1106fd00
add esp, 8
push ebx
call fcn.110880b0
add esp, 4
mov dword [ebp - 0x8c0], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x110960f7
mov ebx, eax
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x8b0], edi
mov esi, ebx
mov dword [ebp - 0x898], edi
mov dword [ebp - 0x8a8], 1
cmp word [ebx], di
je 0x1109615f
movzx eax, word [esi]
cmp eax, 0x22
jne 0x1109612b
xor edx, edx
cmp ecx, edi
sete dl
mov ecx, edx
jmp 0x11096134
cmp eax, 0x20
jne 0x11096134
cmp ecx, edi
je 0x1109613e
add esi, 2
cmp word [esi], di
jne 0x11096118
jmp 0x1109615f
cmp word [esi + 2], 0x20
lea eax, [esi + 2]
mov dword [ebp - 0x8b0], eax
jne 0x1109615f
mov edi, edi
add eax, 2
cmp word [eax], 0x20
je 0x11096150
mov dword [ebp - 0x8b0], eax
xor eax, eax
push 0x2e
push ebx
mov word [esi], ax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x1109619c
push 0x5c
push edi
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
jne 0x1109619c
push 0x2f
push edi
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
jne 0x1109619c
mov dword [ebp - 0x898], edi
cmp word [ebx], 0x22
jne 0x110961a5
add ebx, 2
cmp esi, ebx
jbe 0x110961b8
cmp word [esi - 2], 0x22
jne 0x110961b8
xor ecx, ecx
mov word [esi - 2], cx
jmp 0x110961ba
xor esi, esi
push 4
push str.._
push ebx
mov dword [ebp - 0x8b4], 0xffffffff
call dword [sym.imp.MSVCR100.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x1109622a
movzx edx, word [ebx + 8]
mov edi, dword [sym.imp.MSVCR100.dll_iswdigit]
push edx
call edi
add esp, 4
test eax, eax
je 0x1109622a
add ebx, 8
push ebx
call dword [sym.imp.MSVCR100.dll__wtoi]
mov dword [ebp - 0x8b4], eax
movzx eax, word [ebx]
push eax
call edi
add esp, 8
test eax, eax
je 0x11096221
lea ebx, [ebx]
movzx ecx, word [ebx + 2]
add ebx, 2
push ecx
call edi
add esp, 4
test eax, eax
jne 0x11096210
cmp word [ebx], 0x5c
jne 0x1109622a
add ebx, 2
xor eax, eax
cmp dword [ebp - 0x898], eax
jne 0x11096244
mov dword [ebp - 0x898], str..exe
mov dword [ebp - 0x8a8], eax
xor edx, edx
mov word [ebp - 0x218], dx
mov dword [ebp - 0x8c4], eax
call fcn.110276f0
test eax, eax
jne 0x11096376
mov eax, dword [ebp - 0x898]
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push str..exe
push eax
call edi
add esp, 8
test eax, eax
je 0x11096376
mov ecx, dword [ebp - 0x898]
push str..com
push ecx
call edi
add esp, 8
test eax, eax
je 0x11096376
mov edx, dword [ebp - 0x898]
push str..bat
push edx
call edi
add esp, 8
test eax, eax
je 0x11096376
mov edi, dword [sym.imp.SHELL32.dll_FindExecutableW]
lea eax, [ebp - 0x218]
push eax
push 0x11247f3c
push ebx
call edi
cmp eax, 0x20
jg 0x11096353
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push 0
push 0xffffffffffffffff
call eax
lea ecx, [ebp - 0x218]
push ecx
push 0x11247f3c
push ebx
call edi
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
push 0
mov edi, eax
mov eax, dword [edx + 0x90]
push 0
call eax
cmp edi, 0x20
jg 0x11096353
mov ecx, edi
call fcn.11088250
mov ecx, dword [ebp - 0x8ac]
push 1
mov word [ebp - 0x892], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
push 4
lea eax, [ebp - 0x894]
push eax
call edx
mov eax, dword [ebp - 0x8c0]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 0x8bc]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 8
jmp 0x1109606b
test esi, esi
je 0x11096360
mov edx, 0x22
mov word [esi - 2], dx
lea ecx, [ebp - 0x8d4]
call fcn.1102f630
mov dword [ebp - 0x8b0], eax
jmp 0x1109658a
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
push 0
push 0xffffffffffffffff
call edx
push 0x5c
push ebx
call fcn.110e4740
add esp, 8
test eax, eax
jne 0x11096507
push ebx
lea eax, [ebp - 0x86c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebp - 0x8a8], 0
jne 0x110963fc
mov eax, dword [ebp - 0x898]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110963c4
lea edi, [ebp - 0x86c]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x110963e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x8b8]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x86c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x11096507
lea eax, [ebp - 0x8a8]
push eax
mov eax, dword [ebp - 0x8b8]
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x898]
push edx
push 0
push 0
push eax
mov dword [ebp - 0x8a8], 0x104
call fcn.111b8970
add esp, 0x18
test eax, eax
jne 0x110964f8
mov edi, edi
movzx ecx, word [ebp + eax - 0x420]
mov word [ebp + eax - 0x218], cx
add eax, 2
test cx, cx
jne 0x11096460
push 0x104
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
mov word [ebp - 0x664], cx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ax, word [ebp - 0x664]
test ax, ax
je 0x110964f8
cmp ax, 0x22
jne 0x110964da
xor eax, eax
mov edi, edi
movzx ecx, word [ebp + eax - 0x662]
mov word [ebp + eax - 0x218], cx
add eax, 2
test cx, cx
jne 0x110964b0
mov ecx, dword [ebp - 0x8b8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x11096569
xor eax, eax
lea esp, [esp]
movzx ecx, word [ebp + eax - 0x664]
mov word [ebp + eax - 0x218], cx
add eax, 2
test cx, cx
jne 0x110964e0
mov ecx, dword [ebp - 0x8b8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x11096569
mov esi, dword [ebp - 0x898]
mov edi, dword [sym.imp.KERNEL32.dll_SearchPathW]
lea edx, [ebp - 0x8c4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
push ebx
push 0
call edi
test eax, eax
jne 0x11096569
push 0x5c
push ebx
call fcn.110e4740
add esp, 8
test eax, eax
je 0x1109655f
lea ecx, [ebp - 0x8c4]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x104
push esi
add eax, 2
push eax
push 0
call edi
test eax, eax
jne 0x11096569
mov dword [ebp - 0x89c], 2
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
push 0
push 0
call edx
cmp dword [ebp - 0x89c], 0
jne 0x110966ab
mov ecx, dword [ebp - 0x8a0]
push 0
push 0x45
lea eax, [ebp - 0x218]
push eax
push ecx
call fcn.110f3dc0
add esp, 0x10
test eax, eax
jne 0x110966a1
mov eax, dword [ebp - 0x8b4]
xor edx, edx
mov word [ebp - 0x45c], dx
test eax, eax
js 0x110965d5
push eax
lea eax, [ebp - 0x45c]
push str.._u_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x218]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110965e0
lea edi, [ebp - 0x45c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x110965f6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x8b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, str.__s___s
test eax, eax
jne 0x11096626
mov ecx, str.__s_
push eax
lea edx, [ebp - 0x45c]
push edx
push ecx
call fcn.111be4a0
add esp, 0xc
cmp dword [ebp - 0x8e8], 0
mov esi, eax
je 0x11096652
cmp dword [ebp - 0x8a4], 0
jne 0x11096652
mov eax, 0xfffffffb
jmp 0x1109666a
mov ecx, dword [0x1127b21c]
mov edx, dword [ebp - 0x8a0]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
push edx
push esi
call eax
push eax
push esi
push str._s___d_
mov dword [ebp - 0x89c], eax
call fcn.111be4a0
mov ecx, dword [ebp - 0x8ac]
mov edi, eax
push edi
push ecx
push 0x3fb
call fcn.11067670
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x20
jmp 0x110966ab
mov dword [ebp - 0x89c], 5
mov edx, dword [ebp - 0x8c0]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x8bc]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 1
call fcn.1113cd80
lea ecx, [ebp - 0x8d4]
mov byte [ebp - 4], 0
call fcn.1113cd80
lea ecx, [ebp - 0x908]
mov dword [ebp - 4], 0xffffffff
call fcn.1111ab70
mov eax, dword [ebp - 0x89c]
mov ecx, dword [ebp - 0x8ac]
push 1
mov word [ebp - 0x892], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
push 4
lea eax, [ebp - 0x894]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret