Function at 0x404e0c
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, 0x413016
call fcn.0040d250
mov eax, 0x1180
call fcn.0040d220
mov al, byte [ebp + 0xf]
push ebx
push esi
push edi
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x54], al
call fcn.00405f0c
and dword [ebp - 4], 0
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00405f0c
mov byte [ebp - 4], 1
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call fcn.00405f0c
mov byte [ebp - 4], 2
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00405f0c
mov byte [ebp - 4], 3
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 0x10], 0x3e8
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
and byte [ebp - 0x118c], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x118b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
and dword [ebp - 0x58], 0
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [ebp + 0xc]
mov al, byte [0x4160f0]
push eax
push dword [ebp + 8]
call fcn.00404956
mov dword [ebp + 0xc], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00406156
add esp, 0x18
push dword [0x414154]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.00405e3e
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x78]
call fcn.00405f0c
push dword [ebp + 0x14]
mov al, byte [0x4160f0]
push eax
push dword [ebp + 0x10]
call fcn.00404956
mov esi, eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
lea eax, [ebp - 0x54]
push esi
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00406156
add esp, 0x18
push dword [0x414154]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.00405e3e
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00405f0c
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push esi
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [ebp + 0x1c]
mov al, byte [0x4160f0]
push eax
push dword [ebp + 0x18]
call fcn.00404956
mov esi, eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push esi
call fcn.00404ca0
mov edi, eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push esi
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push 0
push 0x50
push edi
call fcn.004049e3
add esp, 0x24
mov esi, eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
cmp esi, 0xffffffff
je 0x405dee
mov al, byte [0x4160f0]
push 5
push eax
push 0x419644
call fcn.00404956
mov dword [0x41964c], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [0x4160f0]
push 0xc
push eax
push 0x419650
call fcn.00404956
mov dword [0x419660], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x68]
push dword [0x41964c]
push eax
call fcn.004061df
push dword [0x419660]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00406156
add esp, 0x30
push dword [0x414154]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00405e3e
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.00405f0c
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00405f0c
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x41964c]
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419660]
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [0x4160f0]
push 0xb9
push eax
push 0x419664
call fcn.00404956
mov dword [0x419720], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419720]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00406156
add esp, 0x20
push dword [0x414154]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.00405e3e
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00405f0c
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419720]
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [0x4160f0]
push 0x19
push eax
push 0x419724
call fcn.00404956
mov dword [0x419740], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419740]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00406156
add esp, 0x1c
push dword [0x414154]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
push 0
push eax
call fcn.00405e3e
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00405f0c
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419740]
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [0x4160f0]
push 0x1a
push eax
push 0x419744
call fcn.00404956
mov dword [0x419760], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419760]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00406156
add esp, 0x1c
push dword [0x414154]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
push 0
push eax
call fcn.00405e3e
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00405f0c
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419760]
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [0x4160f0]
push 7
push eax
push 0x419764
call fcn.00404956
mov dword [0x41976c], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x41976c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00406156
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00406264
push 0x416304
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00406156
add esp, 0x34
push dword [0x414154]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push 0
push eax
call fcn.00405e3e
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00405f0c
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xb
call fcn.00405f0c
push 1
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 3
call fcn.00405f0c
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x41976c]
call fcn.004049cd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov al, byte [0x4160f0]
push 0x16
push eax
push 0x419770
call fcn.00404956
mov dword [0x419788], eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419788]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00406156
add esp, 0x1c
push dword [0x414154]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
push 0
push eax
call fcn.00405e3e
push 1
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 3
call fcn.00405f0c
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push dword [0x419788]
call fcn.004049cd
pop ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x405bb5
mov edi, 0x414150
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push 0
push edi
call fcn.0040cdc0
pop ecx
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x17c], 1
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x17c]
push 0
push eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
test edi, edi
jbe 0x405d03
lea eax, [ebp - 0x17c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x405d03
push 0x1000
lea eax, [ebp - 0x118c]
push 0
push eax
call fcn.0040c960
add esp, 0xc
lea eax, [ebp - 0x118c]
push 0
push 0xfff
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405d03
test ebx, ebx
je 0x405d03
lea eax, [ebp - 0x118c]
push eax
push dword [ebp + 0x20]
call dword [0x418e6c]
add dword [ebp - 0x58], ebx
jmp 0x405c4b
push dword [ebp + 0xc]
call fcn.004049cd
pop ecx
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x405d52
mov eax, 0x414150
push dword [ebp - 0x2c]
push 0
push eax
call fcn.0040c960
add esp, 0xc
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x405da6
mov eax, 0x414150
push dword [ebp - 0x3c]
push 0
push eax
call fcn.0040c960
add esp, 0xc
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
inc ecx
mov edx, edx
add ebx, dword [0x4160e0]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [0x4160e0]
lea ecx, [ecx]
dec ecx
push 1
lea ecx, [ebp - 0x24]
pop ebx
mov byte [ebp - 4], 2
push ebx
call fcn.00405f0c
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00405f0c
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.00405f0c
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x54]
call fcn.00405f0c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x58]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret