Function at 0x402e00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x422128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push str.hig_trac
push 0x423720
mov word [0x4239c0], ax
mov byte [0x422c04], al
call fcn.00403140
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00404420
mov edx, 0x423720
add esp, 0x14
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x402e48
lea edi, [ebp - 0x44]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402e55
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x423720
call sub.subsysdl.dll__proc_begin_4
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x403060
call fcn.00401830
xor eax, eax
mov word [0x423714], ax
cmp byte [0x422c04], al
jne 0x403013
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [eax + 0xc]
push ebx
lea ebx, [eax + 1]
push 0x423980
push 1
push str.cntstat
call sub.cscmmfil.dll_cscmread
test eax, eax
jne 0x403058
cmp word [0x423998], ax
je 0x402f32
push eax
push 0xffffffffffffffff
push str.fsttubn
push eax
push 1
call sub.cscmhfws.dll_sym_locks
add esp, 0x14
push 0x423960
push 1
push str.fsttubn
call sub.cscmmfil.dll_cscmread
test eax, eax
jne 0x4030aa
push 0x20
push 0x423960
push 1
push str.fsttubn
mov word [0x423960], ax
call sub.cscmmfil.dll_cscmwrit
test eax, eax
jne 0x40307d
call sub.subsysdl.dll_sym_unlock
push 0
call fcn.00401590
add esp, 4
push 0x423760
push 1
push str.fmcsig
call sub.cscmmfil.dll_cscmread
test eax, eax
jne 0x403050
test dword [0x423768], 0x8000
je 0x402f62
mov ax, di
mov word [0x4239c0], ax
jmp 0x402f68
mov ax, word [0x4239c0]
cwde
dec eax
cmp eax, 0xb
ja case.0x402f7a.2
movzx eax, byte [eax + 0x4030fc]
jmp dword [eax*4 + 0x4030e4]
cmp word [0x423714], 0
jne 0x402f9e
call fcn.004012d0
cmp eax, 1
jne case.0x402f7a.2
mov word [0x423714], bx
jmp case.0x402f7a.2
call fcn.00402bb0
jmp case.0x402f7a.2
call fcn.00402bb0
call fcn.004011b0
call fcn.004020f0
jmp case.0x402f7a.2
call fcn.004011b0
cmp eax, 1
je 0x402fca
call fcn.004012d0
cmp eax, 1
jne case.0x402f7a.2
mov word [0x4239c0], bx
jmp case.0x402f7a.2
call fcn.004011b0
cmp eax, 2
je 0x402fed
call fcn.004012d0
test eax, eax
je 0x402fed
call fcn.004020f0
jmp case.0x402f7a.2
push 0
call fcn.00401590
add esp, 4
jmp case.0x402f7a.2
call fcn.00401e00
push 0x1f4
call esi
cmp byte [0x422c04], 0
je 0x402eb4
pop ebx
call sub.subsysdl.dll__proc_end_0
mov eax, 8
push 0
mov word [0x4239c0], ax
call fcn.00401590
call fcn.004016e0
push 0x41a22c
push 0
call fcn.00401800
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.004038e3
mov esp, ebp
pop ebp
ret
push eax
push str.fmcsig
jmp 0x4030b0
push eax
push str.cntstat
jmp 0x4030b0
push str.WSAStartup
lea eax, [ebp - 0x44]
push eax
push 0x41a1f8
call sub.cscmhfws.dll_coalrms
add esp, 0xc
push 1
call fcn.0040994b
push eax
push str.fsttubn
push str.write
lea eax, [ebp - 0x44]
push eax
push 0x41a210
call sub.cscmhfws.dll_coalrms
add esp, 0x14
call sub.subsysdl.dll_sym_unlock
call fcn.004016e0
push 1
call fcn.0040994b
push eax
push str.fsttubn
push str.mfile_read
lea eax, [ebp - 0x44]
push eax
push 0x41a210
call sub.cscmhfws.dll_coalrms
add esp, 0x14
call sub.subsysdl.dll_sym_unlock
push 2
call fcn.00401590
add esp, 4
call fcn.004016e0
push 1
call fcn.0040994b
nop dword [eax]
sub dword [edi], 0x2fd30040
inc eax
add cl, bh
das
inc eax
add byte [esi - 0x5affbfd1], dh
das
inc eax
add dh, bh
das
inc eax
add byte [eax], al
add eax, 0x5020501
add eax, 50660613
add al, 204
int3