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

Disassembly:
mov eax, 0x2009d125
call fcn.2007d394
sub esp, 0x4c
mov eax, dword [0x200cc84c]
push ebx
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x38], ebx
je 0x20026233
push eax
call fcn.2008f9fe
pop ecx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x20026244
push eax
call fcn.2008f9fe
pop ecx
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x20026255
push eax
call fcn.2008f9fe
pop ecx
mov dword [esi + 8], ebx
push edi
mov edi, 0x1fa0
push edi
mov dword [esi + 0x14], ebx
call fcn.2008f9f9
push edi
push ebx
push eax
mov dword [esi + 0xc], eax
call fcn.2007e690
push 0x14
lea eax, [ebp - 0x24]
push ebx
push eax
xor edi, edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ebx
call fcn.2007e690
add esp, 0x1c
mov dword [ebp - 0x3c], 0x10000
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x40], ebx
jne 0x200262a7
mov eax, dword [esi + 0xc]
jmp 0x20026317
cmp dword [ebp - 0x44], ebx
jne 0x20026306
mov eax, dword [esi + 0x10]
push ebx
push 1
add eax, edi
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x2002632a
cmp dword [esi + 0x14], edi
jle 0x200262d4
cmp dword [ebp - 0x48], ebx
jne 0x200262d4
cmp dword [esi + 0x18], ebx
je 0x200262d4
mov dword [esi + 0x14], edi
mov eax, dword [esi + 0x10]
cmp eax, ebx
pop edi
je 0x200262e2
mov ecx, dword [esi + 0x14]
mov byte [eax + ecx], bl
cmp dword [ebp - 0x38], 0xffffffff
jne 0x200262eb
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.2007c9ae
leave
ret
cmp dword [ebp - 0x28], ebx
je 0x20026314
mov eax, dword [ebp - 0x34]
lea eax, [ebp + eax - 0x24]
jmp 0x20026319
mov eax, dword [esi + 0x10]
add eax, edi
push ebx
push 1
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x200262d4
inc edi
cmp dword [ebp - 0x40], ebx
jne 0x20026502
mov eax, dword [esi + 0xc]
cmp byte [eax + edi - 1], 0xa
jne 0x2002629d
cmp dword [ebp - 0x38], ebx
mov ecx, dword [ebp - 0x2c]
jne 0x20026380
lea edx, [edi - 1]
cmp ecx, edx
mov dword [ebp - 0x2c], ecx
jge 0x20026377
cmp byte [eax + ecx], 0x20
je 0x20026361
inc ecx
cmp ecx, edx
jl 0x20026354
jmp 0x20026377
lea eax, [eax + ecx + 1]
push eax
call fcn.2007db04
cmp eax, ebx
pop ecx
mov dword [ebp - 0x38], eax
jne 0x200264f6
or dword [ebp - 0x38], 0xffffffff
jmp 0x200264f6
add eax, ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.20004f37
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
call fcn.20025ee8
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], ebx
jne 0x20026416
mov eax, dword [esi + 0xc]
mov byte [edi + eax], bl
mov eax, dword [esi + 0x14]
xor edi, edi
inc edi
cmp eax, ebx
mov dword [ebp - 0x40], edi
je 0x200263d1
inc eax
push eax
call fcn.2008f9f9
mov ecx, dword [esi + 0x14]
inc ecx
push ecx
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.2007e690
add esp, 0x10
xor edi, edi
jmp 0x200264ea
push str.chunked
push dword [esi + 0xc]
call fcn.2007eee0
test eax, eax
pop ecx
pop ecx
je 0x20026402
push dword [ebp - 0x3c]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x28], edi
mov dword [esi + 0x14], ebx
call fcn.2008f9f9
or dword [ebp - 0x34], 0xffffffff
pop ecx
mov dword [esi + 0x10], eax
jmp 0x200264ea
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], 0x4000
mov dword [ebp - 0x48], ebx
push 0x4001
jmp 0x200263b3
push ebx
push 0x200a6fdc
lea ecx, [ebp - 0x30]
call fcn.20008c71
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jle 0x200264ea
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.20025e4c
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], ebx
jne 0x2002648d
cmp dword [ebp - 0x44], ebx
jne 0x2002648d
push str.Content_length
push dword [ebp - 0x50]
call fcn.2007f564
test eax, eax
pop ecx
pop ecx
jne 0x2002648d
mov eax, dword [ebp - 0x2c]
add eax, 2
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.20025f32
mov byte [ebp - 4], 2
push dword [ebp - 0x58]
call fcn.2007db04
pop ecx
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.200026ee
push str.Location
push dword [ebp - 0x50]
call fcn.2007f564
test eax, eax
pop ecx
pop ecx
jne 0x200264df
mov eax, dword [ebp - 0x2c]
add eax, 2
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
call fcn.20025f32
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.2008f9f9
push dword [ebp - 0x4c]
mov dword [esi + 8], eax
push eax
call fcn.2007f120
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.200026ee
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x50]
call fcn.200026ee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.200026ee
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], edi
je 0x200262a2
cmp dword [ebp - 0x44], ebx
jne 0x20026563
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x200262d4
cmp eax, edi
jg 0x2002629d
cmp dword [ebp - 0x48], ebx
jne 0x200262d4
cmp dword [esi + 0x18], ebx
je 0x200262d4
add eax, 0x10000
push eax
call fcn.2008f9f9
push dword [esi + 0x14]
mov dword [ebp - 0x54], eax
push dword [esi + 0x10]
push eax
call fcn.2007ca70
push dword [esi + 0x10]
add dword [esi + 0x14], 0x10000
call fcn.2008f9fe
mov eax, dword [ebp - 0x54]
add esp, 0x14
mov dword [esi + 0x10], eax
jmp 0x2002629d
cmp dword [ebp - 0x28], ebx
je 0x200265e5
mov eax, dword [ebp - 0x34]
cmp byte [ebp + eax - 0x24], 0xa
jne 0x200265dc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push str._x_r_n
push eax
mov dword [ebp - 0x28], ebx
call fcn.2007f72a
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp eax, ebx
je 0x200262d4
add eax, 2
add dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, dword [ebp - 0x3c]
jl 0x200265d9
add eax, 0x10000
push eax
call fcn.2008f9f9
push dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
push dword [esi + 0x10]
push eax
call fcn.2007ca70
mov eax, dword [esi + 0x14]
push dword [esi + 0x10]
add eax, 0x10000
mov dword [ebp - 0x3c], eax
call fcn.2008f9fe
mov eax, dword [ebp - 0x54]
add esp, 0x14
mov dword [esi + 0x10], eax
mov dword [ebp - 0x28], ebx
dec edi
inc dword [ebp - 0x34]
jmp 0x2002629d
mov eax, dword [esi + 0x14]
cmp eax, edi
jne 0x2002629d
add eax, 0xfffffffe
push 0x14
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x24]
push ebx
dec edi
push eax
mov dword [ebp - 0x28], 1
dec edi
call fcn.2007e690
add esp, 0xc
jmp 0x2002629a