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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cfd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
mov dword [ebp - 0x184], ecx
lea ecx, [ebp - 0x14]
call fcn.004054c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004054c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004054c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x184]
cmp dword [ecx + 0x1c], 0
jne 0x40192f
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
push 0x43a220
call fcn.004218f8
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov dword [ebp - 0x124], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x124]
jmp 0x401f9d
cmp dword [ebp + 0x10], 0
je 0x401c0e
mov ecx, dword [ebp - 0x184]
add ecx, 0x4c
call fcn.00405520
test eax, eax
je 0x4019ab
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push str.Apop_error_
call fcn.004218f8
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov dword [ebp - 0x12c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x12c]
jmp 0x401f9d
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x184]
add eax, 0x4c
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.00421ab9
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x10]
call fcn.004219c3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.0042188a
lea ecx, [ebp - 0x10]
call fcn.004054e0
push eax
lea ecx, [ebp - 0x10]
call fcn.00405540
push eax
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.004045b8
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004219c3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.0042188a
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.apop__s__s_r_n
lea eax, [ebp - 0x11c]
push eax
call fcn.0040f9cb
add esp, 0x10
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0040f950
add esp, 4
push eax
lea edx, [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x401b19
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
push 0x43a250
call fcn.004218f8
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov edx, dword [ebp - 0x184]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x20], 0
mov dword [ebp - 0x13c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x13c]
jmp 0x401f9d
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
push 0x43a260
call fcn.004218f8
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.004026fb
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x401b8c
mov dword [ebp - 0x144], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x144]
jmp 0x401f9d
push 0
push 0x2d
lea ecx, [ebp - 0x14]
call fcn.00421cd6
test eax, eax
jne 0x401bfc
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push str.Username_or_Password_error_
call fcn.004218f8
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov dword [ebp - 0x14c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x14c]
jmp 0x401f9d
mov edx, dword [ebp - 0x184]
mov dword [edx + 0x20], 1
jmp 0x401f66
mov eax, dword [ebp + 8]
push eax
push str.user__s_r_n
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0040f9cb
add esp, 0xc
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.0040f950
add esp, 4
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x184]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x401cd2
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x43a28c
call fcn.004218f8
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x184]
mov dword [ecx + 0x20], 0
mov dword [ebp - 0x154], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x154]
jmp 0x401f9d
push ecx
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x43a29c
call fcn.004218f8
mov dword [ebp - 0x1b4], eax
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x184]
call fcn.004026fb
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
jne 0x401d45
mov dword [ebp - 0x15c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x15c]
jmp 0x401f9d
push 0
push 0x2d
lea ecx, [ebp - 0x14]
call fcn.00421cd6
test eax, eax
jne 0x401db5
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push str.User_Name_error_
call fcn.004218f8
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov dword [ebp - 0x164], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x164]
jmp 0x401f9d
mov eax, dword [ebp + 0xc]
push eax
push str.pass__s_r_n
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0040f9cb
add esp, 0xc
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.0040f950
add esp, 4
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x184]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x401e79
push ecx
mov ecx, esp
mov dword [ebp - 0x168], esp
push 0x43a2c0
call fcn.004218f8
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x184]
mov dword [ecx + 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x16c]
jmp 0x401f9d
push ecx
mov ecx, esp
mov dword [ebp - 0x170], esp
push 0x43a2d0
call fcn.004218f8
mov dword [ebp - 0x1c4], eax
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x184]
call fcn.004026fb
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jne 0x401eec
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x174]
jmp 0x401f9d
push 0
push 0x2d
lea ecx, [ebp - 0x14]
call fcn.00421cd6
test eax, eax
jne 0x401f59
push ecx
mov ecx, esp
mov dword [ebp - 0x178], esp
push str.User_or_Password_error_
call fcn.004218f8
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x184]
call fcn.004012e9
mov dword [ebp - 0x17c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x17c]
jmp 0x401f9d
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x20], 1
mov dword [ebp - 0x180], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0042188a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc