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

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x5b40c4
test dword [0x7eeab0], 0xffffffff
jne 0x5b4414
call fcn.006a7b4c
jmp fcn.005b409c
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x30
call fcn.00697340
mov ecx, dword [esp + 0x30]
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.0052bf8c
mov ecx, 0x801
call fcn.004dbe28
mov dword [esp + 0x24], eax
push str.AUTH_LOGIN_r_n
push eax
call fcn.006974c6
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4119
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4104
dec eax
push eax
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.005b5798
cmp eax, 1
je 0x5b43f3
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 0x5b43c6
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d64a4
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b43f3
cmp byte [0x7e9d23], 0x2d
je 0x5b412f
push dword [ebx + 0x28]
lea ecx, [esp + 4]
call fcn.004e55ec
lea ecx, [esp]
call fcn.004e5460
mov ebp, eax
lea ecx, [esp]
call fcn.004e5460
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b41b5
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b41a0
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov edx, eax
call fcn.005b4760
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b41e3
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b41ce
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5798
cmp eax, 1
je 0x5b439f
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 0x5b4372
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d64a4
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b439f
cmp byte [0x7e9d23], 0x2d
je 0x5b41f5
push dword [ebx + 0x2c]
lea ecx, [esp + 4]
call fcn.004e5464
lea ecx, [esp]
call fcn.004e5460
mov ebp, eax
lea ecx, [esp]
call fcn.004e5460
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b427b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4266
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov edx, eax
call fcn.005b4760
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b42a9
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4294
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5798
cmp eax, 1
je 0x5b434b
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 0x5b4326
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d64a0
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b434b
cmp byte [0x7e9d23], 0x2d
je 0x5b42bb
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp]
call fcn.004e56ec
lea ecx, [esp + 0x10]
call fcn.0052bf78
xor eax, eax
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b434b
movzx eax, byte [esp + 0x28]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
je 0x5b42da
cmp ebp, 0x3e8
jb 0x5b42c7
mov byte [0x7e9d20], 0
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp]
call fcn.004e56ec
lea ecx, [esp + 0x10]
call fcn.0052bf78
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b439f
movzx eax, byte [esp + 0x2c]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
je 0x5b4218
cmp ebp, 0x3e8
jb 0x5b4201
mov byte [0x7e9d20], 0
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp]
call fcn.004e56ec
lea ecx, [esp + 0x10]
call fcn.0052bf78
mov eax, 1
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
cmp eax, 0xffffffff
je 0x5b43f3
movzx eax, byte [esp + 0x30]
mov byte [ebp + 0x7e9d20], al
inc ebp
cmp eax, 0xa
je 0x5b4152
cmp ebp, 0x3e8
jb 0x5b413b
mov byte [0x7e9d20], 0
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp + 0x10]
call fcn.0052bf78
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.00697340
mov ecx, dword [esp + 0x30]
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.0052bf8c
mov ecx, 0x801
call fcn.004dbe28
mov dword [esp + 0x24], eax
push str.AUTH_LOGIN_r_n
push eax
call fcn.006974c6
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4469
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4454
dec eax
push eax
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.005b5798
cmp eax, 1
je 0x5b44ab
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4751
lea eax, [esp + 0x30]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b44db
cmp eax, 0xffffffff
jne 0x5b44ca
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp + 0x10]
call fcn.0052bf78
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 0x5b4487
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d64a4
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b44ab
cmp byte [0x7e9d23], 0x2d
je 0x5b447b
push dword [ebx + 0x28]
lea ecx, [esp + 4]
call fcn.004e55ec
lea ecx, [esp]
call fcn.004e5460
mov esi, eax
lea ecx, [esp]
call fcn.004e5460
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b453e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4529
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov edx, eax
call fcn.005b4760
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b456c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4557
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5798
cmp eax, 1
je 0x5b45aa
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4745
lea eax, [esp + 0x2c]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b45e2
cmp eax, 0xffffffff
jne 0x5b45d1
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp]
call fcn.004e56ec
lea ecx, [esp + 0x10]
call fcn.0052bf78
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 0x5b4586
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d64a4
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b45aa
cmp byte [0x7e9d23], 0x2d
je 0x5b457a
push dword [ebx + 0x2c]
lea ecx, [esp + 4]
call fcn.004e5464
lea ecx, [esp]
call fcn.004e5460
mov esi, eax
lea ecx, [esp]
call fcn.004e5460
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4645
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b4630
dec eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov edx, eax
call fcn.005b4760
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b4673
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b465e
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.005b5798
cmp eax, 1
je 0x5b46b1
mov esi, dword [ebx + 8]
mov byte [0x7e9d20], 0
xor ebp, ebp
cmp ebp, 0x3e8
jae 0x5b4739
lea eax, [esp + 0x28]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b46e9
cmp eax, 0xffffffff
jne 0x5b46d8
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp]
call fcn.004e56ec
lea ecx, [esp + 0x10]
call fcn.0052bf78
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 0x5b468d
mov byte [ebp + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d64a0
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b46b1
cmp byte [0x7e9d23], 0x2d
je 0x5b4681
mov ecx, dword [esp + 0x24]
call fcn.004db4f8
lea ecx, [esp]
call fcn.004e56ec
lea ecx, [esp + 0x10]
call fcn.0052bf78
xor eax, eax
add esp, 0x34
pop ebx
pop ebp
pop esi
pop edi
ret
mov byte [0x7e9d20], 0
jmp 0x5b46b1
mov byte [0x7e9d20], 0
jmp 0x5b45aa
mov byte [0x7e9d20], 0
jmp 0x5b44ab