Function at 0x1003bbc0
Capabilities:
Access peb ldr_data
Create tcp socket
Create udp socket
Get ntdll base address
Initialize winsock library
Query or enumerate registry value
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009857b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5b8
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x30]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x400
rep stosd dword es:[edi], eax
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwarePubwin
push reloc.WS2_32.dll_bind
mov dword [esp + 0x5e0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003bc8d
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.DeCenterIP
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003bc64
sub eax, edx
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x18]
call fcn.100024d0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
jmp 0x1003bc9d
push eax
push str.RegOpenKeyEx:_d
push 4
call fcn.1006ac00
add esp, 0xc
lea ecx, [esp + 0x430]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 1
push 0
push 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
push esi
push str.U.s.I:_s
push 2
mov edi, eax
call fcn.1006ac00
mov word [esp + 0x2c], 2
mov eax, dword [esi - 0xc]
add esp, 0xc
test eax, eax
jge 0x1003bcec
push 0x80070057
call fcn.10001100
mov al, byte [esi]
cmp al, 0x30
jl 0x1003bcf9
cmp al, 0x39
jg 0x1003bcf9
push esi
jmp 0x1003bd1b
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1003bd0c
push esi
push str._s_:unkown_host
jmp 0x1003bd72
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x4696
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x4696
push str.U_s_P_:_d
push 2
mov word [esp + 0x2e], ax
call fcn.1006ac00
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x10
lea eax, [esp + 0x24]
push eax
push 0
push ebx
push ecx
push edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x1003bdc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.U_s_to:_d
push 4
call fcn.1006ac00
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [esi - 0x10]
mov dword [esp + 0x5cc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003bdae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x5c4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea edx, [ecx + 1]
mov dword [esp + 0x1c], edx
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1003bdd0
mov edx, dword [esp + 0x1c]
push ebx
sub ecx, edx
push ecx
push eax
push str.U_s_len:_d__data_length:__d__IN_LEN:__d
push 2
call fcn.1006ac00
add esp, 0x14
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [esi - 0x10]
mov dword [esp + 0x5cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003be21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x5c4]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret