joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014ec0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140185ac0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140014edf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014ee8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14001b020
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
mov qword [rsp + 0x20], rax
movabs rax, 0x7520676e696e6165
mov qword [rsp + 0x28], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x30], rax
movabs rax, 0x20726f6620737965
mov qword [rsp + 0x38], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x87], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x14001b12a
lea rcx, [rsp + 0x20]
mov eax, 0x28
jmp 0x14001b102
add rax, 1
cmp rax, 0x6b
je 0x14001b11f
cmp byte [rcx + rax], 0
jne 0x14001b0f8
cmp eax, 0x6a
movsxd rdx, eax
je 0x14001b11f
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
lea rcx, [rsp + 0x20]
mov eax, 0x28
mov edx, 0x27
jmp 0x14001b113

Function at 0x14001b4a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14018b650], 1
je 0x14001b518
lea rdi, [0x14018b650]
mov rcx, rdi
call fcn.14001ada0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001a720
mov esi, dword [0x14018b650]
test esi, esi
jne 0x14001b528
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x140020678], eax
je 0x14001fef6
mov dword [0x14018b650], 1
mov rcx, rbp
call fcn.14001aa10
test rbx, rbx
je 0x14001b518
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001b140
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x14001b4f8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.14001a1f0
jmp 0x14001b4f8
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
Function at 0x140002850
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14029bf80]
cmp ecx, 0xffffffff
je 0x140002919
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x140002919
mov eax, dword [0x1402a2658]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140002923
mov rbx, qword [0x1402a2650]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140002965
mov rax, qword [0x1402a0e40]
inc rax
xor ecx, ecx
lea rdx, [0x1402a0e50]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140002972
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [0x1402a0e40], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x140002987
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140002990
jmp 0x14000287a
lea rcx, [0x1402a2658]
call fcn.14017b2bc
cmp dword [0x1402a2658], 0xffffffff
jne 0x14000289f
mov ecx, 8
call fcn.14017b1d8
mov qword [rax], 0
mov qword [0x1402a2650], rax
lea rcx, [0x1402a2658]
call fcn.14017b25c
jmp 0x14000289f
mov rcx, rbx
call fcn.1400fdfc0
jmp 0x1400028b7
inc rcx
cmp rcx, 0x100
jne 0x1400028ca
jmp 0x1400028ff
int3

Function at 0x140002990
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.14017e750
sub rsp, rax
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x14029bf80]
cmp esi, 0xffffffff
je 0x140002a43
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140002a75
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.1401808d0
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.14017b5a0
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call fcn.140180220
mov rdx, rbx
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140002a78
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x14029bf80], esi
je 0x1400029c3
mov ecx, esi
call sub.KERNEL32.dll_TlsFree
mov esi, dword [0x14029bf80]
jmp 0x1400029c3
int3
int3
Function at 0x140007200
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx]
test rax, rax
je 0x14000723c
mov ecx, dword [rsi + 8]
cmp dword [rax + 0x18], ecx
jbe 0x14000723c
mov rax, qword [rax + 0x10]
shl rcx, 7
cmp dword [rax + rcx + 0x68], 0
jne 0x14000728b
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x10], 0
test rcx, rcx
jne 0x14000727f
mov rax, qword [rsi]
test rax, rax
je 0x140007265
mov rcx, qword [rax + 8]
lock dec dword [rcx + 0x38]
mov rax, qword [rax + 8]
lock inc dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov edx, 1
call fcn.1401bb2c0
jmp 0x14000724d
mov rbx, qword [0x1402a0ca0]
lea rdi, [rbx + 0xc8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400072c6
mov rcx, qword [rsi]
sub rbx, 0xffffffffffffff80
mov edx, dword [rsi + 8]
mov r8, rbx
call fcn.1401bcf10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x14000723c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140105b90
mov qword [rsp + 0x50], rdi
mov r15, qword [0x1402a0ca0]
test r15, r15
je 0x140007315
mov r14, rax
mov ecx, dword [0x14029bf80]
cmp ecx, 0xffffffff
je 0x140007341
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 1
ja 0x140007341
mov qword [rsp + 0x30], 0
lea r14, [rsp + 0x30]
mov qword [r14 + 0x10], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, r14
call fcn.140007200
jmp 0x1400072a6
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140007315
mov rcx, qword [r15 + 0x18]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [r15 + 0x20]
jne 0x140007315
mov rcx, qword [rax + rcx]
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x14000731e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, r14
xor r8d, r8d
mov r9b, 0x20
call fcn.1401bab30
mov dword [rsp + 0x38], eax
jmp 0x14000731e
Function at 0x140008360
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov rax, qword [rcx + 0x4a8]
mov rax, qword [rcx + 0x3e0]
lea r12, [rcx + 0x3e8]
xor ebp, ebp
cmp rax, r12
je 0x140008482
lea rbx, [rsp + 0x28]
mov r15, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test rax, rax
je 0x1400085ab
mov rcx, qword [rax + 8]
mov rdx, rax
test rcx, rcx
jne 0x140008471
mov r13, qword [rdx + 0x10]
cmp qword [r13], rdx
mov rdx, r13
jne 0x1400083d1
mov r14, qword [rax + 0x20]
test bpl, bpl
jne 0x14000843b
mov rax, qword [fcn.1401193e0]
lea rcx, [0x140179e10]
cmp rax, rcx
jne 0x140008585
mov qword [rsp + 0x28], 0
mov rcx, rbx
call r15
mov rax, qword [rsp + 0x28]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400085ae
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402a2810]
mov rdi, rax
mov bpl, 1
mov rcx, r14
mov rdx, rdi
call fcn.1400016f0
mov rcx, qword [r14 + 0xb0]
test rcx, rcx
je 0x140008463
call fcn.1400fe200
mov rcx, qword [r14 + 0xb8]
call fcn.1400fe200
mov rax, r13
cmp r13, r12
jne 0x1400083b8
jmp 0x140008482
mov r13, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400083de
jmp 0x140008471
mov rax, qword [rsi + 0x3f8]
add rsi, 0x400
cmp rax, rsi
jne 0x1400084b4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [0x140179e10]
lea rbx, [rsp + 0x28]
mov r12, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test rax, rax
je 0x1400085d8
mov rcx, qword [rax + 8]
mov rdx, rax
test rcx, rcx
jne 0x1400084eb
mov r13, qword [rdx + 0x10]
cmp qword [r13], rdx
mov rdx, r13
je 0x1400084f6
jmp 0x1400084dc
mov r13, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400084eb
mov r14, qword [rax + 0x20]
test bpl, bpl
jne 0x14000854c
mov rax, qword [fcn.1401193e0]
cmp rax, r15
jne 0x14000859b
mov qword [rsp + 0x28], 0
mov rcx, rbx
call r12
mov rax, qword [rsp + 0x28]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400085db
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402a2810]
mov rdi, rax
mov bpl, 1
mov rcx, r14
mov rdx, rdi
call fcn.1400016f0
mov rcx, qword [r14 + 0xb0]
test rcx, rcx
je 0x140008574
call fcn.1400fe200
mov rcx, qword [r14 + 0xb8]
call fcn.1400fe200
mov rax, r13
cmp r13, rsi
je 0x140008495
jmp 0x1400084c7
lea rdi, [rsp + 0x28]
mov rcx, rdi
call qword [case.0x1401e7f70.0]
mov rdi, qword [rdi]
jmp 0x140008438
mov rcx, rbx
call qword [case.0x1401e7f70.0]
mov rdi, qword [rsp + 0x28]
jmp 0x140008549
int3
mov rcx, qword [0x1402a2810]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov rdi, rax
add rdi, r8
jmp 0x140008438
int3
mov rcx, qword [0x1402a2810]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov rdi, rax
add rdi, r8
jmp 0x140008549
Function at 0x140008930
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 0x1400089a7
cmp qword [rsi], r15
je 0x140008986
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400089ae
cmp r12, 2
jb 0x14000897e
mov qword [rsi], r15
call fcn.140105b90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140105b90
jmp 0x140008957
call fcn.140105b90
mov r14, qword [rsi]
cmp qword [0x1402a45d0], 0
je 0x1400089df
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 0x140008970
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 0x140008a20
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140008a1a
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x1400089c0
xor ecx, ecx
mov dl, 1
jmp 0x140008a13
xor ecx, ecx
jmp 0x140008a11
Function at 0x140008ab0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 1
xor eax, eax
lock cmpxchg qword [rsi], rcx
sete bl
jne 0x140008b03
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi]
cmp rax, 1
jne 0x140008ae3
movabs r15, 0x8637bd05af7
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x20], rax
mov rax, qword [fcn.1401193e0]
lea r12, [0x140179e10]
cmp rax, r12
jne 0x140008c17
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
cmp rax, r15
jge 0x140008c4e
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402a2810]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs rbp, 0x7fffffffffffffff
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [fcn.1401193e0]
cmp rax, r12
jne 0x140008c02
mov qword [rsp + 0x28], 0
mov rcx, rdi
call r13
mov rax, qword [rsp + 0x28]
cmp rax, r15
jge 0x140008c27
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402a2810]
mov rcx, qword [rsp + 0x20]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, rbp
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x140008bf6
xor ecx, ecx
call r14
mov rax, qword [rsi]
cmp rax, 1
je 0x140008b8f
jmp 0x140008ae3
mov ecx, 0x3e8
call fcn.1401bb4e0
jmp 0x140008be8
lea rcx, [rsp + 0x28]
call qword [case.0x1401e7f70.0]
lea rax, [rsp + 0x28]
mov rax, qword [rax]
jmp 0x140008bc4
lea rcx, [rsp + 0x20]
call qword [case.0x1401e7f70.0]
jmp 0x140008b72
mov rcx, qword [0x1402a2810]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140008bc4
mov rcx, qword [0x1402a2810]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140008b6d
Function at 0x140009a50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400d6e80]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1402a52c0]
lea rdx, [0x1400d6e60]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140009b7b
cmp dword [0x1402a52c8], 0
jne 0x140009b6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1402a52cc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x140009b1f
mov ecx, 0x30
call fcn.14017b340
test rax, rax
je 0x140009b6b
mov r15, rax
mov qword [rax], 0x28
mov r14, rax
add r14, 8
je 0x140009b6b
xorps xmm0, xmm0
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x20], 0
mov ecx, dword [0x1402a52cc]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140009b80
lea r15, [0x1402a52d0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1402a52e0]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov ebx, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rsi
mov rax, rdi
call qword [case.0x1401e7f70.0]
xor ebx, ebx
jmp 0x140009b4f
call fcn.14017b5a8
mov r8, qword [r15]
add r8, 8
xor ebx, ebx
mov rcx, r15
xor edx, edx
call fcn.1401808d0
mov rcx, r15
call fcn.14017b220
mov rcx, rsi
mov rax, rdi
call qword [case.0x1401e7f70.0]
jmp 0x140009b4f
Function at 0x14000c410
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdi, [rcx - 8]
mov rax, qword [rcx + 0x140]
or rax, qword [rcx + 0x148]
jne 0x14000c673
mov rbx, r8
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x90]
mov qword [rdx], r12
mov rcx, rdi
mov r8, rsi
call fcn.14000a440
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
cmp qword [rsi], rax
jne 0x14000c488
cmp qword [rsi + 8], rcx
je 0x14000c660
or rax, rcx
je 0x14000c660
mov r14, qword [rsp + 0x90]
test r14, r14
je 0x14000c660
lea r15, [rsp + 0x88]
mov qword [r15], r12
mov rcx, rdi
mov rdx, r15
mov r8, rbx
call fcn.14000a440
mov rdi, qword [r15]
test rdi, rdi
je 0x14000c5aa
movaps xmm0, xmmword [0x140270690]
lea r15, [rsp + 0x50]
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov rcx, r15
call fcn.14000e1c0
mov r12, qword [rdi + 0x48]
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r15
call fcn.1401246e0
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, r13
call fcn.1401246e0
mov rcx, r14
mov rdx, rbx
mov r8, r15
mov r9, r12
call fcn.14000c6c0
mov rax, qword [r13 + 8]
inc rax
cmp rax, 2
jae 0x14000c607
mov rbx, qword [r14 + 0x48]
lea rdx, [rsp + 0x60]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.1401246e0
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, r14
call fcn.1401246e0
mov rcx, rdi
mov rdx, rsi
mov r8, r15
mov r9, rbx
call fcn.14000c6c0
mov rax, qword [r14 + 8]
inc rax
cmp rax, 2
jae 0x14000c61b
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 2
jae 0x14000c62f
mov rax, qword [rsp + 0x58]
inc rax
cmp rax, 2
jae 0x14000c64c
lock dec dword [rdi + 8]
jne 0x14000c5cc
add rdi, 8
mov rcx, rdi
call fcn.1401bb660
jmp 0x14000c5cc
lea r8, [rsp + 0x78]
mov dword [r8], 0
mov qword [r8 + 8], 0
mov rcx, r14
mov rdx, rbx
xor r9d, r9d
call fcn.14000c6c0
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14000c5e3
lock dec dword [rcx + 8]
je 0x14000c6a3
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140105b90
mov rcx, qword [rsp + 0x38]
call fcn.1401651a0
jmp 0x14000c52a
call fcn.140105b90
mov rcx, qword [rsp + 0x38]
call fcn.1401651a0
jmp 0x14000c572
call fcn.140105b90
mov rcx, qword [rsp + 0x68]
call fcn.1401651a0
mov qword [rsp + 0x68], 0
jmp 0x14000c584
call fcn.140105b90
mov rcx, qword [rsp + 0x58]
call fcn.1401651a0
jmp 0x14000c596
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.14000b4b0
jmp 0x14000c5cc
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14017e7b0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000b4b0
add rcx, 8
call fcn.1401bb660
jmp 0x14000c5e3
Function at 0x14000cbf0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
lea r15, [rcx + 0x118]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14000ccb4
mov r12, qword [rsi + 0x130]
test r12, r12
je 0x14000cc8c
mov rax, qword [rsi + 0x120]
or rax, qword [rsi + 0x128]
jne 0x14000cc8c
lea rax, [rsi + 0x120]
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
lock inc dword [r12 + 8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movups xmm0, xmmword [r14]
movups xmmword [r12 + 0x38], xmm0
add rsi, 8
mov rcx, r12
mov rdx, rdi
mov r8, rsi
call fcn.14000dee0
lock dec dword [r12 + 8]
je 0x14000ccc1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
add rsi, 0xfffffffffffffff8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.14000b4b0
mov rcx, r15
call fcn.1400fdfc0
jmp 0x14000cc21
add r12, 8
mov rcx, r12
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1401bb660
Function at 0x1400175f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400176dd
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
movabs rcx, 0xffffffffffff
and rcx, rax
shr rax, 0x30
and eax, 0x3fff
or eax, 0x8000
mov edx, r8d
and edx, 0xfff
or edx, 0x4000
mov r9d, r8d
shr r9d, 0x10
shr r8, 0x20
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x28], eax
lea rdx, str._08x__04x__04x__04x__012llx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14010a600
cmp byte [rdi + 0x17], 0
jns 0x1400176e0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, rsi
call fcn.140014270
cmp byte [rsp + 0x57], 0
jns 0x1400176c6
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rsi
add rsp, 0x78
pop rdi
pop rsi
ret
int3
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x1400176c6
Function at 0x140019a50
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 dword [rcx], 1
xor eax, eax
mov qword [rcx + 8], rax
mov r15, qword [rdx]
mov qword [rdx], rax
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140019a84
call fcn.140105b90
cmp qword [rsi + 8], r15
je 0x140019ab6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140019ad7
cmp r12, 2
jb 0x140019aae
mov qword [rsi + 8], r15
call fcn.140105b90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140019b4b
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140105b90
mov r14, qword [rsi + 8]
cmp qword [0x1402a45d0], 0
je 0x140019b0a
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401e7f70.0]
mov qword [rsi + 8], 0
jmp 0x140019a9f
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 0x140019b64
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140019b45
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140019aea
xor ecx, ecx
mov dl, 1
jmp 0x140019b3e
call fcn.140105b90
mov rcx, qword [rdi]
call fcn.1401651a0
mov qword [rdi], 0
jmp 0x140019ac6
xor ecx, ecx
jmp 0x140019b3c

Function at 0x14001a690
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rdi, r8
mov rsi, rdx
mov r12, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r15, rbx
shr r15, 0x20
movzx eax, r9b
lea ebp, [rax + rax]
add ebp, 4
mov qword [rsp + 0x20], r12
mov rcx, r8
mov edx, ebp
mov r8d, r15d
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x14001a757
movaps xmm0, xmmword [0x140270690]
lea rdi, [rsp + 0x30]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov r8d, 0x30
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rdi + 0x18]
sub rcx, r14
add rcx, qword [rdi + 8]
test rax, rax
cmove rcx, rax
mov byte [rsi], 1
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140207600
mov qword [rsp + 0x20], r12
mov rcx, rdi
mov edx, ebp
mov r8d, r15d
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x14001a6f2
call fcn.140207600
mov byte [rsi], 0
jmp 0x14001a738