Function at 0x416347
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x44
xor eax, eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, str.AUTH_LOGIN_r_n
or ecx, 0xffffffff
xor ebx, ebx
repne scasb al, byte es:[edi]
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.WS2_32.dll_send]
not ecx
dec ecx
push ebx
push ecx
push str.AUTH_LOGIN_r_n
push eax
call ebp
cmp eax, 0xffffffff
jne 0x41637e
mov ecx, esi
call fcn.00415f40
jmp 0x4164df
push 0x458274
mov ecx, esi
call fcn.00415f70
test al, al
je 0x4164df
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x41639f
mov eax, 0x44d88c
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00415350
push eax
lea ecx, [esp + 0x38]
call fcn.00409e70
mov edx, eax
mov edi, 0x45739c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x45739c
mov ecx, edx
call fcn.00415dc0
push eax
lea ecx, [esp + 0x18]
call fcn.00409e70
push 1
lea ecx, [esp + 0x38]
call fcn.0040a4d0
push 1
lea ecx, [esp + 0x48]
call fcn.0040a4d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x416408
mov eax, 0x44d88c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push ebx
push ecx
push eax
push edx
call ebp
cmp eax, 0xffffffff
jne 0x416426
mov ecx, esi
call fcn.00415f40
jmp 0x4164d4
push 0x458274
mov ecx, esi
call fcn.00415f70
test al, al
je 0x4164d4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jne 0x416447
mov eax, 0x44d88c
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00415350
push eax
lea ecx, [esp + 0x48]
call fcn.00409e70
mov edx, eax
mov edi, 0x45739c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x45739c
mov ecx, edx
call fcn.00415dc0
push eax
lea ecx, [esp + 0x28]
call fcn.00409e70
push 1
lea ecx, [esp + 0x48]
call fcn.0040a4d0
push 1
lea ecx, [esp + 0x38]
call fcn.0040a4d0
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x4164b0
mov eax, 0x44d88c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
push ebx
push ecx
push eax
push edx
call ebp
cmp eax, 0xffffffff
jne 0x416501
mov ecx, esi
call fcn.00415f40
push 1
lea ecx, [esp + 0x28]
call fcn.0040a4d0
push 1
lea ecx, [esp + 0x18]
call fcn.0040a4d0
push 1
lea ecx, [esp + 0x5c]
call fcn.0040a4d0
push 1
lea ecx, [esp + 0x6c]
call fcn.0040a4d0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x44
ret 0x20
push 0x458270
mov ecx, esi
call fcn.00415f70
test al, al
jne 0x41656c
push 1
lea ecx, [esp + 0x28]
call fcn.0040a4d0
push 1
lea ecx, [esp + 0x18]
call fcn.0040a4d0
push 1
lea ecx, [esp + 0x5c]
call fcn.0040a4d0
mov ecx, dword [esp + 0x6c]
cmp ecx, ebx
je 0x416560
mov al, byte [ecx - 1]
cmp al, bl
je 0x416556
cmp al, 0xff
je 0x416556
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
xor al, al
pop ebx
add esp, 0x44
ret 0x20
dec ecx
push ecx
call fcn.00419740
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x44
ret 0x20
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x416590
mov al, byte [ecx - 1]
cmp al, bl
je 0x416586
cmp al, 0xff
je 0x416586
dec al
mov byte [ecx - 1], al
jmp 0x416590
dec ecx
push ecx
call fcn.00419740
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4165c0
mov al, byte [ecx - 1]
cmp al, bl
je 0x4165b6
cmp al, 0xff
je 0x4165b6
dec al
mov byte [ecx - 1], al
jmp 0x4165c0
dec ecx
push ecx
call fcn.00419740
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4165f0
mov al, byte [ecx - 1]
cmp al, bl
je 0x4165e6
cmp al, 0xff
je 0x4165e6
dec al
mov byte [ecx - 1], al
jmp 0x4165f0
dec ecx
push ecx
call fcn.00419740
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ebx
cmp ecx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
je 0x41662a
mov al, byte [ecx - 1]
cmp al, bl
je 0x416620
cmp al, 0xff
je 0x416620
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
mov al, 1
pop ebx
add esp, 0x44
ret 0x20
dec ecx
push ecx
call fcn.00419740
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x44
ret 0x20