Function at 0x180145d80
Capabilities:
Delete file
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x180292bf8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor ebx, ebx
movups xmm0, xmmword [str.C:ProgramDatadubdive_styndb.dub]
movaps xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [0x1801eb6d0]
movaps xmmword [rbp + 0xe0], xmm1
movzx eax, word [0x1801eb6e0]
mov word [rbp + 0xf0], ax
xor edx, edx
mov r8d, 0xe2
lea rcx, [rbp + 0xf2]
call fcn.18014a376
lea rcx, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [rsp + 0x78]
call fcn.180146ae0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1801482f0
mov rdi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x1e
jb 0x180145eb6
lea rax, [r8 + 0x1e]
mov qword [rdi + 0x10], rax
mov rsi, rdi
cmp rcx, 0x10
jb 0x180145e4a
mov rsi, qword [rdi]
lea rax, [0x1801eb70e]
mov r12d, 0x1e
lea r15, str.https:__dubdive.ucoz.net_styn_
cmp rax, rsi
jbe 0x180145e7e
lea rax, [rsi + r8]
cmp r15, rax
ja 0x180145e7e
cmp rsi, r15
ja 0x180145e76
mov r14, rbx
jmp 0x180145e81
mov r14, rsi
sub r14, r15
jmp 0x180145e81
mov r14, r12
lea rcx, [rsi + 0x1e]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r14]
sub r12, r14
lea rdx, [r15 + 0x1e]
add rdx, r14
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180145ee1
mov r12d, 0x1e
mov qword [rsp + 0x28], r12
lea r15, str.https:__dubdive.ucoz.net_styn_
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.1800d5670
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180145f53
lea rax, [rcx + 4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov dword [rax + rcx], 0x6275642e
mov byte [rax + rcx + 4], 0
lea rax, [rsp + 0x30]
jmp 0x180145f74
mov qword [rsp + 0x20], 4
lea r9, str..dub
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x30]
call fcn.1800d54e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180145fe6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180145fe1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180145fe1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801490ac
movdqa xmm0, xmmword [0x1801a7820]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180146037
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180146032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180146032
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801490ac
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 0xd0]
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov ecx, 0x6f
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x30]
call fcn.180146ae0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1801482f0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x40]
call fcn.18014a376
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
lea rdx, str.C:ProgramDatadubdive_styndb.dub
lea rcx, [rbp - 0x40]
call fcn.18012da80
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.180145930
lea rcx, [rbp - 0x30]
call fcn.18012e090
test rax, rax
jne 0x180146120
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r14, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
movabs rdi, 0x7fffffffffffffff
cmp rsi, rdi
ja 0x180146423
mov qword [rsp + 0x48], 0xf
cmp rsi, 0x10
jae 0x180146191
mov qword [rsp + 0x40], rsi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memmove
jmp 0x1801461d8
mov rax, rsi
or rax, 0xf
cmp rax, rdi
ja 0x1801461ac
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x30]
call fcn.1800d21a0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
call fcn.1801464e0
mov rcx, rax
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test eax, eax
jne 0x180146200
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180146240
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014623b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014623b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801490ac
lea rsi, [rbp - 0x68]
mov r12, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rsi, r12
lea r14, [rsp + 0x78]
mov r15, qword [rsp + 0x78]
mov r13, qword [rbp - 0x70]
cmp r13, 0x10
cmovae r14, r15
mov rdi, qword [rbp - 0x58]
mov rax, qword [rbp - 0x78]
cmp rdi, rax
ja 0x1801462d7
sub rax, rdi
test rdi, rdi
je 0x1801462de
lea r13, [r14 + rax]
movsx edx, byte [rsi]
lea r8, [r13 + 1]
sub r8, r14
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1801462d3
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180146360
inc rbx
lea r8, [r13 + 1]
sub r8, rbx
movsx edx, byte [rsi]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1801462a0
mov r13, qword [rbp - 0x70]
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
setne bl
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.18012dcf0
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x180146375
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x18014636c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014636c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
mov r13, qword [rbp - 0x70]
jmp 0x1801462de
mov rcx, r12
call fcn.1801490ac
nop
cmp r13, 0x10
jb 0x1801463b0
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1801463a7
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801463a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1801490ac
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1801463f0
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801463eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801463eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801490ac
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.180149520
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800d2170
nop
int3