Function at 0x45f790
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dbe9
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x499078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x130]
cmp dword [eax + 8], 0
jne 0x45f7fe
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0x70]
jmp 0x45fe63
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x48956c
call fcn.00401800
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp + 8]
push edx
call fcn.00401840
mov dword [ebp - 0x13c], eax
push 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x130]
call fcn.0045f510
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45f8c0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0x7c]
jmp 0x45fe63
cmp dword [ebp + 0x40], 0
je 0x45f915
xor ecx, ecx
mov word [ebp - 0x6c], cx
push 0x3a
push 0
lea edx, [ebp - 0x6a]
push edx
call fcn.00416c80
add esp, 0xc
mov eax, dword [ebp + 0x40]
push eax
push str.Range:bytes_ld__r_n
push 0x1e
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00416f85
add esp, 0x10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.00401800
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x130]
call fcn.0045ed70
push 0
push 0
mov ecx, dword [ebp - 0x130]
call fcn.0045f420
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45f95d
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0x84]
jmp 0x45fe63
push 0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45f9da
push 0x489598
lea ecx, [ebp - 0xa0]
call fcn.004016f0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xa0]
push edx
call fcn.00401500
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00401770
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0xa4]
jmp 0x45fe63
cmp dword [ebp + 0x40], 0
je 0x45fa32
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x130]
call fcn.0045edf0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45fa30
mov dword [ebp - 0xa8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0xa8]
jmp 0x45fe63
jmp 0x45fa81
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x130]
call fcn.0045f2a0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45fa7a
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0xac]
jmp 0x45fe63
mov dword [ebp - 0x2c], 0
push 0xc
call fcn.00416d66
add esp, 4
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x45faad
mov ecx, dword [ebp - 0xb4]
call fcn.00470020
mov dword [ebp - 0x148], eax
jmp 0x45fab7
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
call fcn.0046ffc0
cmp dword [ebp + 0x40], 0
jne 0x45fb29
push 1
push 2
push 0xc0000000
lea ecx, [ebp + 0x24]
call fcn.00401950
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xb8], esp
push eax
call fcn.00401800
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x24]
call fcn.00470050
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0046ff00
push 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0046fe80
jmp 0x45fbac
push 1
push 3
push 0xc0000000
lea ecx, [ebp + 0x24]
call fcn.00401950
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00401800
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x24]
call fcn.00470050
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x45fb9e
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0xc0]
jmp 0x45fe63
mov edx, dword [ebp - 0x2c]
push edx
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0046fe80
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45fc2b
push 0x4895b0
lea ecx, [ebp - 0xdc]
call fcn.004016f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xdc]
push eax
call fcn.00401500
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdc]
call fcn.00401770
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0xe0]
jmp 0x45fe63
cmp dword [ebp - 0x18], 0
jbe 0x45fdbe
cmp dword [ebp - 0x18], 0x100000
jbe 0x45fc45
mov dword [ebp - 0x18], 0x100000
push 0x100000
push 0
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00416c80
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45fceb
push 0x4895cc
lea ecx, [ebp - 0xfc]
call fcn.004016f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xfc]
push eax
call fcn.00401500
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.00401770
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0x100]
jmp 0x45fe63
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0046fec0
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x130]
cmp dword [eax + 0x1c], 0
je 0x45fd3a
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45fdb9
push 0x4895dc
lea ecx, [ebp - 0x11c]
call fcn.004016f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00401500
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.00401770
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0x120]
jmp 0x45fe63
jmp 0x45fc2b
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x130]
call fcn.0045ec50
cmp dword [ebp - 0x24], 0
je 0x45fe39
mov ecx, dword [ebp - 0x24]
call fcn.0046fe60
mov ecx, dword [ebp - 0x24]
call fcn.0046ff50
mov ecx, dword [ebp - 0x24]
call fcn.0046ff90
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x45fe28
push 1
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x124]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x158], eax
jmp 0x45fe32
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401880
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041694e
mov esp, ebp
pop ebp
ret 0x3c