Function at 0x1000ad40
Capabilities:
Send data
Send http request
Send http request with host header

Disassembly:
mov eax, 0x1078
call fcn.100720f0
mov eax, dword [0x100de040]
xor eax, esp
mov dword [esp + 0x1070], eax
mov eax, dword [esp + 0x1080]
push ebx
push ebp
push esi
cmp eax, dword [edi + 0x74]
jb 0x1000ad87
ja 0x1000ad75
mov ecx, dword [esp + 0x1088]
cmp ecx, dword [edi + 0x70]
jb 0x1000ad87
mov edx, dword [esp + 0x1088]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jmp 0x1000afad
mov ecx, dword [esp + 0x1088]
cmp ecx, dword [edi + 0x10]
jne 0x1000ada3
cmp eax, dword [edi + 0x14]
jne 0x1000ada3
cmp dword [edi + 8], 0
je 0x1000adbe
jmp 0x1000afad
cmp dword [edi + 8], 0
je 0x1000adbe
mov eax, dword [edi + 8]
test eax, eax
je 0x1000adbe
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 8], 0
mov ebp, 8
cmp dword [edi + 0x34], ebp
jb 0x1000adcd
mov ecx, dword [edi + 0x20]
jmp 0x1000add0
lea ecx, [edi + 0x20]
mov eax, dword [edi + 4]
push 0
push 0x84000000
push 0
push 0
push 0
push ecx
push str.GET
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
jne 0x1000adfd
call fcn.10002d30
jmp 0x1000afaf
xor edx, edx
push 0xf9e
push edx
lea eax, [esp + 0xe2]
push eax
mov word [esp + 0xe4], dx
call fcn.10064e10
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push str.Host:
lea ecx, [esp + 0xdc]
push ecx
call esi
cmp dword [edi + 0x50], ebp
jb 0x1000ae3c
mov eax, dword [edi + 0x3c]
jmp 0x1000ae3f
lea eax, [edi + 0x3c]
push eax
lea edx, [esp + 0xdc]
push edx
call esi
push 0x100d0974
lea eax, [esp + 0xdc]
push eax
call esi
push str.Accept:_
lea ecx, [esp + 0xdc]
push ecx
call esi
push 0x100d0974
lea edx, [esp + 0xdc]
push edx
call esi
push str.Connection:Keep_Alive
lea eax, [esp + 0xdc]
push eax
call esi
push 0x100d0974
lea ecx, [esp + 0xdc]
push ecx
call esi
push str.Pragma:_no_cache
lea edx, [esp + 0xdc]
push edx
call esi
push 0x100d0974
lea eax, [esp + 0xdc]
push eax
call esi
push str.Referer:
lea ecx, [esp + 0xdc]
push ecx
call esi
cmp dword [edi + 0x6c], ebp
jb 0x1000aecc
mov eax, dword [edi + 0x58]
jmp 0x1000aecf
lea eax, [edi + 0x58]
push eax
lea edx, [esp + 0xdc]
push edx
call esi
push 0x100d0974
lea eax, [esp + 0xdc]
push eax
call esi
xor ecx, ecx
push 0xc6
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.10064e10
mov ebp, dword [esp + 0x1098]
mov eax, dword [esp + 0x1094]
push ebp
push eax
lea ecx, [esp + 0x24]
push str.Range:_bytes_I64d_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xdc]
push eax
call esi
push 0x100d0974
lea ecx, [esp + 0xdc]
push ecx
call esi
push 0x100d0974
lea edx, [esp + 0xdc]
push edx
call esi
push 0x20000000
push 0xffffffffffffffff
lea eax, [esp + 0xe0]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1000af7c
call fcn.10002d30
push ebx
mov esi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
jmp 0x1000afaf
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1000af6a
mov eax, dword [edi + 8]
test eax, eax
je 0x1000af9d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x1088]
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ebp
xor eax, eax
mov ecx, dword [esp + 0x107c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10062448
add esp, 0x1078
ret 8