Function at 0x14003a000
Capabilities:
Get disk size
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r15, qword [rbp + 0x3f0]
mov qword [rbp - 0x70], r15
mov qword [rbp + 0x20], r15
mov r14, qword [rbp + 0x3f8]
mov qword [rbp - 0x68], r14
mov qword [rbp + 0x28], r14
mov r13, qword [rbp + 0x400]
mov qword [rbp + 0x30], r13
xor r12d, r12d
mov esi, r12d
mov dword [rbp + 0x1c0], r12d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
mov ecx, r12d
mov qword [rbp + 0x1a0], rcx
mov rax, qword [0x14021e038]
movzx edx, word [rax + 0x210]
test dx, dx
je 0x14003a14d
lea rcx, [rbp + 0x1c8]
call fcn.1400290c0
mov rdi, rax
mov rbx, qword [rbp + 0x198]
cmp rbx, qword [rbp + 0x1a0]
je 0x14003a120
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
lea r8d, [r12 + 5]
lea rdx, str.build
mov rcx, rbx
call fcn.140023420
xorps xmm0, xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], r12
mov qword [rbx + 0x38], r12
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x30], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
add qword [rbp + 0x198], 0x40
jmp 0x14003a13a
mov r9, rdi
lea r8, str.build
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.14003bdb0
nop
lea rcx, [rbp + 0x1c8]
call fcn.140025e80
mov rcx, qword [rbp + 0x1a0]
mov rdi, qword [0x14021e048]
mov rbx, qword [rbp + 0x198]
cmp rbx, rcx
je 0x14003a1a1
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 0xa
lea rdx, str.cc_version
mov rcx, rbx
call fcn.140023420
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x20]
call fcn.140025a20
nop
add qword [rbp + 0x198], 0x40
jmp 0x14003a1b4
lea r9, [rdi + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.14003bef0
mov rdx, qword [0x14021e038]
mov edx, dword [rdx + 0x1d8]
lea rcx, [rsp + 0x50]
call fcn.1400290c0
nop
mov rdx, qword [rbp + 0x198]
mov r9, rax
cmp rdx, qword [rbp + 0x1a0]
je 0x14003a1ee
call fcn.14003d5d0
add qword [rbp + 0x198], 0x40
jmp 0x14003a1fb
lea rcx, [rbp + 0x190]
call fcn.14003c050
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
mov r9d, 9
lea r8, str.overseer_
xor edx, edx
mov rcx, r15
call fcn.140022bd0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x50], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x60], xmm7
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or esi, 0x40
mov rbx, qword [rbp + 0x198]
cmp rbx, qword [rbp + 0x1a0]
je 0x14003a29a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 5
lea rdx, str.event
mov rcx, rbx
call fcn.140023420
movups xmmword [rbx + 0x20], xmm6
movups xmmword [rbx + 0x30], xmm7
movdqa xmm0, xmmword [0x1401e8230]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
add qword [rbp + 0x198], 0x40
jmp 0x14003a2b6
lea r9, [rsp + 0x50]
lea r8, str.event
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.14003bdb0
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
lea rcx, [rsp + 0x70]
call fcn.14002f560
lea rdx, [rbp + 0x1c8]
mov rcx, rax
call fcn.140041240
nop
mov rdx, qword [rbp + 0x198]
mov r9, rax
cmp rdx, qword [rbp + 0x1a0]
je 0x14003a2fc
call fcn.14003d650
add qword [rbp + 0x198], 0x40
jmp 0x14003a309
lea rcx, [rbp + 0x190]
call fcn.14003c190
nop
lea rcx, [rbp + 0x1c8]
call fcn.140025e80
call fcn.140039f80
test rax, rax
je 0x14003a45c
lea rdx, [rbp + 0x1c8]
mov rcx, qword [0x14021e038]
call fcn.14000b6a0
cmp qword [rbp + 0x1d8], 0
jne 0x14003a345
mov rbx, r12
jmp 0x14003a37c
lea rcx, [rbp + 0x1c8]
cmp qword [rbp + 0x1e0], 7
cmova rcx, qword [rbp + 0x1c8]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rbx, qword [rbp + 0x1c0]
test eax, eax
cmove rbx, r12
lea rcx, [rbp + 0x1c8]
call fcn.140025e80
lea r9, [rbp + 0x37a]
movabs r8, 0xcccccccccccccccd
nop dword [rax]
sub r9, 2
mov rax, r8
mul rbx
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r9], bx
mov rbx, rdx
test rdx, rdx
jne 0x14003a3a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x37a]
cmp r9, rax
jne 0x14003a401
movdqa xmm0, xmmword [0x1401e8230]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
jmp 0x14003a41b
lea r8, [rbp + 0x37a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.1400258d0
or esi, 0x180
mov rdx, qword [rbp + 0x198]
lea r9, [rsp + 0x50]
cmp rdx, qword [rbp + 0x1a0]
je 0x14003a445
call fcn.14003d6d0
add qword [rbp + 0x198], 0x40
jmp 0x14003a452
lea rcx, [rbp + 0x190]
call fcn.14003c2d0
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
mov rdi, qword [0x14021e038]
mov rbx, qword [rbp + 0x198]
cmp rbx, qword [rbp + 0x1a0]
je 0x14003a4c1
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 4
lea rdx, str.guid
mov rcx, rbx
call fcn.140023420
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x1e0]
call fcn.140025a20
nop
mov rbx, qword [rbp + 0x198]
add rbx, 0x40
mov qword [rbp + 0x198], rbx
jmp 0x14003a4de
lea r9, [rdi + 0x1e0]
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.14003c410
mov rbx, qword [rbp + 0x198]
cmp rbx, qword [rbp + 0x1a0]
je 0x14003a52b
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 5
lea rdx, str.midex
mov rcx, rbx
call fcn.140023420
nop
lea rcx, [rbx + 0x20]
lea rdx, [0x14021e098]
call fcn.140025a20
nop
add qword [rbp + 0x198], 0x40
jmp 0x14003a541
lea r9, [0x14021e098]
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.14003c570
mov dword [rbp + 0x70], 0x11c
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x74]
call fcn.140176680
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14003acf4
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rax, [0x1401dd970]
lea r8, [0x1401db668]
cmp byte [rbp + 0x18a], 1
cmovne r8, rax
lea rax, str.AMD64
lea rdx, [0x1401dd984]
cmp word [rbp + 0x38], 9
cmove rdx, rax
movzx ecx, word [rbp + 0x186]
shl ecx, 0x10
movzx eax, word [rbp + 0x184]
or ecx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401e8230]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], r12w
or esi, 0x20
mov dword [rbp + 0x1c0], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], ecx
mov eax, dword [rbp + 0x7c]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x80]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x78]
mov r8d, dword [rbp + 0x74]
lea rdx, str.win__d__d__d__d__d__s_s
lea rcx, [rsp + 0x70]
call fcn.1400399b0
and esi, 0xffffffdf
or esi, 0x10
mov rdx, qword [rbp + 0x198]
lea r9, [rsp + 0x50]
cmp rdx, qword [rbp + 0x1a0]
je 0x14003a658
call fcn.14003d750
add qword [rbp + 0x198], 0x40
jmp 0x14003a665
lea rcx, [rbp + 0x190]
call fcn.14003c6d0
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
mov rdi, qword [0x14021e038]
mov rbx, qword [rbp + 0x198]
cmp rbx, qword [rbp + 0x1a0]
je 0x14003a6d4
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.program_update_settings
mov rcx, rbx
call fcn.140023420
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x258]
call fcn.140025a20
nop
mov rbx, qword [rbp + 0x198]
add rbx, 0x40
mov qword [rbp + 0x198], rbx
jmp 0x14003a6f1
lea r9, [rdi + 0x258]
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.14003c810
mov rbx, qword [rbp + 0x198]
lea rdi, [0x14021e058]
cmp qword [0x14021e070], 7
cmova rdi, qword [0x14021e058]
mov qword [rsp + 0x70], rdi
cmp rbx, qword [rbp + 0x1a0]
je 0x14003a788
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, recvfrom
lea rdx, str.stat_session
mov rcx, rbx
call fcn.140023420
nop
lea rcx, [rbx + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x14003a760
mov rdx, rdi
call fcn.1400258d0
nop
mov rdx, qword [rbp + 0x198]
add rdx, 0x40
mov qword [rbp + 0x198], rdx
jmp 0x14003a7a3
lea r9, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.14003c970
mov rdx, qword [rbp + 0x198]
mov r9, r14
cmp rdx, qword [rbp + 0x1a0]
je 0x14003a7c8
call fcn.14003d7d0
mov rdx, qword [rbp + 0x198]
add rdx, 0x40
mov qword [rbp + 0x198], rdx
jmp 0x14003a7db
lea rcx, [rbp + 0x190]
call fcn.14003cb00
mov rdx, qword [rbp + 0x198]
mov r9, r13
cmp rdx, qword [rbp + 0x1a0]
je 0x14003a7f6
call fcn.14003d850
add qword [rbp + 0x198], 0x40
jmp 0x14003a802
lea rcx, [rbp + 0x190]
call fcn.14003cc40
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], r12
mov qword [rbp + 0x208], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f0], 0
mov edx, 0x4000
lea rcx, [rbp + 0x1f0]
call fcn.14000c860
mov rdi, qword [rbp + 0x198]
mov rbx, qword [rbp + 0x190]
cmp rbx, rdi
je 0x14003a900
add rbx, 0x38
cmp qword [rbx - 8], 0
je 0x14003a8ef
lea rdx, [rbx - 0x38]
cmp qword [rbx - 0x20], 0xf
jbe 0x14003a86a
mov rdx, qword [rdx]
mov r8, qword [rbx - 0x28]
lea rcx, [rbp + 0x1f0]
call fcn.1400411a0
mov r8d, 1
lea rdx, [0x1401dda90]
mov rcx, rax
call fcn.1400411a0
mov r14, rax
lea rdx, [rbx - 0x18]
cmp qword [rbx], 7
jbe 0x14003a89f
mov rdx, qword [rdx]
mov r8, qword [rbx - 8]
lea rcx, [rbp + 0x1c8]
call fcn.14000c530
or esi, 8
lea rdx, [rbp + 0x1c8]
cmp qword [rbp + 0x1e0], 0xf
cmova rdx, qword [rbp + 0x1c8]
mov r8, qword [rbp + 0x1d8]
mov rcx, r14
call fcn.1400411a0
mov dl, 0xa
mov rcx, rax
call fcn.14002f120
nop
lea rcx, [rbp + 0x1c8]
call fcn.140023540
add rbx, 0x40
lea rax, [rbx - 0x38]
cmp rax, rdi
jne 0x14003a851
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1a8], xmm1
mov qword [rbp + 0x1b8], r12
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x19
lea rdx, str.Content_Type:_iavs4_stats
lea rcx, [rsp + 0x50]
call fcn.140023420
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, qword [rbp + 0x1b8]
je 0x14003a976
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x1401e8240]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
add qword [rbp + 0x1b0], 0x20
jmp 0x14003a988
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x1a8]
call fcn.14002edb0
nop
lea rcx, [rsp + 0x50]
call fcn.140023540
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 7
lea rdx, str.Expect:
lea rcx, [rsp + 0x50]
call fcn.140023420
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, qword [rbp + 0x1b8]
je 0x14003a9f9
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x1401e8240]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
add qword [rbp + 0x1b0], 0x20
jmp 0x14003aa0b
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x1a8]
call fcn.14002edb0
nop
lea rcx, [rsp + 0x50]
call fcn.140023540
movdqa xmm0, xmmword [0x1401e8260]
movdqu xmmword [rsp + 0x78], xmm0
mov dword [rbp - 0x78], 0x4000
mov dword [rbp - 0x74], 0x3040204
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.140059ed0
mov r15, rax
mov r12, qword [rbp + 0x200]
lea r14, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 0xf
cmova r14, qword [rbp + 0x1f0]
mov rdi, qword [rbp + 0x1b0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
or esi, 2
mov dword [rbp + 0x1c0], esi
mov rbx, qword [rbp + 0x1a8]
cmp rbx, rdi
je 0x14003aaf6
nop dword [rax + rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14003aaad
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400411a0
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x50]
call fcn.1400411a0
add rbx, 0x20
cmp rbx, rdi
jne 0x14003aaa0
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14003aaf6
dec rdx
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.14000c470
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
lea r8, str.https:__v7event.stats.avast.com_cgi_bin_iavsevents.cgi
lea rdx, [rbp + 0x210]
mov rcx, r15
call fcn.14005a200
nop
lea rcx, [rsp + 0x50]
call fcn.140023540
nop
lea rcx, [rbp - 8]
call fcn.14002a5e0
lea rcx, [rbp - 0x48]
call fcn.140023540
lea rcx, [rbp - 0x58]
call fcn.14002a5e0
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x14003ab61
call fcn.14002a680
lea rcx, [rbp + 0x328]
call fcn.140023540
lea rcx, [rbp + 0x300]
call fcn.140131d38
lea rcx, [rbp + 0x210]
call fcn.14002a980
nop
mov rbx, qword [rbp + 0x1a8]
test rbx, rbx
je 0x14003ac09
mov rdi, qword [rbp + 0x1b0]
cmp rbx, rdi
je 0x14003abb8
nop
mov rcx, rbx
call fcn.140023540
add rbx, 0x20
cmp rbx, rdi
jne 0x14003aba0
mov rbx, qword [rbp + 0x1a8]
mov rdx, qword [rbp + 0x1b8]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003abeb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ad23
mov rcx, rbx
call fcn.140133620
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], 0
lea rcx, [rbp + 0x1f0]
call fcn.140023540
nop
mov rbx, qword [rbp + 0x190]
test rbx, rbx
je 0x14003ac9e
mov rdi, qword [rbp + 0x198]
cmp rbx, rdi
je 0x14003ac51
nop
lea rcx, [rbx + 0x20]
call fcn.140025e80
mov rcx, rbx
call fcn.140023540
add rbx, 0x40
cmp rbx, rdi
jne 0x14003ac30
mov rbx, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x1a0]
sub rdx, rbx
and rdx, 0xffffffffffffffc0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003ac80
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003acee
mov rcx, rbx
call fcn.140133620
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], 0
mov rcx, qword [rbp - 0x70]
call fcn.140025e80
nop
mov rcx, qword [rbp - 0x68]
call fcn.140025e80
nop
mov rcx, r13
call fcn.140025e80
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140143340
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_retrieve_version_of_the_system_
lea rcx, [rbp + 0x1c8]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rbp + 0x1c8]
call fcn.140135f84
nop
call fcn.140143340
int3