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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1074
call fcn.100a88c0
mov eax, dword [0x100dc008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi + 0x6c]
jb 0x10018329
ja 0x1001830e
cmp eax, dword [edi + 0x68]
jb 0x10018329
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bfb0
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [edi + 0x10]
jne 0x1001834e
cmp ecx, dword [edi + 0x14]
jne 0x1001834e
cmp dword [edi + 8], 0
je 0x10018369
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bfb0
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0
je 0x10018369
mov eax, dword [edi + 8]
test eax, eax
je 0x10018369
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 8], 0
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x10018374
mov eax, dword [eax]
push 0
push 0x84000000
push 0
push 0
push 0
push eax
push str.GET
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x100184f2
push 0xfa0
lea eax, [ebp - 0x1070]
push 0
push eax
call fcn.1008b230
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x1070]
add esp, 0xc
push str.Host:
push eax
call ebx
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x100183cf
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x100b6e94
lea eax, [ebp - 0x1070]
push eax
call ebx
push str.Accept:_
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x100b6e94
lea eax, [ebp - 0x1070]
push eax
call ebx
push str.Connection:Keep_Alive
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x100b6e94
lea eax, [ebp - 0x1070]
push eax
call ebx
push str.Pragma:_no_cache
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x100b6e94
lea eax, [ebp - 0x1070]
push eax
call ebx
push str.Referer:
lea eax, [ebp - 0x1070]
push eax
call ebx
cmp dword [edi + 0x60], 8
lea eax, [edi + 0x4c]
jb 0x10018454
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x100b6e94
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0xc8
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.1008b230
push dword [ebp + 0xc]
lea eax, [ebp - 0xd0]
push dword [ebp + 8]
push str.Range:_bytes_I64d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x100b6e94
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x100b6e94
lea eax, [ebp - 0x1070]
push eax
call ebx
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x1070]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x100184f2
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x10018507
call fcn.10015440
mov edi, eax
test esi, esi
je 0x10018527
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call eax
jmp 0x10018527
mov eax, dword [edi + 8]
test eax, eax
je 0x10018516
push eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
call eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], esi
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007bfb0
mov esp, ebp
pop ebp
ret 8