Function at 0x470120
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f188f
mov eax, dword fs:[0]
push eax
sub esp, 0x100
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 edi, eax
mov dword [ebp - 0x5c], vtable.srl::Timer.0
mov dword [ebp - 0x38], edi
push str.http:__svc.systemrequirementslab.com_srl_services_api_uploadtest
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004075e1
push 0
push 0x3e8
push edi
push ecx
mov byte [ebp - 4], 1
call fcn.0046fe90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004075ab
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
lea ecx, [ebp - 0x5c]
movlpd qword [ebp - 0x34], xmm0
xor esi, esi
call fcn.00476a80
test edx, edx
ja 0x470235
jb 0x4701c8
cmp eax, 0x3e8
ja 0x470235
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
cmp esi, 2
jge 0x470235
push str.http:__svc.systemrequirementslab.com_srl_services_api_uploadtest
lea ecx, [ebp - 0x28]
call fcn.004075e1
push 0
push 0x3e8
push edi
push ecx
mov byte [ebp - 4], 2
call fcn.0046fe90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov edi, eax
mov ebx, edx
call fcn.004075ab
test esi, esi
je 0x470218
cmp ebx, dword [ebp - 0x2c]
ja 0x47021e
jb 0x470218
cmp edi, dword [ebp - 0x30]
jae 0x47021e
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x5c]
inc esi
call fcn.00476a80
mov edi, dword [ebp - 0x38]
test edx, edx
jne 0x470235
cmp eax, 0x3e8
jbe 0x4701d4
xorps xmm0, xmm0
lea ecx, [ebp - 0x5c]
movlpd qword [ebp - 0x34], xmm0
xor esi, esi
call fcn.00476a80
test edx, edx
ja 0x4702c3
jb 0x470254
cmp eax, 0x1770
ja 0x4702c3
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
cmp esi, 4
jge 0x4702cf
push str.http:__svc.systemrequirementslab.com_srl_services_api_uploadtest
lea ecx, [ebp - 0x28]
call fcn.004075e1
push 0
push 0x15f90
push edi
push ecx
mov byte [ebp - 4], 3
call fcn.0046fe90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov edi, eax
mov ebx, edx
call fcn.004075ab
test esi, esi
je 0x4702a4
cmp ebx, dword [ebp - 0x2c]
ja 0x4702aa
jb 0x4702a4
cmp edi, dword [ebp - 0x30]
jae 0x4702aa
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x5c]
inc esi
call fcn.00476a80
test edx, edx
jne 0x4702cf
mov edi, dword [ebp - 0x38]
cmp eax, 0x1770
jbe 0x470260
jmp 0x4702cf
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x5c]
movlpd qword [ebp - 0x44], xmm0
xor esi, esi
call fcn.00476a80
test edx, edx
ja 0x470362
jb 0x4702ee
cmp eax, 0x2ee0
ja 0x470362
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
nop word [eax + eax]
cmp esi, 0xa
jge 0x47036e
push str.http:__svc.systemrequirementslab.com_srl_services_api_uploadtest
lea ecx, [ebp - 0x28]
call fcn.004075e1
push 0
push 0x7a120
push dword [ebp - 0x38]
mov byte [ebp - 4], 4
push ecx
call fcn.0046fe90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov edi, eax
mov ebx, edx
call fcn.004075ab
test esi, esi
je 0x470346
cmp ebx, dword [ebp - 0x3c]
ja 0x47034c
jb 0x470346
cmp edi, dword [ebp - 0x40]
jae 0x47034c
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x5c]
inc esi
call fcn.00476a80
test edx, edx
jne 0x47036e
cmp eax, 0x2ee0
jbe 0x470300
jmp 0x47036e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0
push 0xee6b2800
call fcn.005e61d0
push dword [ebp - 0x2c]
mov esi, eax
mov edi, edx
push dword [ebp - 0x30]
push 0
push 0x2aea5400
call fcn.005e61d0
cmp edx, edi
ja 0x4703a9
jb 0x4703ad
cmp eax, esi
jb 0x4703ad
mov esi, eax
mov edi, edx
sub esp, 8
lea ecx, [ebp - 0x10c]
call fcn.00415be0
push edi
push esi
lea ecx, [ebp - 0xfc]
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 [0x6836a0]
cmp eax, dword [ecx + 4]
jle 0x47042e
push 0x6836a0
call fcn.005bcd79
add esp, 4
cmp dword [0x6836a0], 0xffffffff
jne 0x47042e
push 0x6836a4
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.00416830
push 0x5ffc20
call fcn.005bc9d9
push 0x6836a0
call fcn.005bcd3a
add esp, 8
lea ecx, [ebp - 0x10c]
call fcn.00415840
mov eax, 0x6836a4
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