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

Disassembly:
mov eax, 0x1078
call fcn.10066c20
mov eax, dword [0x100d1040]
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 0x1000abb7
ja 0x1000aba5
mov ecx, dword [esp + 0x1088]
cmp ecx, dword [edi + 0x70]
jb 0x1000abb7
mov edx, dword [esp + 0x1088]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jmp 0x1000addd
mov ecx, dword [esp + 0x1088]
cmp ecx, dword [edi + 0x10]
jne 0x1000abd3
cmp eax, dword [edi + 0x14]
jne 0x1000abd3
cmp dword [edi + 8], 0
je 0x1000abee
jmp 0x1000addd
cmp dword [edi + 8], 0
je 0x1000abee
mov eax, dword [edi + 8]
test eax, eax
je 0x1000abee
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 8], 0
mov ebp, 8
cmp dword [edi + 0x34], ebp
jb 0x1000abfd
mov ecx, dword [edi + 0x20]
jmp 0x1000ac00
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 0x1000ac2d
call fcn.10002c20
jmp 0x1000addf
xor edx, edx
push 0xf9e
push edx
lea eax, [esp + 0xe2]
push eax
mov word [esp + 0xe4], dx
call fcn.10059a00
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 0x1000ac6c
mov eax, dword [edi + 0x3c]
jmp 0x1000ac6f
lea eax, [edi + 0x3c]
push eax
lea edx, [esp + 0xdc]
push edx
call esi
push 0x100c41cc
lea eax, [esp + 0xdc]
push eax
call esi
push str.Accept:_
lea ecx, [esp + 0xdc]
push ecx
call esi
push 0x100c41cc
lea edx, [esp + 0xdc]
push edx
call esi
push str.Connection:Keep_Alive
lea eax, [esp + 0xdc]
push eax
call esi
push 0x100c41cc
lea ecx, [esp + 0xdc]
push ecx
call esi
push str.Pragma:_no_cache
lea edx, [esp + 0xdc]
push edx
call esi
push 0x100c41cc
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 0x1000acfc
mov eax, dword [edi + 0x58]
jmp 0x1000acff
lea eax, [edi + 0x58]
push eax
lea edx, [esp + 0xdc]
push edx
call esi
push 0x100c41cc
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.10059a00
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 0x100c41cc
lea ecx, [esp + 0xdc]
push ecx
call esi
push 0x100c41cc
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 0x1000adac
call fcn.10002c20
push ebx
mov esi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
jmp 0x1000addf
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1000ad9a
mov eax, dword [edi + 8]
test eax, eax
je 0x1000adcd
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.1005710f
add esp, 0x1078
ret 8