Function at 0x470460
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1902
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x677010]
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
push 0
push 0
push 0
push 0
push 0x643f30
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
lea ecx, [ebp - 0x28]
push 0x643c78
mov dword [ebp - 0x50], ebx
call fcn.004075e1
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4704cb
lea eax, [ebp - 0x74]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0046fd30
lea ecx, [ebp - 0x28]
call fcn.004075ab
mov dword [ebp - 0x9c], vtable.srl::Timer.0
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
lea ecx, [ebp - 0x9c]
movlpd qword [ebp - 0x48], xmm0
xor esi, esi
call fcn.00476a80
test edx, edx
ja 0x4705a4
jb 0x47051b
cmp eax, 0x7d0
ja 0x4705a4
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x64], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x54], edi
cmp esi, 4
jge 0x4705b0
push 0x643c78
lea ecx, [ebp - 0x28]
call fcn.004075e1
mov byte [ebp - 4], 2
test ebx, ebx
je 0x470558
lea eax, [ebp - 0x7c]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0046fd30
mov edi, eax
mov ebx, edx
jmp 0x470566
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004075ab
test esi, esi
je 0x470582
cmp ebx, dword [ebp - 0x64]
ja 0x470588
jb 0x470582
cmp edi, dword [ebp - 0x54]
jae 0x470588
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x64], ebx
lea ecx, [ebp - 0x9c]
inc esi
call fcn.00476a80
mov ebx, dword [ebp - 0x50]
test edx, edx
jne 0x4705b0
cmp eax, 0x7d0
jbe 0x470527
jmp 0x4705b0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x9c]
xor esi, esi
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x4c], esi
call fcn.00476a80
test edx, edx
ja 0x470679
jb 0x4705dd
cmp eax, 0x1770
ja 0x470679
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x58], edi
nop dword [eax]
cmp esi, 4
jge 0x470685
push str.http:__cf.systemrequirementslab.com_data_test_1mb.dat
lea ecx, [ebp - 0x28]
call fcn.004075e1
mov byte [ebp - 4], 3
test ebx, ebx
je 0x470624
lea eax, [ebp - 0x84]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0046fd30
mov esi, eax
mov edi, edx
jmp 0x470632
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004075ab
cmp dword [ebp - 0x4c], 0
je 0x470650
cmp edi, dword [ebp - 0x50]
ja 0x470656
jb 0x470650
cmp esi, dword [ebp - 0x58]
jae 0x470656
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], edi
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x9c]
inc esi
mov dword [ebp - 0x4c], esi
call fcn.00476a80
test edx, edx
jne 0x470685
cmp eax, 0x1770
jbe 0x4705f0
jmp 0x470685
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x9c]
xor esi, esi
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x44], esi
call fcn.00476a80
test edx, edx
ja 0x470779
jb 0x4706b2
cmp eax, 0x36b0
ja 0x470779
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], edi
nop
cmp esi, 2
jge 0x47073c
push str.http:__cf.systemrequirementslab.com_data_test_5mb.dat
lea ecx, [ebp - 0x40]
call fcn.004075e1
mov byte [ebp - 4], 4
test ebx, ebx
je 0x4706ed
lea eax, [ebp - 0x74]
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.0046fd30
mov esi, eax
mov edi, edx
jmp 0x4706fb
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c], xmm0
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004075ab
cmp dword [ebp - 0x44], 0
je 0x470719
cmp edi, dword [ebp - 0x4c]
ja 0x47071f
jb 0x470719
cmp esi, dword [ebp - 0x5c]
jae 0x47071f
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x4c], edi
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x9c]
inc esi
mov dword [ebp - 0x44], esi
call fcn.00476a80
test edx, edx
jne 0x47073c
cmp eax, 0x36b0
jbe 0x4706c0
mov edi, dword [ebp - 0x5c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [ebp - 0x4c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c], xmm0
test ebx, ebx
jne 0x4707b7
test edi, edi
jne 0x4707b7
mov ebx, dword [ebp - 0x50]
test ebx, ebx
jne 0x47079c
cmp dword [ebp - 0x58], ebx
ja 0x47079c
mov ebx, dword [ebp - 0x64]
test ebx, ebx
jne 0x470784
cmp dword [ebp - 0x54], ebx
ja 0x470784
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
jmp 0x4707d6
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
jmp 0x47073f
push 0
push 0x1f40
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call fcn.005bd390
push ebx
push dword [ebp - 0x54]
jmp 0x4707cb
push 0
push 0x1f40
push dword [ebp - 0x80]
push dword [ebp - 0x84]
call fcn.005bd390
push ebx
push dword [ebp - 0x58]
jmp 0x4707cb
push 0
push 0x1f40
push dword [ebp - 0x70]
push dword [ebp - 0x74]
call fcn.005bd390
push ebx
push edi
push edx
push eax
call fcn.005e61d0
mov edi, eax
mov esi, edx
sub esp, 8
lea ecx, [ebp - 0x14c]
call fcn.00415be0
push esi
push edi
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 5
call fcn.0041f5a0
mov edx, str._bps
mov ecx, eax
call fcn.00411d70
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6836bc]
cmp eax, dword [ecx + 4]
jle 0x470857
push 0x6836bc
call fcn.005bcd79
add esp, 4
cmp dword [0x6836bc], 0xffffffff
jne 0x470857
push 0x6836c0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 6
call fcn.00416830
push 0x5ffc30
call fcn.005bc9d9
push 0x6836bc
call fcn.005bcd3a
add esp, 8
lea ecx, [ebp - 0x14c]
call fcn.00415840
mov eax, 0x6836c0
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.005bc745
mov esp, ebp
pop ebp
ret