Function at 0x10002820
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000fd48
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10015170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x48], ebx
jb 0x1000285e
mov eax, dword [eax + 4]
jmp 0x10002861
add eax, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.100019f0
push 0x100111ea
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.10002220
mov dword [ebp + 0xc], ebx
lea eax, [ebp + 0xc]
push eax
push str._D_3
push 1
push ebx
push str._i3_
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x100028a3
push ebx
push ebx
call fcn.10005101
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0x100111e4
push eax
call edx
cmp eax, ebx
jl 0x10002bdf
push 1
push ebx
push 0xc
mov dword [ebp - 0x20], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov edi, eax
mov dword [ebp - 0x48], edi
cmp edi, ebx
je 0x10002bdf
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp eax, ebx
jne 0x10002bb7
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10002bb7
mov esi, dword [ebp - 0x30]
mov ecx, 8
mov word [eax], cx
cmp esi, ebx
je 0x10002928
mov eax, dword [esi]
cmp eax, ebx
je 0x10002928
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
cmp eax, ebx
jne 0x1000292a
push 0x8007000e
call fcn.100045e0
xor eax, eax
mov ecx, dword [ebp - 0x20]
push edi
mov dword [ecx + 8], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0xec]
call eax
cmp eax, ebx
jne 0x10002bb7
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x20]
mov byte [ebp - 4], 4
call eax
cmp eax, ebx
jne 0x10002b29
cmp dword [ebp - 0x1c], ebx
je 0x10002b29
mov ecx, 8
mov word [ebp - 0x58], cx
push 0x100111d8
lea ecx, [ebp - 0x44]
call fcn.10002480
mov edx, dword [ebp - 0x44]
mov esi, dword [eax]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp - 0x54]
mov dword [eax + 4], edi
mov dword [ebp - 0x34], ebx
mov edx, dword [ecx]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x4c]
push ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 0xc], esi
call ecx
cmp eax, ebx
jl 0x10002b29
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x10002b29
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002500
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x10002b19
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
push ecx
push eax
call edx
xor eax, eax
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
jge 0x10002b16
mov ecx, 3
mov word [ebp - 0x58], cx
mov dword [ebp - 0x50], eax
push 0x100111d4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.100026b0
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x58]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x4c]
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], esi
mov dword [ebp - 0x28], ebx
mov ebx, dword [ecx]
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov eax, dword [ebx + 0x2c]
push ecx
mov byte [ebp - 4], 7
call eax
test eax, eax
jne 0x10002af9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10002af9
push eax
lea ecx, [ebp - 0x40]
call fcn.10002530
mov eax, dword [ebp - 0x40]
mov bl, 8
mov byte [ebp - 4], bl
test eax, eax
je 0x10002adb
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xf8]
call eax
test eax, eax
jl 0x10002adb
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.100019f0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.10002790
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.10001aa0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 7
test eax, eax
je 0x10002af9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x68]
push eax
call esi
lea ecx, [ebp - 0x58]
push ecx
call esi
mov eax, dword [ebp - 0x44]
inc eax
xor ebx, ebx
jmp 0x100029fe
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x10002b29
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x24]
mov byte [ebp - 4], 0xa
call eax
cmp eax, ebx
jl 0x10002b8e
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10002b91
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xf0]
call eax
cmp eax, ebx
jl 0x10002b8e
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.100019f0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.10002790
lea ecx, [ebp - 0x44]
call fcn.10001aa0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x10002ba1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x10002bb4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xec]
push 0x100111ea
push eax
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf8]
push eax
call edx
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x10002bf2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x10002c04
mov edx, dword [eax]
jmp 0x10002c06
xor edx, edx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10002c20
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.10001cb0
lea ecx, [ebp - 0x14]
call fcn.10001aa0
lea ecx, [ebp - 0x30]
call fcn.10001aa0
mov eax, 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