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

Disassembly:
mov eax, 0x2850
call fcn.00406e10
push ebx
push ebp
push esi
lea eax, [esp + 0x24]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__ftime]
mov esi, dword [esp + 0x286c]
mov ecx, dword [esp + 0x2868]
add esp, 4
xor ebx, ebx
push ebx
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
call fcn.00402b60
mov edi, str.DATAERROR
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x34]
mov eax, ecx
mov esi, edi
mov edi, edx
lea ebp, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x20], ebx
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.AUTEKEND
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
mov dword [esp + 0x10], ecx
jge 0x4040bb
mov edx, ecx
cmp edx, ebx
mov dword [esp + 0x1c], ebx
jle 0x4040df
mov ecx, edx
xor eax, eax
mov esi, ecx
lea edi, [esp + 0x60]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov ebx, edx
and ecx, 3
mov dword [esp + 0x1c], ebx
rep stosb byte es:[edi], al
mov ecx, dword [0x40a428]
mov edx, dword fs:[0x2c]
mov edi, dword [edx + ecx*4]
mov eax, dword [edi + 0xf8c0]
test eax, eax
je 0x40412d
push 2
push 0
lea esi, [edi + 0xf8c8]
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40412d
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetMessageA]
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov edx, dword [edi + 0xf8e4]
mov ecx, 0x2800
sub ecx, ebx
lea eax, [esp + ebx + 0x60]
push 0
push ecx
push eax
push edx
call sub.WSOCK32.dll_recv
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4041bf
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x40438c
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.MSVCRT.dll__ftime]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
add esp, 4
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_difftime]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
and eax, 0xffff
and ecx, 0xffff
sub ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul dword [0x4080d0]
fsubp st(1)
fild dword [0x409020]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x40438c
jmp 0x4040df
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.MSVCRT.dll__ftime]
add ebp, ebx
add esp, 4
cmp ebp, 0x80
jle 0x4041dc
lea eax, [ebp - 0x80]
jmp 0x4041de
xor eax, eax
mov edx, ebp
mov esi, eax
sub edx, ebx
cmp eax, edx
mov dword [esp + 0x18], edx
jg 0x404250
lea ecx, [esp + eax + 0x60]
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
jle 0x404211
movsx edi, byte [esp + eax + 0x34]
xor edx, edx
mov dl, byte [eax + ecx]
cmp edx, edi
jne 0x404211
mov edx, dword [esp + 0x14]
inc eax
cmp eax, edx
jl 0x4041fa
cmp eax, dword [esp + 0x14]
je 0x4044fe
mov edx, dword [esp + 0x10]
xor eax, eax
test edx, edx
jle 0x40423c
movsx edi, byte [esp + eax + 0x44]
xor edx, edx
mov dl, byte [eax + ecx]
cmp edx, edi
jne 0x40423c
mov edx, dword [esp + 0x10]
inc eax
cmp eax, edx
jl 0x404225
cmp eax, dword [esp + 0x10]
je 0x404407
mov edx, dword [esp + 0x18]
inc esi
inc ecx
cmp esi, edx
jle 0x4041f0
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jge 0x40429d
mov edi, ebp
lea esi, [edx + 1]
sub edi, ecx
cmp esi, edi
jg 0x40429d
xor eax, eax
test ecx, ecx
jle 0x404288
lea ecx, [esp + esi + 0x60]
movsx edx, byte [esp + eax + 0x34]
xor ebx, ebx
mov bl, byte [ecx]
cmp ebx, edx
jne 0x404284
mov edx, dword [esp + 0x14]
inc eax
inc ecx
cmp eax, edx
jl 0x40426d
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x4044fe
inc esi
cmp esi, edi
jle 0x404263
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jge 0x4042ea
mov edi, ebp
lea esi, [edx + 1]
sub edi, ecx
cmp esi, edi
jg 0x4042ea
xor eax, eax
test ecx, ecx
jle 0x4042d9
lea ecx, [esp + esi + 0x60]
movsx edx, byte [esp + eax + 0x44]
xor ebx, ebx
mov bl, byte [ecx]
cmp ebx, edx
jne 0x4042d1
mov edx, dword [esp + 0x10]
inc eax
inc ecx
cmp eax, edx
jl 0x4042ba
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x404527
inc esi
cmp esi, edi
jle 0x4042b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x404332
mov eax, dword [esp + 0x2870]
mov ecx, dword [esp + 0x286c]
push eax
lea edx, [ebx + ebx]
mov eax, ebp
push ecx
mov ecx, dword [esp + 0x286c]
sub eax, edx
push eax
lea eax, [esp + ebx + 0x6c]
push ecx
push eax
mov dword [esp + 0x34], 1
call fcn.00402bf0
add esp, 0x14
cmp eax, 0xffffffff
je 0x40462c
jmp 0x404361
mov eax, dword [esp + 0x2870]
mov ecx, dword [esp + 0x286c]
push eax
push ecx
push edx
mov edx, dword [esp + 0x2870]
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.00402bf0
add esp, 0x14
cmp eax, 0xffffffff
je 0x404668
mov ecx, dword [esp + 0x24]
add ecx, eax
xor eax, eax
test ebx, ebx
mov dword [esp + 0x24], ecx
jle 0x4040df
mov edx, ebp
lea ecx, [esp + eax + 0x60]
sub edx, ebx
inc eax
cmp eax, ebx
mov dl, byte [edx + ecx]
mov byte [ecx], dl
jl 0x404375
jmp 0x4040df
mov edi, 0x4093a4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [esp + 0x2870], eax
jle 0x4043ec
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x286c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x60]
push eax
push 0xa
call fcn.004032a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2850
ret 0x10
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40447d
mov ebp, dword [esp + 0x2870]
mov ecx, dword [esp + 0x286c]
mov edx, dword [esp + 0x2864]
push ebp
sub esi, ebx
push ecx
push esi
lea eax, [esp + ebx + 0x6c]
push edx
push eax
call fcn.00402bf0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40461a
or ecx, eax
mov edi, 0x409394
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ebp, eax
jle 0x4046c8
jmp 0x4046a2
mov ebx, dword [esp + 0x2870]
mov ebp, dword [esp + 0x286c]
mov ecx, dword [esp + 0x2864]
push ebx
push ebp
push esi
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.00402bf0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40461a
or ecx, eax
mov edi, 0x409394
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ebx, eax
jle 0x4046c8
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
jmp 0x4046bc
mov ecx, dword [esp + 0x2870]
mov edx, dword [esp + 0x286c]
push ecx
push edx
push ebp
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.00403a70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2850
ret 0x10
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40459d
mov ebp, dword [esp + 0x2870]
mov ecx, dword [esp + 0x286c]
mov edx, dword [esp + 0x2864]
push ebp
sub esi, ebx
push ecx
push esi
lea eax, [esp + ebx + 0x6c]
push edx
push eax
call fcn.00402bf0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40461a
or ecx, eax
mov edi, 0x409394
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ebp, eax
jle 0x4046c8
jmp 0x4046a2
mov ebx, dword [esp + 0x2870]
mov ebp, dword [esp + 0x286c]
mov ecx, dword [esp + 0x2864]
push ebx
push ebp
push esi
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.00402bf0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40461a
or ecx, eax
mov edi, 0x409394
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ebx, eax
jle 0x4046c8
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
jmp 0x4046bc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2850
ret 0x10
mov edi, 0x409394
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [esp + 0x2870], eax
jle 0x4046c8
jmp 0x4046a2
mov edi, 0x409394
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [esp + 0x2870], eax
jle 0x4046c8
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x286c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x60]
push eax
push 5
call fcn.004032a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2850
ret 0x10