Function at 0x4340d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f14f5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x675f64]
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.0040bd10
push 0
push 0
push 0
push 0
push str.ValidURL
call dword [0x67d454]
mov esi, eax
xor bl, bl
mov byte [ebp - 0x39], bl
test esi, esi
je 0x43418a
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 [0x67d458]
mov ebx, dword [0x67d468]
mov edi, eax
test edi, edi
je 0x434184
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 [0x67d450]
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 0x4341c4
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4341ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434417
push edx
push ecx
call fcn.0058acab
add esp, 8
test bl, bl
jne 0x4341cf
mov al, 1
jmp 0x4343fb
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.005c075e
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x43420c
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x434226
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.005c075e
mov edi, eax
add esp, 4
test edi, edi
je 0x434266
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__A0xa0bca41d_utils_stubframework___details_downloader__.0
mov dword [edi + 0x28], 1
call esi
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x434271
mov eax, dword [eax]
push ebx
mov edx, edi
mov ecx, eax
call fcn.00448f20
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 0x4343ec
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.004484b0
test al, al
je 0x4343e2
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x4342ea
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 0x4343e2
push 0x34
call fcn.005c075e
mov esi, eax
add esp, 4
test esi, esi
jne 0x434327
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x43436b
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__A0xa0bca41d_utils_stubframework___details_downloader__.0
mov dword [esi + 0x30], 1
call ebx
push 0x44
call fcn.005c075e
mov edi, eax
add esp, 4
test edi, edi
je 0x4343b2
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__A0xdb7e2c3b_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.00438b80
jmp 0x4343ee
xor bl, bl
push dword [ebp - 0x1c]
call fcn.005c014a
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.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
int3