Function at 0x5d2fc0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbb4
push ebx
mov edx, dword [0x6fcafc]
push esi
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0xbc0]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push 0x6e793c
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5d3113
lea eax, [ebp - 0xbc0]
push eax
call fcn.00609a4e
add esp, 4
cmp eax, 5
jb 0x5d3113
lea ecx, [ebp - 0x7b0]
lea edx, [ebp - 0xbc0]
push ecx
push ebx
push ebx
push ebx
push edx
call fcn.0060a943
lea eax, [ebp - 0x7b0]
push 0x6cc1c0
push eax
call fcn.0060c3d3
add esp, 0x1c
test eax, eax
je 0x5d3079
lea ecx, [ebp - 0x7b0]
push str..com
push ecx
call fcn.0060c3d3
add esp, 8
test eax, eax
jne 0x5d3113
mov ecx, dword [0x6fcafc]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x1a0]
push edx
push eax
push ebx
push ebx
push str.VScannerParameters
push ecx
mov dword [ebp - 0x2c], 0xf0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5d30cb
mov edi, str.__File_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1a0]
push ebx
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
call fcn.004027e0
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x5d30f3
lea eax, [ebp - 0x24]
push 0x6efac0
push eax
call fcn.0060a3e0
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x5d3124
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x104
xor eax, eax
lea edi, [ebp - 0x5b0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x5d313e
mov ecx, eax
jmp 0x5d3144
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, esi
sub edx, ecx
sar edx, 1
push edx
push eax
lea eax, [ebp - 0x5b0]
push eax
call fcn.0060b587
lea ecx, [ebp - 0x5b0]
push 0x6efabc
push ecx
call fcn.00609a6b
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x5b0]
push edx
push eax
call fcn.00609a6b
lea ecx, [ebp - 0x5b0]
push 0x6efabc
push ecx
call fcn.00609a6b
add esi, 0xc
lea edx, [ebp - 0x5b0]
push esi
push edx
call fcn.00609a6b
add esp, 0x2c
lea eax, [ebp - 0xbc0]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
push eax
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x40], bx
call fcn.00401f20
push 0x6efabc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
call fcn.00401f20
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edi, ebx
jne 0x5d31e3
lea edi, [ebp - 0x40]
cmp edi, ebx
je 0x5d325c
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5d325c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5d3204
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x5d3206
xor esi, esi
push edi
call fcn.00609a4e
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5d325c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5d323b
push eax
push esi
call fcn.00609a95
push edi
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x5d3245
push edi
push esi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push esi
mov dword [ebp - 0x1c], esi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, 0x6efab4
test edx, edx
je 0x5d32ee
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5d32ee
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5d328a
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x5d328c
xor esi, esi
push 0x6efab4
call fcn.00609a4e
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5d32ee
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5d32c9
push eax
push esi
call fcn.00609a95
push 0x6efab4
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x5d32d7
push 0x6efab4
push esi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push esi
mov dword [ebp - 0x1c], esi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x5b0]
test ecx, ecx
je 0x5d338d
lea edx, [ebp - 0x5b0]
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5d338d
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5d3323
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x5d3325
xor esi, esi
lea eax, [ebp - 0x5b0]
push eax
call fcn.00609a4e
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5d338d
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5d3366
push eax
push esi
call fcn.00609a95
lea edx, [ebp - 0x5b0]
push edx
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x5d3376
lea eax, [ebp - 0x5b0]
push eax
push esi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push esi
mov dword [ebp - 0x1c], esi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x5d33ac
mov ecx, dword [0x6fda40]
push ecx
push 0x1476
push 0x111
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6cdafc]
mov ecx, 0x11
test eax, eax
je 0x5d340c
xor eax, eax
lea edi, [ebp - 0xb0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb0], 0x44
test eax, eax
mov dword [ebp - 0x84], 1
mov word [ebp - 0x80], 6
jne 0x5d33e8
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xb0]
push edx
push ecx
push 0
push 0
push 0x30
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
jmp 0x5d3474
xor eax, eax
lea edi, [ebp - 0xb0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb0], 0x44
test eax, eax
mov dword [ebp - 0x84], 1
mov word [ebp - 0x80], 6
jne 0x5d343a
lea eax, [ebp - 0x18]
lea edx, [ebp + 8]
push eax
push edx
call fcn.00402850
add esp, 8
lea eax, [ebp - 0x6c]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xb0]
push eax
push ecx
push 0
push 0
push 0x30
push 1
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00622d8a
test esi, esi
jne 0x5d3602
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x6f7b78]
mov dword [ebp + 8], eax
push esi
lea ecx, [ebp + 8]
push str.CreateProcess_error__ld_in_SM::VirusChecking___r_n
push ecx
mov byte [ebp - 4], 4
call fcn.0061fae1
mov ecx, dword [ebp + 0x10]
add esp, 0xc
test ecx, ecx
je 0x5d34b2
mov edx, dword [ebp + 8]
push edx
call fcn.0056fe30
xor edi, edi
lea eax, [ebp + 0xc]
push edi
push edi
push eax
push 0x400
push esi
push edi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x34], di
mov esi, dword [0x6fdcb8]
mov edi, dword [0x6fca90]
test esi, esi
mov byte [ebp - 4], 5
je 0x5d35a5
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5d35a8
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401ee0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x50]
call fcn.004027c0
push edi
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.004027e0
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x38], edx
je 0x5d358d
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x5c]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x50]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x38]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00401070
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x5d35b9
lea eax, [ebp - 0x34]
push 0x50030
push 0x6c9094
push eax
push 0
call fcn.00457200
add esp, 0x10
test ebx, ebx
je 0x5d35e8
push str.Download_complete.
push 0x1476
push 0x111
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00622d8a
jmp 0x5d363a
mov edx, dword [ebp - 0x6c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x6c]
push ecx
call esi
test ebx, ebx
je 0x5d363a
push str.Download_complete.
push 0x1476
push 0x111
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00401070
jmp 0x5d3107