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

Disassembly:
push 0xffffffffffffffff
push 0x414166
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x41c404]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41c404]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.WS2_32.dll_send]
push 0
push 0xc
push str.AUTH_LOGIN_r_n
push eax
mov dword [esp + 0xa4], 1
call ebp
or edi, 0xffffffff
cmp eax, edi
jne 0x40fe8a
mov ecx, dword [esi + 4]
push 2
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x94], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x94], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x41009e
push 0x417778
mov ecx, esi
call fcn.0040fc80
test al, al
je 0x40fe5a
mov eax, dword [esp + 0xa0]
mov ebx, 0x10
cmp dword [esp + 0xb4], ebx
jae 0x40feb6
lea eax, [esp + 0xa0]
mov ecx, dword [esp + 0xb0]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x23]
call fcn.0040fa20
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push 0x417720
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xa0], 2
call edi
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebx
jae 0x40ff0b
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 4]
push 0
push ecx
push eax
push edx
call ebp
cmp eax, 0xffffffff
jne 0x40ff80
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x94], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x94], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x41009e
push 0x417778
mov ecx, esi
call fcn.0040fc80
test al, al
je 0x40ff3a
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0xd0], ebx
jae 0x40ffa7
lea eax, [esp + 0xbc]
mov edx, dword [esp + 0xcc]
push edx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x23]
call fcn.0040fa20
push 0x417720
push eax
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xa0], 5
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], ebx
jae 0x40fff9
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x80]
push 0
push edx
push eax
mov eax, dword [esi + 4]
push eax
call ebp
or edi, 0xffffffff
mov ecx, esi
cmp eax, edi
jne 0x410041
call fcn.0040fc60
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x40fe5a
push 0x417774
call fcn.0040fc80
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x6c]
test al, al
je 0x410024
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x94], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x94], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00411bf6
add esp, 0x84
ret 0x38