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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4548e8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x140d8
call fcn.004344d0
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
push 0xb0
lea eax, [ebp - 0x140c4]
mov dword [ebp - 0x140c8], 0
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00435290
add esp, 0xc
cmp dword [esi + 0x14], 7
jbe 0x4062b7
mov esi, dword [esi]
lea ecx, [ebp - 0x1405c]
mov dword [ebp - 0x140c4], 0x461124
call fcn.00413880
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x140c4]
push 0
mov dword [ebp - 0x140c8], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x140c8], eax
lea eax, [ebp - 0x140c0]
push eax
mov eax, dword [ebp - 0x140c4]
lea ecx, [ebp - 0x140c4]
add ecx, dword [eax + 4]
call fcn.00415860
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x140c8], eax
lea ecx, [ebp - 0x140c0]
call fcn.00414d50
push ecx
push 0x22
push esi
lea ecx, [ebp - 0x140c0]
mov byte [ebp - 4], 4
call fcn.00414b80
test eax, eax
jne 0x406397
mov eax, dword [ebp - 0x140c4]
lea ecx, [ebp - 0x140c4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402ec0
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x140c8], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x140b8], 6
je 0x406462
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x140c8], eax
lea ecx, [ebp - 0x140c0]
call fcn.0040f490
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x140c8], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1405c]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0041fefc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004333df
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x14000
cmp esi, ecx
mov eax, esi
cmovg eax, ecx
test esi, esi
jle 0x40675a
push 0
push eax
lea eax, [ebp - 0x14014]
mov byte [ebp - 4], 7
push eax
push dword [0x46de40]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x406616
test edi, edi
je 0x406616
xorps xmm0, xmm0
mov dword [ebp - 0x140d0], 0
lea ecx, [ebp - 0x14014]
mov dword [ebp - 0x140cc], 0
movups xmmword [ebp - 0x140e0], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4064d0
sub ecx, edx
lea eax, [ebp - 0x14014]
push ecx
push eax
lea ecx, [ebp - 0x140e0]
call fcn.00417360
push ecx
push str.CANCEL2
lea ecx, [ebp - 0x140e0]
call fcn.00410b60
mov ecx, dword [ebp - 0x140cc]
mov dword [ebp - 0x140c8], eax
cmp ecx, 0xf
jbe 0x406543
mov edx, dword [ebp - 0x140e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406533
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4067fa
push ecx
push edx
call fcn.00433928
mov eax, dword [ebp - 0x140c8]
add esp, 8
cmp eax, 0xffffffff
je 0x4065e6
lea ecx, [ebp - 0x140c0]
call fcn.004137a0
test eax, eax
jne 0x406584
mov eax, dword [ebp - 0x140c4]
lea ecx, [ebp - 0x140c4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402ec0
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x140c8], eax
lea ecx, [ebp - 0x140c0]
call fcn.0040f490
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x140c8], eax
mov byte [ebp - 4], 9
jmp 0x40642d
mov eax, edi
lea ecx, [ebp - 0x140c4]
cdq
push edx
push eax
lea eax, [ebp - 0x14014]
push eax
call fcn.0040fb10
sub esi, edi
mov dword [ebp - 4], 5
cmp esi, 0x14000
mov ecx, 0x14000
jmp 0x40646c
lea ecx, [ebp - 0x140c0]
call fcn.004137a0
test eax, eax
jne 0x40664e
mov eax, dword [ebp - 0x140c4]
lea ecx, [ebp - 0x140c4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402ec0
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x140c8], eax
lea ecx, [ebp - 0x140c0]
call fcn.0040f490
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x140c8], eax
mov byte [ebp - 4], 8
jmp 0x40642d
lea ecx, [ebp - 0x140c0]
call fcn.004137a0
test eax, eax
jne 0x406792
mov eax, dword [ebp - 0x140c4]
lea ecx, [ebp - 0x140c4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402ec0
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x140c8], eax
lea ecx, [ebp - 0x140c0]
call fcn.0040f490
mov eax, dword [ebp - 0x140c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x140c8], eax
mov byte [ebp - 4], 0xc
jmp 0x40642d
call fcn.0043bda5
int3