Function at 0x447d70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d872c
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x50f52c]
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 dword [ebp - 0x384], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x268], cx
mov edi, 7
push 0x4e25d8
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x258], ebx
call fcn.00401860
mov dword [ebp - 4], ebx
push ebx
xor edx, edx
push 0x4e25d8
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], dx
call fcn.00401860
mov byte [ebp - 4], 1
push 3
xor eax, eax
push 0x4e2ed0
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x36c], ebx
mov word [ebp - 0x37c], ax
call fcn.00401860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x380]
push ecx
lea ecx, [ebp - 0x39c]
call fcn.004306b0
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.0042f6e0
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x39c]
call fcn.00403370
mov byte [ebp - 4], 1
cmp dword [ebp - 0x368], 8
jb 0x447e84
mov edx, dword [ebp - 0x37c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x36c], ebx
mov word [ebp - 0x37c], ax
cmp dword [ebp - 0x3a4], ebx
je 0x4480a9
lea ecx, [ebp - 0x308]
call fcn.004324d0
mov byte [ebp - 4], 5
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push str._SYSTEMROOT_System32
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x37c], dx
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x36c], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x447ef0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x380]
call fcn.00401860
mov byte [ebp - 4], 6
push str._vsdatant.sys
lea ecx, [ebp - 0x380]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00401750
mov byte [ebp - 4], 6
mov esi, 8
cmp dword [ebp - 0x21c], esi
jb 0x447f64
mov eax, dword [ebp - 0x230]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x368], esi
jb 0x447f94
mov edx, dword [ebp - 0x37c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
push 1
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x36c], ebx
mov word [ebp - 0x37c], ax
call fcn.00432250
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x38c], ebx
mov word [ebp - 0x39c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x447fd4
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x3a0]
call fcn.00401860
mov byte [ebp - 4], 8
push str._vsconfig.xml
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00401750
mov byte [ebp - 4], 8
cmp dword [ebp - 0x21c], esi
jb 0x448043
mov edx, dword [ebp - 0x230]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x388], esi
jb 0x448073
mov ecx, dword [ebp - 0x39c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
push 1
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x38c], ebx
mov word [ebp - 0x39c], dx
call fcn.00432250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x308]
call fcn.00403750
jmp 0x4483d8
mov eax, dword [ebp - 0x3a8]
push esi
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x384]
call fcn.00446670
mov byte [ebp - 4], 0xa
push 0xc
push str.vsdrinst.exe
lea ecx, [ebp - 0x26c]
call fcn.00401860
push 0x29
push str._u_AC30BFB5_834B_46d2_B912_6CE71684EB2D
lea ecx, [ebp - 0x250]
call fcn.00401860
lea edx, [ebp - 0x384]
push edx
push 1
push 2
push 0x493e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3a8], esp
push 0xffffffffffffffff
mov dword [ebp - 0x384], ebx
push ebx
lea edx, [ebp - 0x250]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.00401750
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3a4], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x26c]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.00401750
mov byte [ebp - 4], 0xc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3ac], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x234]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.00401750
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xa
call fcn.00453920
push 0x104
lea eax, [ebp - 0x218]
push eax
push str._SYSTEMROOT_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x308]
call fcn.004324d0
mov byte [ebp - 4], 0xe
mov edx, dword [esi + 0x180]
push 6
lea ecx, [esi + 0x16c]
push str.64_bit
push edx
push ebx
call fcn.00401fe0
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2b8], eax
xor eax, eax
mov word [ebp - 0x37c], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x36c], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4481f1
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x380]
call fcn.00401860
mov byte [ebp - 4], 0xf
push str.System32drivers_vsdatant.sys
lea edx, [ebp - 0x380]
push edx
lea eax, [ebp - 0x3a0]
push eax
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00401750
mov byte [ebp - 4], 0xf
mov esi, 8
cmp dword [ebp - 0x388], esi
jb 0x448265
mov ecx, dword [ebp - 0x39c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x38c], ebx
mov word [ebp - 0x39c], dx
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x368], esi
jb 0x448295
mov eax, dword [ebp - 0x37c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov word [ebp - 0x37c], cx
push 1
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x36c], ebx
call fcn.00432250
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x39c], dx
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x38c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4482d5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00401860
mov byte [ebp - 4], 0x11
push str.System32drivers_vsconfig.xml
lea ecx, [ebp - 0x3a0]
push ecx
lea edx, [ebp - 0x380]
push edx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0x12
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00401750
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x368], esi
jb 0x448344
mov eax, dword [ebp - 0x37c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x36c], ebx
mov word [ebp - 0x37c], cx
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x388], esi
jb 0x448374
mov edx, dword [ebp - 0x39c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
push 1
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x38c], ebx
mov word [ebp - 0x39c], ax
call fcn.00432250
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x308]
call fcn.00403750
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], esi
jb 0x4483c0
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], dx
lea esi, [edx + 8]
lea ecx, [ebp - 0x364]
call fcn.00433f10
mov byte [ebp - 4], 0x13
push 0x2a
push str.SYSTEMCurrentControlSetServices_vsdatant
lea ecx, [ebp - 0x360]
mov dword [ebp - 0x364], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00401860
lea ecx, [ebp - 0x364]
call fcn.00434170
push 0x27
push str.SYSTEMCurrentControlSetServices_vsmon
lea ecx, [ebp - 0x360]
call fcn.00401860
lea ecx, [ebp - 0x364]
call fcn.00434170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x364]
call fcn.00402470
mov byte [ebp - 4], bl
cmp dword [ebp - 0x238], esi
jb 0x448454
mov eax, dword [ebp - 0x24c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x254], esi
jb 0x448487
mov edx, dword [ebp - 0x268]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x258], ebx
mov word [ebp - 0x268], ax
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.004b3057
mov esp, ebp
pop ebp
ret 8