Function at 0x40206e
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f0
mov eax, dword [0x434c24]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push eax
push ebx
push ebx
push ebx
mov dword [0x4391f0], eax
mov eax, connect
push eax
push ebx
push eax
push 0xcf0000
push 0x439128
push 0x439060
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x4020bc
xor eax, eax
jmp 0x402354
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x65c], ax
lea eax, [ebp - 0x65a]
push ebx
push eax
call fcn.00416400
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24a]
push ebx
push eax
call fcn.00416400
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x452]
push ebx
push eax
call fcn.00416400
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + 0x42dac4]
mov word [ebp + eax - 0x24c], cx
inc eax
inc eax
cmp cx, bx
jne 0x402111
xor eax, eax
movzx ecx, word [ebp + eax - 0x24c]
mov word [ebp + eax - 0x454], cx
inc eax
inc eax
cmp cx, bx
jne 0x402129
lea edi, [ebp - 0x454]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x402148
mov esi, 0x42d7e8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24c]
push eax
movsd dword es:[edi], dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, 0x20000
push esi
call ebx
test eax, eax
je 0x4021d5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
lea eax, [ebp - 0x454]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
jne 0x40219f
push 0x42d934
call fcn.00401000
pop ecx
and dword [ebp - 0x7f0], 0
jmp 0x4021c5
cmp dword [ebp - 0x7f0], 5
jge 0x4021d5
push eax
call edi
inc dword [ebp - 0x7f0]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x24c]
push eax
push 0
push esi
call ebx
test eax, eax
jne 0x4021a8
lea eax, [ebp - 0x7ec]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 1
mov edi, 0x4399b0
call fcn.004062a2
pop ecx
test eax, eax
jne 0x4022ba
push 0x3a
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
call fcn.00416400
add esp, 0xc
lea edi, [ebp - 0x44]
call fcn.0040113b
xor eax, eax
movzx ecx, word [ebp + eax - 0x44]
mov word [eax + 0x439b58], cx
inc eax
inc eax
test cx, cx
jne 0x402219
push 0x42d9b4
push 0x40
push 0x4399b4
call fcn.00413daa
add esp, 0xc
push 0x51
pop eax
push 0x42d9d0
push 0x10
push 0x439a36
mov word [0x439a34], ax
call fcn.00413daa
add esp, 0xc
push 0x42d980
push 0x40
push 0x439a56
call fcn.00413daa
mov eax, 0x2b66
add esp, 0xc
mov word [0x439ad6], ax
xor eax, eax
movzx ecx, word [ebp + eax - 0x44]
mov word [eax + 0x439b38], cx
inc eax
inc eax
test cx, cx
jne 0x40227e
mov edi, 0x439b38
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x402298
mov esi, 0x42dad4
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [0x439b78], 5
mov esi, 0x20000
call fcn.00401469
lea edi, [ebp - 0x65c]
call fcn.0040113b
xor eax, eax
movzx ecx, word [ebp + eax - 0x65c]
mov word [eax + 0x439bb0], cx
inc eax
inc eax
test cx, cx
jne 0x4022cc
mov edi, 0x439bb0
push edi
push 0
push esi
call ebx
xor ecx, ecx
cmp eax, ecx
je 0x40230c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x42dadc
call fcn.00401000
pop ecx
pop ecx
jmp 0x4020b5
push edi
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
jne 0x402326
push 0x42d934
call fcn.00401000
jmp 0x402306
mov ebx, 0x43a040
call fcn.004025a8
mov eax, dword [0x439b7c]
mov dword [0x43a048], eax
xor eax, eax
push eax
push eax
push eax
push 0x4013ce
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4364d0], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413d9b
leave
ret