Function at 0xe44c0
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11bb32
mov eax, dword fs:[0]
push eax
mov eax, 0x1838
call fcn.000f2760
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x181c], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1834], 0
push 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
push 0x1298cc
mov dword [ebp - 0x1844], ebx
mov byte [ebx], 0
call fcn.000c4620
push 0x1000
lea eax, [ebp - 0x1810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x1834], 1
call fcn.000f3cb0
add esp, 0xc
mov dword [ebp - 0x1818], 0
xor esi, esi
mov dword [ebp - 0x1830], 1
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1828], eax
push esi
push esi
push esi
push esi
push 0x1295b4
mov dword [ebp - 0x1820], edi
mov dword [ebp - 0x1814], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, eax
mov dword [ebp - 0x1840], edx
test edx, edx
je 0xe46fa
mov ecx, dword [ebp - 0x181c]
push esi
movzx eax, word [ecx + 0x1800]
push eax
lea eax, [ecx + 0x400]
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x1828], eax
test eax, eax
je 0xe46fa
push 0x800
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.000f3cb0
mov edi, dword [ebp - 0x181c]
lea eax, [edi + 0x1000]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.000fc207
lea eax, [edi + 0x1400]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00103ebf
add esp, 0x24
lea eax, [ebp - 0x810]
push esi
push esi
push esi
push 0x12a2e0
push eax
mov eax, dword [ebp - 0x1828]
push 0x12a2f4
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov dword [ebp - 0x1820], edi
test edi, edi
je 0xe46fa
push esi
push esi
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov esi, eax
test esi, esi
je 0xe46fa
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov esi, eax
test esi, esi
je 0xe46fa
push 0
lea eax, [ebp - 0x1814]
push eax
push 0
push 0
push 0x16
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0xe46d5
mov eax, dword [ebp - 0x1814]
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.000f17ca
add esp, 4
mov dword [ebp - 0x1818], eax
lea ecx, [ebp - 0x1814]
push 0
push ecx
push eax
push 0
push 0x16
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov esi, eax
push 0x12a2fc
push dword [ebp - 0x1818]
call fcn.000f2eb7
xor edx, edx
add esp, 8
test eax, eax
mov ecx, 1
cmovne ecx, edx
mov dword [ebp - 0x1830], ecx
push dword [ebp - 0x1818]
call fcn.000f1787
add esp, 4
mov dword [ebp - 0x181c], 1
mov dword [ebp - 0x1824], 0
test esi, esi
je 0xe4916
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x1814]
mov dword [ebp - 0x1814], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0xe4916
mov eax, dword [ebp - 0x1814]
test eax, eax
je 0xe4916
add eax, 0x10
mov dword [ebp - 0x181c], 0
push eax
call fcn.000f17ca
mov edi, eax
add esp, 4
mov dword [ebp - 0x1818], edi
test edi, edi
je 0xe4916
mov eax, dword [ebp - 0x1814]
add eax, 0x10
push eax
push 0
push edi
call fcn.000f3cb0
add esp, 0xc
lea eax, [ebp - 0x1824]
push eax
push dword [ebp - 0x1814]
push edi
push dword [ebp - 0x1820]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0xe490d
mov ecx, dword [ebp - 0x1824]
mov dword [ebp - 0x182c], ecx
test ecx, ecx
je 0xe490d
cmp dword [ebp - 0x1830], 0
jne 0xe48a2
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.000f17ca
add esp, 4
mov esi, eax
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1818]
mov dword [esi], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push 0
push edi
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0x1000
lea eax, [ebp - 0x1810]
push eax
push edi
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [ebx + 0x14]
mov eax, esi
mov edx, dword [ebx + 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x1824]
mov dword [ebp - 0x182c], ecx
cmp ecx, eax
ja 0xe488b
lea eax, [ecx + edx]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0xe4883
mov eax, dword [ebx]
mov edi, dword [ebp - 0x1818]
jmp 0xe48bf
mov edi, dword [ebp - 0x1818]
push ecx
push edi
mov byte [ebp - 0x1838], 0
push dword [ebp - 0x1838]
jmp 0xe48e8
mov esi, dword [ebx + 0x14]
mov eax, esi
mov edx, dword [ebx + 0x10]
sub eax, edx
cmp ecx, eax
ja 0xe48d9
lea eax, [ecx + edx]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0xe48bf
mov eax, dword [ebx]
push ecx
lea esi, [eax + edx]
push edi
push esi
call fcn.000f3730
mov eax, dword [ebp - 0x182c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0xe48f0
push ecx
push edi
mov byte [ebp - 0x183c], 0
push dword [ebp - 0x183c]
push ecx
mov ecx, ebx
call fcn.000c7690
push edi
call fcn.000f1787
add esp, 4
cmp dword [ebp - 0x1814], 0
jbe 0xe4916
mov edi, dword [ebp - 0x1820]
jmp 0xe4730
push edi
call fcn.000f1787
add esp, 4
mov eax, dword [ebp - 0x1820]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0xe4929
push eax
call esi
mov eax, dword [ebp - 0x1828]
test eax, eax
je 0xe4936
push eax
call esi
mov eax, dword [ebp - 0x1840]
test eax, eax
je 0xe4943
push eax
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret 4