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

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x5b3dbc
test dword [0x7eda90], 0xffffffff
jne 0x5b410c
call fcn.006a6b5c
jmp fcn.005b3d94
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x30
call fcn.00696350
mov ecx, dword [esp + 0x30]
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.0052bdc4
mov ecx, 0x801
call fcn.004dbd48
mov dword [esp + 0x24], eax
push str.AUTH_LOGIN_r_n
push eax
call fcn.006964d6
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3e11
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3dfc
dec eax
push eax
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.005b5490
cmp eax, 1
je 0x5b40eb
mov esi, dword [ebx + 8]
mov byte [0x7e8d00], 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 0x5b40be
mov byte [ebp + 0x7e8d00], 0
push 3
push 0x7e8d00
push 0x6d54a4
call fcn.00697890
add esp, 0xc
test eax, eax
jne 0x5b40eb
cmp byte [0x7e8d03], 0x2d
je 0x5b3e27
push dword [ebx + 0x28]
lea ecx, [esp + 4]
call fcn.004e54bc
lea ecx, [esp]
call fcn.004e5330
mov ebp, eax
lea ecx, [esp]
call fcn.004e5330
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3ead
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3e98
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov edx, eax
call fcn.005b4458
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3edb
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3ec6
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5490
cmp eax, 1
je 0x5b4097
mov esi, dword [ebx + 8]
mov byte [0x7e8d00], 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 0x5b406a
mov byte [ebp + 0x7e8d00], 0
push 3
push 0x7e8d00
push 0x6d54a4
call fcn.00697890
add esp, 0xc
test eax, eax
jne 0x5b4097
cmp byte [0x7e8d03], 0x2d
je 0x5b3eed
push dword [ebx + 0x2c]
lea ecx, [esp + 4]
call fcn.004e5334
lea ecx, [esp]
call fcn.004e5330
mov ebp, eax
lea ecx, [esp]
call fcn.004e5330
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3f73
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3f5e
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov edx, eax
call fcn.005b4458
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3fa1
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3f8c
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5490
cmp eax, 1
je 0x5b4043
mov esi, dword [ebx + 8]
mov byte [0x7e8d00], 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 0x5b401e
mov byte [ebp + 0x7e8d00], 0
push 3
push 0x7e8d00
push 0x6d54a0
call fcn.00697890
add esp, 0xc
test eax, eax
jne 0x5b4043
cmp byte [0x7e8d03], 0x2d
je 0x5b3fb3
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp]
call fcn.004e55bc
lea ecx, [esp + 0x10]
call fcn.0052bdb0
xor eax, eax
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b4043
movzx eax, byte [esp + 0x28]
mov byte [ebp + 0x7e8d00], al
inc ebp
cmp eax, 0xa
je 0x5b3fd2
cmp ebp, 0x3e8
jb 0x5b3fbf
mov byte [0x7e8d00], 0
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp]
call fcn.004e55bc
lea ecx, [esp + 0x10]
call fcn.0052bdb0
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b4097
movzx eax, byte [esp + 0x2c]
mov byte [ebp + 0x7e8d00], al
inc ebp
cmp eax, 0xa
je 0x5b3f10
cmp ebp, 0x3e8
jb 0x5b3ef9
mov byte [0x7e8d00], 0
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp]
call fcn.004e55bc
lea ecx, [esp + 0x10]
call fcn.0052bdb0
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b40eb
movzx eax, byte [esp + 0x30]
mov byte [ebp + 0x7e8d00], al
inc ebp
cmp eax, 0xa
je 0x5b3e4a
cmp ebp, 0x3e8
jb 0x5b3e33
mov byte [0x7e8d00], 0
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp + 0x10]
call fcn.0052bdb0
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.00696350
mov ecx, dword [esp + 0x30]
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.0052bdc4
mov ecx, 0x801
call fcn.004dbd48
mov dword [esp + 0x24], eax
push str.AUTH_LOGIN_r_n
push eax
call fcn.006964d6
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4161
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b414c
dec eax
push eax
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.005b5490
cmp eax, 1
je 0x5b41a3
mov esi, dword [ebx + 8]
mov byte [0x7e8d00], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4449
lea eax, [esp + 0x30]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b41d3
cmp eax, 0xffffffff
jne 0x5b41c2
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp + 0x10]
call fcn.0052bdb0
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [esp + 0x30]
mov byte [ebp + 0x7e8d00], al
inc ebp
cmp eax, 0xa
jne 0x5b417f
mov byte [ebp + 0x7e8d00], 0
push 3
push 0x7e8d00
push 0x6d54a4
call fcn.00697890
add esp, 0xc
test eax, eax
jne 0x5b41a3
cmp byte [0x7e8d03], 0x2d
je 0x5b4173
push dword [ebx + 0x28]
lea ecx, [esp + 4]
call fcn.004e54bc
lea ecx, [esp]
call fcn.004e5330
mov esi, eax
lea ecx, [esp]
call fcn.004e5330
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4236
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4221
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov edx, eax
call fcn.005b4458
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4264
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b424f
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5490
cmp eax, 1
je 0x5b42a2
mov esi, dword [ebx + 8]
mov byte [0x7e8d00], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b443d
lea eax, [esp + 0x2c]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b42da
cmp eax, 0xffffffff
jne 0x5b42c9
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp]
call fcn.004e55bc
lea ecx, [esp + 0x10]
call fcn.0052bdb0
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [esp + 0x2c]
mov byte [ebp + 0x7e8d00], al
inc ebp
cmp eax, 0xa
jne 0x5b427e
mov byte [ebp + 0x7e8d00], 0
push 3
push 0x7e8d00
push 0x6d54a4
call fcn.00697890
add esp, 0xc
test eax, eax
jne 0x5b42a2
cmp byte [0x7e8d03], 0x2d
je 0x5b4272
push dword [ebx + 0x2c]
lea ecx, [esp + 4]
call fcn.004e5334
lea ecx, [esp]
call fcn.004e5330
mov esi, eax
lea ecx, [esp]
call fcn.004e5330
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b433d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4328
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov edx, eax
call fcn.005b4458
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b436b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4356
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5490
cmp eax, 1
je 0x5b43a9
mov esi, dword [ebx + 8]
mov byte [0x7e8d00], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4431
lea eax, [esp + 0x28]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b43e1
cmp eax, 0xffffffff
jne 0x5b43d0
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp]
call fcn.004e55bc
lea ecx, [esp + 0x10]
call fcn.0052bdb0
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [esp + 0x28]
mov byte [ebp + 0x7e8d00], al
inc ebp
cmp eax, 0xa
jne 0x5b4385
mov byte [ebp + 0x7e8d00], 0
push 3
push 0x7e8d00
push 0x6d54a0
call fcn.00697890
add esp, 0xc
test eax, eax
jne 0x5b43a9
cmp byte [0x7e8d03], 0x2d
je 0x5b4379
mov ecx, dword [esp + 0x24]
call fcn.004db418
lea ecx, [esp]
call fcn.004e55bc
lea ecx, [esp + 0x10]
call fcn.0052bdb0
xor eax, eax
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
mov byte [0x7e8d00], 0
jmp 0x5b43a9
mov byte [0x7e8d00], 0
jmp 0x5b42a2
mov byte [0x7e8d00], 0
jmp 0x5b41a3