Function at 0x457420
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477e6d
mov eax, dword fs:[0]
push eax
mov eax, 0x10a8
call fcn.0046eb00
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x10a0]
mov dword [ebp - 0x10a4], esi
call fcn.004025a9
xor ebx, ebx
lea eax, [ebp - 0x1084]
mov dword [ebp - 4], ebx
call fcn.004025a9
lea eax, [ebp - 0x1068]
call fcn.004025a9
lea ecx, [esi + 0x30]
push esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x10b0], ecx
call fcn.00403b27
cmp byte [ebp + 8], bl
je 0x457719
push ecx
mov eax, esp
mov dword [ebp - 0x10ac], esp
call fcn.00404e4c
lea eax, [ebp - 0x1030]
call fcn.00404e50
push ebx
push ebx
lea edi, [ebp - 0x1030]
call fcn.0040327c
push 0xffffffffffffffff
push esi
xor eax, eax
mov ecx, edi
call fcn.0040317c
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1020], ebx
je 0x4576ce
mov edi, edi
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebx
je 0x4574f0
push eax
call edi
mov ecx, dword [ebp - 0x10b0]
lea eax, [ebp - 0x1030]
push eax
call fcn.00403b27
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x45750f
push eax
call edi
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x45751c
push eax
call edi
mov dword [esi + 0x20], ebx
lea ecx, [ebp - 0x1068]
push ecx
lea edx, [ebp - 0x1084]
push edx
lea eax, [ebp - 0x10a0]
push eax
lea ecx, [ebp - 0x1030]
push ecx
lea ebx, [ebp - 0x10a8]
call fcn.00457220
test al, al
je 0x457888
cmp dword [ebp - 0x1020], 0
je 0x45759f
mov eax, str.https
call fcn.0040107f
push eax
push str.https
lea edx, [ebp - 0x1030]
push edx
xor eax, eax
call fcn.00409f80
test eax, eax
je 0x457598
mov eax, str.HTTPS
call fcn.0040107f
push eax
push str.HTTPS
lea eax, [ebp - 0x1030]
push eax
xor eax, eax
call fcn.00409f80
test eax, eax
jne 0x45759f
mov eax, 1
jmp 0x4575a1
xor eax, eax
mov ecx, dword [ebp - 0x10a4]
mov ebx, dword [ecx + 0x20]
mov esi, 0x8460c000
test al, al
je 0x4575b8
mov esi, 0x84e0c000
push ecx
mov eax, esp
mov dword [ebp - 0x10ac], esp
call fcn.00404e4c
lea eax, [ebp - 0x104c]
call fcn.00404e50
push 0
push 0
lea edi, [ebp - 0x104c]
call fcn.0040327c
push 0xffffffffffffffff
lea edx, [ebp - 0x1084]
push edx
xor eax, eax
mov ecx, edi
call fcn.0040317c
push 0
lea eax, [ebp - 0x1068]
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 4
call fcn.00403074
push 0
push esi
push 0
push 0
push str.HTTP_1.1
mov eax, edi
call fcn.0040263b
push eax
push str.HEAD
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x457647
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x457647
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x104c]
mov byte [ebp - 4], 3
call fcn.00402601
mov ecx, dword [ebp - 0x10a4]
mov dword [ecx + 0x24], esi
test esi, esi
je 0x457895
xor edx, edx
push 0xffe
push edx
lea eax, [ebp - 0x1012]
push eax
mov word [ebp - 0x1014], dx
call fcn.00465a00
add esp, 0xc
push 0
lea ecx, [ebp - 0x10ac]
push ecx
lea edx, [ebp - 0x1014]
push edx
push 0x21
push esi
mov dword [ebp - 0x10ac], 0x1000
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x1014]
push eax
lea edi, [ebp - 0x1030]
call fcn.0040262a
mov esi, dword [ebp - 0x10a4]
xor ebx, ebx
cmp dword [ebp - 0x1020], ebx
jne 0x4574e0
call fcn.004578d0
mov esi, dword [ebp - 0x10a4]
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x457895
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x24], ebx
cmp eax, ebx
je 0x4576fd
push eax
call edi
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x45770a
push eax
call edi
mov dword [esi + 0x20], ebx
lea ecx, [ebp - 0x1030]
mov byte [ebp - 4], 2
call fcn.00402601
push esi
lea eax, [ebp - 0x104c]
call fcn.004570d0
lea edx, [ebp - 0x1068]
push edx
lea ecx, [ebp - 0x1084]
push ecx
lea edx, [ebp - 0x10a0]
push edx
push eax
lea ebx, [ebp - 0x10a8]
mov byte [ebp - 4], 5
call fcn.00457220
lea ecx, [ebp - 0x104c]
mov bl, al
mov byte [ebp - 4], 2
call fcn.00402601
mov edi, dword [ebp - 0x10a4]
test bl, bl
je 0x457844
push edi
lea eax, [ebp - 0x104c]
call fcn.004570d0
push 0
mov esi, eax
mov byte [ebp - 4], 6
call fcn.00457050
mov ebx, dword [edi + 0x20]
movzx eax, al
push eax
push 0x48d234
lea edx, [ebp - 0x1068]
lea ecx, [ebp - 0x1084]
call fcn.00457320
add esp, 0xc
lea ecx, [ebp - 0x104c]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 2
call fcn.00402601
cmp byte [edi + 0x4c], 0
mov eax, dword [ebp + 0x10]
je 0x4577c1
test eax, eax
jne 0x4577c7
cmp dword [ebp + 0xc], 0xffffffff
je 0x457819
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax - 1]
push edx
push eax
push str.Range:_bytes_u__u
lea eax, [ebp - 0x814]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [ebp - 0x814]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4577f3
sub eax, edx
mov edx, dword [edi + 0x24]
push 0x20000000
sar eax, 1
push eax
lea ecx, [ebp - 0x814]
push ecx
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45783d
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x45783d
mov eax, dword [edi + 0x24]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, edi
call fcn.004578d0
mov edi, dword [edi + 0x24]
lea ecx, [ebp - 0x1068]
call fcn.00402601
lea ecx, [ebp - 0x1084]
call fcn.00402601
lea ecx, [ebp - 0x10a0]
call fcn.00402601
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x10a4]
mov dword [ecx + 0x24], 0
lea ecx, [ebp - 0x1030]
call fcn.00402601
lea ecx, [ebp - 0x1068]
call fcn.00402601
lea ecx, [ebp - 0x1084]
call fcn.00402601
lea ecx, [ebp - 0x10a0]
call fcn.00402601
xor eax, eax
jmp 0x45786a