Function at 0x430fc0
Capabilities:
Initialize winsock library
Read file on windows
Set current directory

Disassembly:
sub esp, 0x198
push ebx
push ebp
push esi
push edi
push 0x5c
push 0x17ada40
call fcn.00409c80
add esp, 8
mov esi, eax
xor ebx, ebx
push 0x17ada40
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x444234
inc esi
push esi
call fcn.00409240
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x431009
mov esi, str.Could_not_open_current_executable
call fcn.0041ac10
push 2
push ebx
push esi
call fcn.0040a239
add esp, 0xc
push esi
call fcn.00409e41
add esp, 4
push ebx
push ebx
push esi
mov edi, eax
call fcn.0040a239
add esp, 0xc
push edi
call fcn.00409567
add esp, 4
push esi
push edi
mov ebp, eax
push 1
push ebp
call fcn.00409c38
add esp, 0x10
cmp edi, eax
je 0x43105a
push ebp
call fcn.0040952d
add esp, 4
mov esi, str.Could_not_open_current_executable
call fcn.0041ac10
push esi
call fcn.0040a322
add esp, 4
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
call fcn.00436900
push ebp
mov dword [0x17c2df4], eax
call fcn.0040952d
add esp, 4
call fcn.0042eb10
call fcn.00425f30
call fcn.004240a0
test eax, eax
js 0x43114b
call fcn.0041d950
mov al, 0x20
mov byte [0x44a4d7], al
mov byte [0x44a4df], al
mov byte [0x44a4c7], 0x40
mov byte [0x44a4cf], bl
mov byte [0x44a4e7], 0x10
mov byte [0x44a4ef], 0x30
xor eax, eax
jmp 0x4310d0
mov dword [eax + 0x475f54], ebx
add eax, 0x3a0
cmp eax, 0x7400
jne 0x4310d0
lea eax, [esp + 0x18]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43114b
mov eax, dword [esp + 0x18]
cmp al, 1
jne 0x431145
shr eax, 8
cmp al, 1
jne 0x431145
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, dword [esp + 0x1ac]
mov esi, dword [ecx]
cmp esi, ebx
je 0x431231
mov ecx, str.client.exe
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x431159
cmp dl, bl
je 0x431141
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431159
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x431125
xor eax, eax
jmp 0x43115e
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x431231
push 0xb
add esi, 6
push esi
push 0x17ada40
call fcn.00409060
mov eax, 0x17ada40
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x431181
sub eax, edx
cmp byte [eax + 0x17ada3f], 0x22
jne 0x431199
mov byte [eax + 0x17ada3f], bl
mov eax, 0x17ada40
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4311a1
sub eax, edx
cmp byte [eax + 0x17ada3f], 0x2f
jne 0x4311b9
mov byte [eax + 0x17ada3f], bl
push 0xa
push ebx
push 0x17ada40
call fcn.0040a183
add esp, 0xc
push eax
call fcn.0041e7a0
add esp, 4
test eax, eax
je 0x4311e7
push 0x47
call fcn.00425de0
add esp, 4
mov esi, eax
call fcn.0041ac10
mov edx, dword [0x47faec]
imul edx, dword [0x47f224]
imul edx, edx, 0x1b
sar edx, 1
add edx, 7
and edx, 0xfffffff8
push edx
call fcn.00409567
add esp, 4
mov dword [0x47da28], eax
cmp eax, ebx
je 0x43114b
call fcn.00428f20
call fcn.004293c0
call fcn.004302e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x198
ret
push 0x13
call fcn.00425de0
add esp, 4
mov esi, eax
call fcn.0041ac10
int3