Function at 0x46e140
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5654eb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x5ba1b0]
lea eax, [ebp - 0x413]
push 0x3ff
push 0
push eax
mov byte [ebp - 0x414], 0
call fcn.00531bd0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x414]
add esp, 0xc
push 0
push 0x400
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x46e3c6
cmp byte [ebp - 0x414], 0x24
movq xmm0, qword [ebp - 0x414]
mov ax, word [ebp - 0x40c]
movq qword [ebp - 0x420], xmm0
mov word [ebp - 0x418], ax
jne 0x46e3c6
mov eax, dword [ebp - 0x412]
cmp eax, 0x20009202
je 0x46e258
mov byte [edi + 0xc9], 1
sub eax, 0x20009206
je 0x46e24b
sub eax, 0x22
je 0x46e240
lea ecx, [ebp - 0x424]
call fcn.00402b10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
push dword [ebp - 0x41e]
push str.Bad_data_type._Password_failed._Type_received:__08Xh.
push eax
call fcn.00415d20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.00402750
jmp 0x46e3c6
push ebx
call fcn.0046de70
jmp 0x46e3c6
push ebx
mov ecx, edi
call fcn.0046dc20
jmp 0x46e3c6
mov eax, dword [edi + 0x1408]
cmp eax, dword [ebp - 0x40e]
je 0x46e2ac
test eax, eax
je 0x46e2ac
push 0
push 0xa
lea eax, [ebp - 0x420]
mov byte [edi + 0xc9], 1
push eax
push ebx
mov word [ebp - 0x420], 0x24
mov dword [ebp - 0x41a], 0
mov dword [ebp - 0x41e], 0x55aa0001
call dword [sym.imp.WS2_32.dll_send]
mov byte [edi + 0xc9], 1
jmp 0x46e3c6
call fcn.00469a40
test eax, eax
mov eax, dword [ebp - 0x41a]
jne 0x46e32b
cmp eax, 1
jb 0x46e32b
push eax
lea eax, [ebp - 0x40a]
push eax
lea esi, [edi + 0x1008]
push esi
call fcn.00531580
add esp, 0xc
lea eax, [ebp - 0x41a]
mov ecx, edi
push eax
push esi
call fcn.00469700
push 0
push 0xa
lea eax, [ebp - 0x420]
mov word [ebp - 0x420], 0x24
push eax
push ebx
mov dword [ebp - 0x41a], 0
mov dword [ebp - 0x41e], 0x55aa0000
call dword [sym.imp.WS2_32.dll_send]
xor ecx, ecx
mov byte [edi + 0xc9], 0
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x46e3c8
mov esi, eax
lea edx, [edi + 0x1008]
lea ecx, [ebp - 0x40a]
sub esi, 4
jb 0x46e351
mov edi, edi
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x46e356
add ecx, 4
add edx, 4
sub esi, 4
jae 0x46e340
cmp esi, 0xfffffffc
je 0x46e383
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x46e390
cmp esi, 0xfffffffd
je 0x46e383
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x46e390
cmp esi, 0xfffffffe
je 0x46e383
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x46e390
cmp esi, 0xffffffff
je 0x46e383
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x46e390
cmp dword [ebp - 0x41a], 1
jae 0x46e2e6
push 0
push 0xa
lea eax, [ebp - 0x420]
mov byte [edi + 0xc9], 1
push eax
push ebx
mov word [ebp - 0x420], 0x24
mov dword [ebp - 0x41a], 0
mov dword [ebp - 0x41e], 0x55aa0001
call dword [sym.imp.WS2_32.dll_send]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4