Function at 0x5b44c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x5b44e8
test dword [0x7eeab0], 0xffffffff
jne 0x5b4838
call fcn.006a7fbc
jmp fcn.005b44c0
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x30
call fcn.006977b0
mov ecx, dword [esp + 0x30]
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.0052c3f8
mov ecx, 0x801
call fcn.004dc288
mov dword [esp + 0x24], eax
push str.AUTH_LOGIN_r_n
push eax
call fcn.00697936
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b453d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4528
dec eax
push eax
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.005b5bbc
cmp eax, 1
je 0x5b4817
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
lea eax, [esp + 0x30]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
jne 0x5b47ea
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d6544
call fcn.00698cf0
add esp, 0xc
test eax, eax
jne 0x5b4817
cmp byte [0x7e9d23], 0x2d
je 0x5b4553
push dword [ebx + 0x28]
lea ecx, [esp + 4]
call fcn.004e5a7c
lea ecx, [esp]
call fcn.0057f960
mov ebp, eax
lea ecx, [esp]
call fcn.0057f960
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b45d9
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b45c4
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov edx, eax
call fcn.005b4b84
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4607
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b45f2
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5bbc
cmp eax, 1
je 0x5b47c3
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
lea eax, [esp + 0x2c]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
jne 0x5b4796
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d6544
call fcn.00698cf0
add esp, 0xc
test eax, eax
jne 0x5b47c3
cmp byte [0x7e9d23], 0x2d
je 0x5b4619
push dword [ebx + 0x2c]
lea ecx, [esp + 4]
call fcn.004e58f4
lea ecx, [esp]
call fcn.0057f960
mov ebp, eax
lea ecx, [esp]
call fcn.0057f960
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b469f
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b468a
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov edx, eax
call fcn.005b4b84
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b46cd
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b46b8
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5bbc
cmp eax, 1
je 0x5b476f
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
lea eax, [esp + 0x28]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
jne 0x5b474a
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d6540
call fcn.00698cf0
add esp, 0xc
test eax, eax
jne 0x5b476f
cmp byte [0x7e9d23], 0x2d
je 0x5b46df
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp]
call fcn.004e5b7c
lea ecx, [esp + 0x10]
call fcn.0052c3e4
xor eax, eax
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b476f
movzx eax, byte [esp + 0x28]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
je 0x5b46fe
cmp ebp, 0x3e8
jb 0x5b46eb
mov byte [0x7e9d20], 0
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp]
call fcn.004e5b7c
lea ecx, [esp + 0x10]
call fcn.0052c3e4
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b47c3
movzx eax, byte [esp + 0x2c]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
je 0x5b463c
cmp ebp, 0x3e8
jb 0x5b4625
mov byte [0x7e9d20], 0
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp]
call fcn.004e5b7c
lea ecx, [esp + 0x10]
call fcn.0052c3e4
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b4817
movzx eax, byte [esp + 0x30]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
je 0x5b4576
cmp ebp, 0x3e8
jb 0x5b455f
mov byte [0x7e9d20], 0
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp + 0x10]
call fcn.0052c3e4
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x30
call fcn.006977b0
mov ecx, dword [esp + 0x30]
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.0052c3f8
mov ecx, 0x801
call fcn.004dc288
mov dword [esp + 0x24], eax
push str.AUTH_LOGIN_r_n
push eax
call fcn.00697936
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b488d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4878
dec eax
push eax
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.005b5bbc
cmp eax, 1
je 0x5b48cf
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4b75
lea eax, [esp + 0x30]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b48ff
cmp eax, 0xffffffff
jne 0x5b48ee
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp + 0x10]
call fcn.0052c3e4
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [esp + 0x30]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
jne 0x5b48ab
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d6544
call fcn.00698cf0
add esp, 0xc
test eax, eax
jne 0x5b48cf
cmp byte [0x7e9d23], 0x2d
je 0x5b489f
push dword [ebx + 0x28]
lea ecx, [esp + 4]
call fcn.004e5a7c
lea ecx, [esp]
call fcn.0057f960
mov esi, eax
lea ecx, [esp]
call fcn.0057f960
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4962
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b494d
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov edx, eax
call fcn.005b4b84
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4990
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b497b
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5bbc
cmp eax, 1
je 0x5b49ce
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4b69
lea eax, [esp + 0x2c]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b4a06
cmp eax, 0xffffffff
jne 0x5b49f5
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp]
call fcn.004e5b7c
lea ecx, [esp + 0x10]
call fcn.0052c3e4
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [esp + 0x2c]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
jne 0x5b49aa
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d6544
call fcn.00698cf0
add esp, 0xc
test eax, eax
jne 0x5b49ce
cmp byte [0x7e9d23], 0x2d
je 0x5b499e
push dword [ebx + 0x2c]
lea ecx, [esp + 4]
call fcn.004e58f4
lea ecx, [esp]
call fcn.0057f960
mov esi, eax
lea ecx, [esp]
call fcn.0057f960
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4a69
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4a54
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov edx, eax
call fcn.005b4b84
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4a97
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4a82
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5bbc
cmp eax, 1
je 0x5b4ad5
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4b5d
lea eax, [esp + 0x28]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b4b0d
cmp eax, 0xffffffff
jne 0x5b4afc
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp]
call fcn.004e5b7c
lea ecx, [esp + 0x10]
call fcn.0052c3e4
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [esp + 0x28]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
jne 0x5b4ab1
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d6540
call fcn.00698cf0
add esp, 0xc
test eax, eax
jne 0x5b4ad5
cmp byte [0x7e9d23], 0x2d
je 0x5b4aa5
mov ecx, dword [esp + 0x24]
call fcn.004db958
lea ecx, [esp]
call fcn.004e5b7c
lea ecx, [esp + 0x10]
call fcn.0052c3e4
xor eax, eax
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
mov byte [0x7e9d20], 0
jmp 0x5b4ad5
mov byte [0x7e9d20], 0
jmp 0x5b49ce
mov byte [0x7e9d20], 0
jmp 0x5b48cf