Function at 0x411960
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x4c030c
mov eax, dword fs:[0]
push eax
sub esp, 0x968
mov eax, dword [0x4e5b00]
xor eax, esp
mov dword [esp + 0x960], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5b00]
xor eax, esp
push eax
lea eax, [esp + 0x97c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98c]
xor esi, esi
push 0x7ff
lea eax, [esp + 0x179]
push esi
push eax
mov dword [ebp], esi
mov dword [ebp + 4], esi
mov byte [esp + 0x180], 0
call fcn.00465660
mov ebx, dword [sym.imp.WS2_32.dll_select]
add esp, 0xc
mov dword [esp + 0x4c], 3
mov dword [esp + 0x50], esi
xor edi, edi
lea esp, [esp]
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0
lea edx, [esp + 0x60]
mov dword [esp + 0x64], eax
push edx
inc eax
push eax
mov dword [esp + 0x68], 1
call ebx
test eax, eax
jl 0x411b56
jne 0x411a18
inc edi
cmp edi, 0xa
jle 0x4119e0
xor al, al
jmp 0x411de4
mov ecx, dword [ebp + 0x1c]
xor edi, edi
push edi
push 1
lea eax, [esp + esi + 0x17c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x411b56
inc esi
cmp esi, 0x800
jge 0x411b56
cmp esi, 4
jl 0x4119e0
cmp byte [esp + esi + 0x170], 0xd
jne 0x4119e0
cmp byte [esp + esi + 0x171], 0xa
jne 0x4119e0
cmp byte [esp + esi + 0x172], 0xd
jne 0x4119e0
cmp byte [esp + esi + 0x173], 0xa
jne 0x4119e0
push 5
lea edx, [esp + 0x178]
push str.HTTP_
push edx
mov byte [esp + esi + 0x180], 0
call fcn.00462703
add esp, 0xc
test eax, eax
jne 0x411b56
fldz
lea eax, [esp + 0x24]
push eax
fstp dword [esp + 0x40]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x17c]
push str.HTTP__f__d
xor ebx, ebx
push edx
mov dword [esp + 0x34], ebx
call fcn.00463417
add esp, 0x10
cmp eax, 2
jne 0x411b56
mov eax, dword [esp + 0x24]
cmp eax, 0xc8
je 0x411af4
cmp eax, 0x12e
je 0x411af4
cmp eax, 0x12d
je 0x411af4
cmp eax, 0x133
jne 0x411b56
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402ad0
mov dword [esp + 0x984], ebx
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebx
jl 0x411b2f
push str.Date:
push ecx
call fcn.00463a25
mov ecx, dword [esp + 0x20]
add esp, 8
cmp eax, ebx
je 0x411b2f
sub eax, ecx
jns 0x411b5d
mov dword [esp + 0x984], 0xffffffff
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x411de4
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00412e00
mov byte [esp + 0x984], 1
mov edi, dword [esp + 0x20]
mov esi, dword [edi - 0xc]
cmp esi, ebx
jge 0x411b84
or eax, 0xffffffff
jmp 0x411b9d
push 0x4ca4cc
push edi
call fcn.00463a25
add esp, 8
cmp eax, ebx
jne 0x411b9b
or eax, 0xffffffff
jmp 0x411b9d
sub eax, edi
cmp eax, ebx
mov ecx, esi
jle 0x411ba5
mov ecx, eax
cmp ecx, ebx
je 0x411d93
mov edx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
mov dword [ebp + 0x44], edx
call fcn.00412e30
mov byte [esp + 0x984], 2
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
jle 0x411be7
push 0x2c
push esi
call fcn.00463af8
add esp, 8
cmp eax, ebx
je 0x411be7
sub eax, esi
jns 0x411c46
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x984], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x984], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x984], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x411b3d
add eax, 2
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
call fcn.00412e00
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x988], 3
call fcn.0040f000
mov byte [esp + 0x984], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411c92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x165], eax
mov dword [esp + 0x169], eax
mov dword [esp + 0x16d], eax
mov dword [esp + 0x171], eax
mov word [esp + 0x175], ax
mov byte [esp + 0x177], al
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x170]
push edx
lea eax, [esp + 0x44]
push eax
push str._d__s__d__d:_d:_d_GMT
push esi
mov byte [esp + 0x180], 0
call fcn.00463417
add esp, 0x20
cmp eax, 6
jne 0x411be7
cmp dword [esp + 0x28], 0x7e4
jge 0x411d2f
lea ecx, [esp + 0x1c]
call fcn.004020b0
lea ecx, [esp + 0x20]
call fcn.004020b0
lea ecx, [esp + 0x18]
call fcn.004020b0
xor al, al
jmp 0x411de4
push ecx
lea edx, [esp + 0x164]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00402ad0
call fcn.004137a0
add esp, 4
cmp eax, ebx
je 0x411d0d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x50]
call fcn.004131c0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub ecx, 0xb4
sbb edx, ebx
mov dword [ebp], ecx
lea ecx, [esp + 0x1c]
mov dword [ebp + 4], edx
call fcn.004020b0
lea eax, [edi - 0x10]
mov byte [esp + 0x984], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411db7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x984], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411de2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x97c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x960]
xor ecx, esp
call fcn.004606fe
add esp, 0x974
ret 4