Function at 0x4340a0
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0525
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x673f64]
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 - 0x40], edx
mov dword [ebp - 0x44], ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.0040bd00
push 0
push 0
push 0
push 0
push str.ValidURL
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
xor bl, bl
mov byte [ebp - 0x39], bl
test esi, esi
je 0x43415a
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
push 0
cmovae ecx, dword [ebp - 0x5c]
push 0x80200000
push 0
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x434154
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 4
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x14], 0xc8
push edi
sete byte [ebp - 0x39]
call ebx
push esi
call ebx
mov bl, byte [ebp - 0x39]
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x434194
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43418a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343e7
push edx
push ecx
call fcn.0058a7f7
add esp, 8
test bl, bl
jne 0x43419f
mov al, 1
jmp 0x4343cb
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x24
mov dword [ebp - 4], 0
call fcn.005c027f
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x4341dc
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x4341f6
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
push eax
mov dword [ebx], vtable.downloader::details::Object_class_stubframework::debug::DownloadLogger_.0
mov dword [ebx + 0x20], 1
call esi
push 0x2c
call fcn.005c027f
mov edi, eax
add esp, 4
test edi, edi
je 0x434236
push 0
push 0
push 1
lea eax, [ebp - 0x1c]
mov dword [edi], vtable.HttpToMemCallback.0
push 0
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x10]
push eax
mov dword [edi], vtable.._AV__Object_VHttpToMemCallback__A0xa9f507e5_utils_stubframework___details_downloader__.0
mov dword [edi + 0x28], 1
call esi
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x434241
mov eax, dword [eax]
push ebx
mov edx, edi
mov ecx, eax
call fcn.00448a60
mov esi, eax
add esp, 4
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi]
mov bl, byte [edi + 4]
push edi
call dword [eax + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4343bc
xor bl, bl
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00447ff0
test al, al
je 0x4343b2
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x4342ba
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x4343b2
push 0x34
call fcn.005c027f
mov esi, eax
add esp, 4
test esi, esi
jne 0x4342f7
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x43433b
push 0
push 0
push 1
lea eax, [ebp - 0x38]
mov dword [esi], vtable.HashCallback.0
push 0
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x18]
push eax
mov dword [esi], vtable.._AV__Object_VHashCallback__A0xa9f507e5_utils_stubframework___details_downloader__.0
mov dword [esi + 0x30], 1
call ebx
push 0x44
call fcn.005c027f
mov edi, eax
add esp, 4
test edi, edi
je 0x434382
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
lea eax, [edi + 0x10]
push eax
mov dword [edi], vtable.HashTask.0
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0
call ebx
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx]
lea eax, [edi + 0x28]
mov dword [edi], vtable.._AV__Object_VHashTask__A0x48c4bc95_downloader___details_downloader__.0
push eax
mov dword [edi + 0x40], 1
call ebx
mov eax, dword [edi]
push edi
mov dword [esi + 0xc], edi
call dword [eax + 8]
push 0xffffffffffffffff
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x14], 0
mov eax, dword [edi]
push edi
sete bl
call dword [eax + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.00438b50
jmp 0x4343be
xor bl, bl
push dword [ebp - 0x1c]
call fcn.005bfc6b
add esp, 4
mov al, bl
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.0058a7e9
mov esp, ebp
pop ebp
ret
call fcn.005b1b1f
int3