Function at 0x10010dc0
Capabilities:
Accept command line arguments
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
push ebx
push esi
push edi
push eax
xor eax, eax
je 0x10010dd8
jae 0x10010d70
mov eax, dword [0xc7d8358]
add dword [edi], ecx
test dword [edi], ecx
add al, byte [eax]
add byte [ebx - 0x6b5cf7bb], cl
dec eax
add dword [eax], edx
pop eax
cmp dword [ebp + 0xc], 1
jne 0x10010ff2
mov eax, dword [ebp + 8]
mov dword [0x10014894], eax
mov word [ebp - 0x2b0], 0
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x2ae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x2b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [ebp - 0x3b0], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x3af]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x120], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x20], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x1f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x3b0]
push edx
push str.mythreadid
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.10009fd0
add esp, 0xc
test eax, eax
je 0x10010ff2
lea eax, [ebp - 0x120]
push eax
push str.myserveraddr
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.10009fd0
add esp, 0xc
test eax, eax
je 0x10010ff2
lea ecx, [ebp - 0x20]
push ecx
push str.myserverport
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.10009fd0
add esp, 0xc
test eax, eax
je 0x10010ff2
lea edx, [ebp - 0x3b0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [ebp - 0x3b4], eax
push 0
push 1
push 0x5ba
mov eax, dword [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov dword [ebp - 0x52c], 0
mov ecx, 0x5c
xor eax, eax
lea edi, [ebp - 0x528]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push eax
lea edx, [ebp - 0x120]
push edx
call fcn.10006140
add esp, 8
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
je 0x10010f4c
lea eax, [ebp - 0x52c]
push eax
mov ecx, dword [0x10016034]
push ecx
mov edx, dword [ebp - 0x3b8]
push edx
call dword [sym.imp.WS2_32.dll_WSADuplicateSocketA]
test eax, eax
je 0x10010f64
push 0
push 0
push 0x5b8
mov eax, dword [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x10010fd4
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x530], ecx
mov dword [ebp - 0x534], 0
jmp 0x10010f8b
mov edx, dword [ebp - 0x534]
add edx, 1
mov dword [ebp - 0x534], edx
cmp dword [ebp - 0x534], 0x174
jae 0x10010fbe
mov eax, dword [ebp - 0x530]
add eax, dword [ebp - 0x534]
xor ecx, ecx
mov cl, byte [eax]
push ecx
push 0
push 0x5b7
mov edx, dword [ebp - 0x3b4]
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x10010f7c
push 0
push 1
push 0x5b7
mov eax, dword [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
cmp dword [ebp - 0x3b8], 0
je 0x10010fea
mov ecx, dword [ebp - 0x3b8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc