Function at 0x43c570
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6f98
mov eax, dword fs:[0]
push eax
sub esp, 0x298
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 - 0x258], ecx
mov edi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.SystemRoot
mov dword [ebp - 0x260], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor esi, esi
mov ebx, 7
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x43c5f0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x254]
call fcn.00401860
mov dword [ebp - 4], esi
push str.System32
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], 8
jb 0x43c64c
mov edx, dword [ebp - 0x250]
push edx
call fcn.004b29fa
add esp, 4
lea ecx, [ebp - 0x25c]
push ecx
push 1
push 2
push 0x493e0
push ebx
xor eax, eax
xor edx, edx
push str._S__U__
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], ax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], esi
mov word [ebp - 0x278], dx
call fcn.00401860
mov byte [ebp - 4], 3
add edi, 0x24c
push edi
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.0040a680
mov byte [ebp - 4], 4
push str.zlavscan.dll_
push eax
lea edx, [ebp - 0x254]
push edx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x43c6e3
mov edi, dword [eax + 4]
jmp 0x43c6e6
lea edi, [eax + 4]
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
mov word [ecx + 4], ax
mov eax, edi
lea edx, [eax + 2]
mov dword [ebp - 0x288], esp
mov dword [ebp - 0x238], edx
jmp 0x43c710
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x43c710
sub eax, dword [ebp - 0x238]
sar eax, 1
push eax
push edi
call fcn.00401860
mov byte [ebp - 4], 6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0xc
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push str.regsvr32.exe
mov word [ecx + 4], ax
call fcn.00401860
mov byte [ebp - 4], bl
cmp dword [ebp - 0x21c], 8
mov edi, dword [ebp - 0x230]
jae 0x43c769
lea edi, [ebp - 0x230]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
mov eax, edi
mov word [ecx + 4], dx
lea edx, [eax + 2]
mov dword [ebp - 0x284], esp
mov dword [ebp - 0x238], edx
jmp 0x43c790
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x43c790
sub eax, dword [ebp - 0x238]
sar eax, 1
push eax
push edi
call fcn.00401860
mov byte [ebp - 4], 8
mov byte [ebp - 4], 5
call fcn.00453920
mov byte [ebp - 4], 4
mov edi, 8
cmp dword [ebp - 0x23c], edi
jb 0x43c7d7
mov eax, dword [ebp - 0x250]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x28c], edi
jb 0x43c807
mov edx, dword [ebp - 0x2a0]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x290], esi
mov word [ebp - 0x2a0], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x264], edi
jb 0x43c837
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.004b29fa
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x260]
push eax
xor edx, edx
push ecx
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], esi
mov word [ebp - 0x278], dx
call fcn.0043bbb0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], edi
jb 0x43c880
mov edx, dword [ebp - 0x230]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], 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