joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fca60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400fca9e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400fca97
call fcn.140002990
jmp 0x1400fca7e
Function at 0x1400fdfc0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140105b90
mov qword [rsp + 0x28], rsi
mov rdi, qword [0x1402a0ca0]
test rdi, rdi
je 0x1400fe03b
mov rbx, rax
mov ecx, dword [0x14029bf80]
cmp ecx, 0xffffffff
je 0x1400fe00f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
jb 0x1400fe03b
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400fe03b
mov rcx, qword [rdi + 0x18]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rdi + 0x20]
jne 0x1400fe03b
mov rdi, qword [rax + rcx]
test rdi, rdi
jne 0x1400fe05b
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14017e7b0
mov rcx, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
mov r9b, 0x20
call fcn.1401bab30
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp dword [rdi + 0x18], ebx
jbe 0x1400fe097
mov rax, qword [rdi + 0x10]
mov ecx, ebx
shl rcx, 7
cmp dword [rax + rcx + 0x68], 0
jne 0x1400fe0bf
mov rax, qword [rdi + 8]
lock dec dword [rax + 0x38]
mov rax, qword [rdi + 8]
lock inc dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r14, qword [0x1402a0ca0]
lea rsi, [r14 + 0xc8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400fe0f6
sub r14, 0xffffffffffffff80
mov rcx, rdi
mov edx, ebx
mov r8, r14
call fcn.1401bcf10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x1400fe097
mov rcx, rsi
call fcn.1400fdfc0
jmp 0x1400fe0da
Function at 0x140103f20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov eax, dword [0x1402a2be8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140103f6d
lea rcx, [0x1402a2820]
mov rdx, rbx
mov r8, rdi
mov r9, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140103fa0
lea rcx, [0x1402a2be8]
call fcn.14017b2bc
cmp dword [0x1402a2be8], 0xffffffff
jne 0x140103f51
lea rcx, [0x1402a2820]
xor edx, edx
call fcn.140002e30
lea rcx, [0x1402a2be8]
call fcn.14017b25c
jmp 0x140103f51
Function at 0x1401044a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1402a27c0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1401044f8
jnp 0x14010455e
ucomisd xmm0, xmm6
jne 0x140104504
jnp 0x140104673
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140275450]
subpd xmm1, xmmword [0x140275460]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140275a58]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1402a27d0]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010467a
mov eax, dword [0x1402a27e0]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401046b4
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x1402a27d8]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140275a50]
ucomisd xmm2, xmm1
ja 0x1401044f8
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1402a27c8]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140275450]
subpd xmm0, xmmword [0x140275460]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1402a27c0], xmm0
jmp 0x1401044f8
xor eax, eax
jmp 0x140104536
lea rcx, [0x1402a27d0]
call fcn.14017b2bc
cmp dword [0x1402a27d0], 0xffffffff
jne 0x1401045a7
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402a27c8], rdx
lea rcx, [0x1402a27d0]
call fcn.14017b25c
jmp 0x1401045a7
lea rcx, [0x1402a27e0]
call fcn.14017b2bc
cmp dword [0x1402a27e0], 0xffffffff
jne 0x1401045cc
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1402a27d8], rax
lea rcx, [0x1402a27e0]
call fcn.14017b25c
jmp 0x1401045cc
Function at 0x140105ba0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jae 0x140105c1d
cmp qword [rsi], r15
je 0x140105bf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140105c24
cmp r12, 2
jb 0x140105bee
mov qword [rsi], r15
call fcn.140105b90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140105c55
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140105b90
jmp 0x140105bc7
call fcn.140105b90
mov r14, qword [rsi]
cmp qword [0x1402a45d0], 0
je 0x140105c86
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401e7f70.0]
mov qword [rsi], 0
jmp 0x140105be0
call fcn.140105b90
mov rbx, qword [rdi]
cmp qword [0x1402a45d0], 0
je 0x140105cca
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401e7f70.0]
mov qword [rdi], 0
jmp 0x140105c0c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140105d0e
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140105cc4
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140105c36
xor ecx, ecx
mov dl, 1
jmp 0x140105cba
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140105d12
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140105d08
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140105c67
xor ecx, ecx
mov dl, 1
jmp 0x140105cfe
xor ecx, ecx
jmp 0x140105cb8
xor ecx, ecx
jmp 0x140105cfc
Function at 0x140111f10
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x88], rax
test byte [0x14029c020], 0x19
jne 0x1401120f3
call fcn.14017b234
mov ebp, dword [rax]
call fcn.14017b234
mov dword [rax], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [0x1402a4528]
cmp rbx, 1
jbe 0x14011208c
mov r14, qword [rsi + 8]
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401120d3
mov rcx, qword [rbx]
shl rcx, 4
mov qword [rax + rcx], r14
mov ecx, dword [rbx + 8]
mov rdx, qword [rbx]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140111fb9
cmp qword [rsi + 8], 0
jne 0x140111fb9
call fcn.140112190
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.14017b234
mov dword [rax], ebp
cmp byte [rsi + 0x38], 0
je 0x140111fdb
lea rcx, [rsi + 0x40]
call fcn.1401212e0
mov byte [rsi + 0x38], 0
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x140111ffb
mov ecx, dword [rsi + 0x20]
cmp dword [rax + 0x18], ecx
jbe 0x140111ffb
mov rax, qword [rax + 0x10]
shl rcx, 7
cmp dword [rax + rcx + 0x68], 0
jne 0x140112050
mov rcx, qword [rsi + 0x28]
mov qword [rsi + 0x28], 0
test rcx, rcx
jne 0x140112044
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x140112025
mov rcx, qword [rax + 8]
lock dec dword [rcx + 0x38]
mov rax, qword [rax + 8]
lock inc dword [rax + 0x3c]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov edx, 1
call fcn.1401bb2c0
jmp 0x14011200c
mov rbx, qword [0x1402a0ca0]
lea rdi, [rbx + 0xc8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401120e6
mov rcx, qword [rsi + 0x18]
sub rbx, 0xffffffffffffff80
mov edx, dword [rsi + 0x20]
mov r8, rbx
call fcn.1401bcf10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x140111ffb
lea rcx, [0x1402a4528]
call fcn.140008ab0
test al, al
je 0x140112177
mov qword [0x1402a4538], 0
lea rbx, [0x1402a4530]
mov qword [0x1402a4530], 0xffffffffffffffff
mov rcx, rbx
xor edx, edx
call fcn.140002850
mov qword [0x1402a4528], rbx
jmp 0x140111f72
test r14, r14
je 0x140111fa5
call fcn.140002990
jmp 0x140111f8c
mov rcx, rdi
call fcn.1400fdfc0
jmp 0x14011206b
movaps xmm0, xmmword [0x140270690]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14029c020]
lea r9, [0x14027250a]
mov rcx, rdi
mov dl, 0x45
call fcn.1400fdfb0
mov rbx, qword [rdi]
test rbx, rbx
je 0x140112168
mov bpl, byte [rsp + 0x78]
mov r14, qword [rsp + 0x68]
lea rdi, [rsp + 0x38]
mov rcx, rdi
xor edx, edx
call fcn.140178b40
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0
mov byte [rdi + 0x20], bpl
mov rcx, rdi
call fcn.1400fe100
lea rcx, [rsp + 0x60]
call fcn.1400c9740
jmp 0x140111f3f
mov rbx, qword [0x1402a4528]
jmp 0x140111f72
Function at 0x140120e40
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x50]
mov qword [r12 + 0x50], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [r12 + 0x40], xmm0
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x7b
call fcn.140120f60
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140121610
mov ebp, 0xffffffff
test r14, r14
js 0x140120f23
test esi, esi
js 0x140120f23
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [r14]
lea rcx, [rsp + 0x50]
call fcn.140120f80
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140121e00
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402a2740]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140121e60
lea rsi, [0x1402a2738]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402a2740]
call fcn.14017b2bc
cmp dword [0x1402a2740], 0xffffffff
jne 0x140121e3c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401808d0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14017b1d8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402a2788]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140121f20
lea r8, [0x1402a2758]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14001bd40
mov qword [0x1402a2738], rsi
lea rcx, [0x1402a2740]
call fcn.14017b25c
jmp 0x140121e3c
lea rcx, [0x1402a2788]
call fcn.14017b2bc
cmp dword [0x1402a2788], 0xffffffff
jne 0x140121ef1
xorps xmm0, xmm0
movups xmmword [0x1402a2778], xmm0
movups xmmword [0x1402a2768], xmm0
movups xmmword [0x1402a2758], xmm0
lea rcx, [0x1402a2758]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402a2788]
call fcn.14017b25c
jmp 0x140121ef1

Function at 0x1401246e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov r14, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140124713
call fcn.140105b90
cmp qword [rsi + 8], r14
je 0x140124745
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140124754
cmp r15, 2
jb 0x14012473d
mov qword [rsi + 8], r14
call fcn.140105b90
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140105b90
mov rbx, qword [rsi + 8]
cmp qword [0x1402a45d0], 0
je 0x140124787
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401e7f70.0]
mov qword [rsi + 8], 0
jmp 0x14012472e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401247c8
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401247c2
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140124767
xor ecx, ecx
mov dl, 1
jmp 0x1401247bb
xor ecx, ecx
jmp 0x1401247b9
Function at 0x140124920
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov r14, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140124953
call fcn.140105b90
cmp qword [rsi + 8], r14
je 0x140124985
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140124994
cmp r15, 2
jb 0x14012497d
mov qword [rsi + 8], r14
call fcn.140105b90
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140105b90
mov rbx, qword [rsi + 8]
cmp qword [0x1402a45d0], 0
je 0x1401249c7
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401e7f70.0]
mov qword [rsi + 8], 0
jmp 0x14012496e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140124a08
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140124a02
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x1401249a7
xor ecx, ecx
mov dl, 1
jmp 0x1401249fb
xor ecx, ecx
jmp 0x1401249f9

Function at 0x1401251b0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1401252b2
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140125240
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140125217
mov qword [rsi], rdi
call fcn.140105b90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x1401252b6
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140105b90
mov r14, qword [rsi]
cmp qword [0x1402a45d0], 0
je 0x140125271
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401e7f70.0]
mov qword [rsi], 0
jmp 0x140125205
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401252b9
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401252ac
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140125252
xor ecx, ecx
mov dl, 1
jmp 0x1401252a5
mov byte [rsi + 8], 1
int3
xor ecx, ecx
jmp 0x1401252a3
Function at 0x14013da60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
movapd xmmword [rsp + 0x50], xmm8
movdqa xmmword [rsp + 0x40], xmm7
movapd xmmword [rsp + 0x30], xmm6
mov rsi, r8
mov edi, ecx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cvtsi2sd xmm0, edx
call fcn.14019ea20
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x14013dc7f
mov dword [rax + 4], edi
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov r14, rax
sub r14, rcx
sar r14, 2
lea rdx, [r14 - 1]
cmp rdx, 3
jb 0x14013dbac
movapd xmm6, xmm0
mov r15d, 3
sub r15, r14
add r14, 0xfffffffffffffffd
mov r12d, 2
lea rbx, [rsp + 0x20]
movdqa xmm7, xmmword [0x140275450]
movapd xmm8, xmmword [0x140275460]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
call fcn.14019ea20
movsd qword [rsp + 0x20], xmm0
mov rcx, rbx
call fcn.140110840
movsd xmm1, qword [rsp + 0x20]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, r14
punpckldq xmm2, xmm7
subpd xmm2, xmm8
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.14019c1b0
mov r13, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x14013dc7c
call fcn.1401b5ed0
cvttsd2si eax, xmm0
cmp edi, eax
lea ecx, [rdi + 1]
cmovl ecx, eax
mov dword [r13 + r12*4], ecx
lea rax, [r15 + r12]
inc rax
inc r12
dec r14
mov edi, ecx
cmp rax, 2
jne 0x14013db10
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rax, rcx
je 0x14013dc82
mov dword [rax - 4], 0x7fffffff
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
mov rdx, r8
sub rdx, rcx
je 0x14013dc85
mov rax, rdx
shr rax, 2
mov r9, rcx
not r9
add r9, r8
jne 0x14013dbe6
xor r8d, r8d
jmp 0x14013dc30
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x140278d30]
nop word [rax + rax]
movzx r11d, al
movzx edi, byte [rcx + r8]
xor edi, r11d
shr eax, 8
xor eax, dword [r10 + rdi*4]
movzx r11d, al
movzx edi, byte [rcx + r8 + 1]
xor edi, r11d
shr eax, 8
xor eax, dword [r10 + rdi*4]
add r8, 2
cmp r9, r8
jne 0x14013dc00
test dl, 1
je 0x14013dc4c
movzx edx, al
movzx ecx, byte [rcx + r8]
xor ecx, edx
lea rdx, [0x140278d30]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [rsi + 0x18], eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14017e7b0
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
int3
int3
xor eax, eax
jmp 0x14013dc4c
Function at 0x14013dc90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movapd xmmword [rsp + 0x20], xmm8
movapd xmmword [rsp + 0x10], xmm7
movapd xmmword [rsp], xmm6
mov r11, qword [r8]
mov r10, qword [r8 + 8]
mov rax, r10
sub rax, r11
sar rax, 2
lea r9, [rax - 1]
cmp r9, 2
jb 0x14013dd93
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140275450]
subpd xmm2, xmmword [0x140275460]
haddpd xmm2, xmm2
mov ecx, 1
movdqa xmm3, xmmword [0x140275450]
movapd xmm4, xmmword [0x140275460]
movsd xmm5, qword [0x14025d670]
nop dword [rax]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x14013de42
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm7, xmm6
unpckhpd xmm7, xmm6
addsd xmm7, xmm6
mulsd xmm7, xmm0
lea r10, [rcx - 1]
movq xmm6, r10
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm8, xmm6
unpckhpd xmm8, xmm6
addsd xmm8, xmm6
mulsd xmm8, xmm1
addsd xmm8, xmm7
divsd xmm8, xmm2
addsd xmm8, xmm5
cvttsd2si r10d, xmm8
mov dword [rdx + rcx*4], r10d
dec rax
inc rcx
cmp rcx, r9
jne 0x14013dd10
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x14013de45
mov dword [r10 - 4], 0x7fffffff
mov rcx, qword [r8]
mov r9, qword [r8 + 8]
mov rdx, r9
sub rdx, rcx
je 0x14013de48
mov rax, rdx
shr rax, 2
mov r10, rcx
not r10
add r10, r9
jne 0x14013ddce
xor r9d, r9d
jmp 0x14013de0c
mov r10, rdx
and r10, 0xfffffffffffffffe
xor r9d, r9d
lea r11, [0x140278d30]
nop
movzx esi, al
movzx edi, byte [rcx + r9]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
movzx esi, al
movzx edi, byte [rcx + r9 + 1]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
add r9, 2
cmp r10, r9
jne 0x14013dde0
test dl, 1
je 0x14013de28
movzx edx, al
movzx ecx, byte [rcx + r9]
xor ecx, edx
lea rdx, [0x140278d30]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [r8 + 0x18], eax
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
int3
int3
xor eax, eax
jmp 0x14013de28