Function at 0x412810
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449048
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x460590]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
xor esi, esi
mov dword [ebp - 4], esi
push ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
call fcn.00412d90
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x45111c
mov dword [ebp - 0x3c], eax
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x412ae7
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
mov ecx, 8
mov word [ebp - 0x50], cx
mov ebx, dword [ebp - 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ebp - 0x4c]
mov ecx, str.span
mov dword [eax + 4], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov edi, dword [edx]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x44]
push edx
mov edx, dword [edi + 0x30]
mov dword [eax + 0xc], ecx
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x45110c
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
xor eax, eax
cmp eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jge 0x412a91
mov esi, dword [ebp - 0x20]
mov edi, dword [esi]
mov ecx, 3
mov word [ebp - 0x50], cx
mov ebx, dword [ebp - 0x50]
lea ecx, [ebp - 0x18]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ecx + 4], ebx
mov ebx, dword [ebp - 0x50]
cdq
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [edi + 0x2c]
push esi
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4510fc
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx]
lea edx, [ebp - 0x60]
push edx
push 0
push 0x453c5c
add esi, 0x20
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [esi]
push eax
mov eax, dword [ebp - 0x14]
push eax
call ecx
cmp word [ebp - 0x60], 1
je 0x412b1b
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x30]
call fcn.00402520
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x30]
mov ecx, 0x453c64
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4129b6
test dx, dx
je 0x4129b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4129b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x412990
xor eax, eax
jmp 0x4129bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x412afb
mov ecx, dword [0x464ed8]
add ecx, 0x138
call fcn.00402020
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
mov eax, dword [ecx + 0xf0]
call eax
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402520
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x38]
push 0x453c6c
mov bl, 2
push eax
mov byte [ebp - 4], bl
call fcn.00411b30
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [0x464ed8]
add ecx, 0x138
push eax
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412a49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412a6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412a8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x412aa3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x412ab5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x412ac4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x464ed8]
cmp dword [eax + 0x128], esi
je 0x412ae7
mov ecx, dword [ebp - 0x40]
push 5
call fcn.0041b76c
mov ecx, dword [0x464ed8]
mov dword [ecx + 0x128], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412b1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
inc eax
xor esi, esi
jmp 0x4128df