joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call fcn.100182000
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10000c1e0
add rsp, 0x28
jmp 0x10000bae0
Function at 0x1400012e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400013c2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400013b9
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x140001350
cmp qword [rbx + 0x18], 7
mov r9, rbx
jbe 0x140001366
mov r9, qword [rbx]
mov r10, qword [rbx + 0x10]
lea rdx, [rsp + 0x4c]
cmp rax, r10
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x14000139a
lea rcx, [rsp + 0x4c]
sub r9, rcx
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1400013a1
add rdx, 2
sub r8, 1
jne 0x140001386
cmp r10, rax
jb 0x1400013a1
jbe 0x1400013b5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001341
jmp 0x1400013b9
mov esi, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400087f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140008280
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400082ba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400082bf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140008308
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000a530]
cmp byte [rcx + rax], 0
je 0x140008308
dec r8
sub rdx, 1
jne 0x1400082ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400093ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400093f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400093f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400093f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400093f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400093f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400093f8
xor al, al
add rsp, 0x28
ret
Function at 0x140009320
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
jb 0x14000934c
call fcn.140113f90
mov qword [rsi], 0
test r15, r15
je 0x140009382
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400093da
cmp r12, 2
jb 0x14000937a
mov qword [rsi], r15
call fcn.140113f90
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 0x1400093a9
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140113f90
mov rbx, qword [rdi]
cmp qword [0x14032e578], 0
je 0x14000940e
mov rcx, qword [0x14032e578]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402cbd20]
mov qword [rdi], 0
jmp 0x140009398
call fcn.140113f90
mov r14, qword [rsi]
cmp qword [0x14032e578], 0
je 0x140009452
mov rcx, qword [0x14032e578]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402cbd20]
mov qword [rsi], 0
jmp 0x14000936c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402b22fd]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009496
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14000944c
call qword [0x1402cbd20]
mov rcx, rax
xor edx, edx
call fcn.14003d8b0
jmp 0x1400093bb
xor ecx, ecx
mov dl, 1
jmp 0x140009442
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402b22fd]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000949a
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140009490
call qword [0x1402cbd20]
mov rcx, rax
xor edx, edx
call fcn.14003d8b0
jmp 0x1400093ec
xor ecx, ecx
mov dl, 1
jmp 0x140009486
xor ecx, ecx
jmp 0x140009440
xor ecx, ecx
jmp 0x140009484
Function at 0x14000d140
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14032e2c8]
mov ecx, dword [0x1402ea130]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d1a7
lea rax, [0x14032e2c0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14000d19d
call fcn.1401ac870
int3
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14032e2c8]
call fcn.1401aa170
cmp dword [0x14032e2c8], 0xffffffff
jne 0x14000d17c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401e5d50
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
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, 0x88
call fcn.1401a9d88
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14032e310]
mov ecx, dword [0x1402ea130]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d267
lea r8, [0x14032e2e0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002db60
mov qword [0x14032e2c0], rsi
lea rcx, [0x14032e2c8]
call fcn.1401aa094
jmp 0x14000d17c
lea rcx, [0x14032e310]
call fcn.1401aa170
cmp dword [0x14032e310], 0xffffffff
jne 0x14000d238
xorps xmm0, xmm0
movups xmmword [0x14032e300], xmm0
movups xmmword [0x14032e2f0], xmm0
movups xmmword [0x14032e2e0], xmm0
lea rcx, [0x14032e2e0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14032e310]
call fcn.1401aa094
jmp 0x14000d238
Function at 0x14000ff40
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.1401ac810
sub rsp, rax
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x1402e9848]
cmp esi, 0xffffffff
je 0x14000fffd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14001002f
lea rbx, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call fcn.1401e5d50
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.1401aa168
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rbx
call fcn.1401e56b0
mov rdx, rdi
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14000ffed
call fcn.1401ac870
int3
mov rax, rdi
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140010032
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x1402e9848], esi
je 0x14000ff73
mov ecx, esi
call sub.KERNEL32.dll_TlsFree
mov esi, dword [0x1402e9848]
jmp 0x14000ff73
int3
int3

Function at 0x140010f00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
cmp r9, 2
jb 0x14001103f
cmp word [r8 + 2], 0x3a
jne 0x14001103f
movzx eax, word [r8]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x14001103f
mov ebx, 2
xor eax, eax
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, 2
jb 0x140011048
cmp word [rcx + 2], 0x3a
jne 0x140011048
movzx r10d, word [rcx]
and r10d, 0xffffffdf
add r10d, 0xffffffa5
cmp r10w, 0xffe6
setae r10b
not al
test al, r10b
je 0x140011048
cmp r9, rbx
cmovae r9, rbx
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
mov qword [rdx + 8], 2
lea rcx, [rsp + 0x28]
mov qword [rcx], r8
mov qword [rcx + 8], r9
mov r8d, 1
call fcn.140167e90
test al, al
je 0x140010fe9
mov rax, qword [rdi + 8]
mov rcx, rax
sub rcx, rbx
jb 0x14001107d
mov rdx, qword [rsi + 8]
cmp rdx, 1
jbe 0x14001107d
add rdx, 0xfffffffffffffffe
cmp rcx, rdx
je 0x14001100a
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140011002
call fcn.1401ac870
int3
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
test rcx, rcx
je 0x140011076
lea ecx, [rbx + rbx]
add rcx, qword [rdi]
mov rdx, qword [rsi]
not rbx
add rbx, rax
xor r8d, r8d
movzx eax, word [rcx + r8*2]
cmp ax, word [rdx + r8*2 + 4]
sete al
jne 0x140010feb
lea r9, [r8 + 1]
cmp rbx, r8
mov r8, r9
jne 0x140011021
jmp 0x140010feb
mov al, 1
xor ebx, ebx
jmp 0x140010f54
cmp r9, rdx
jne 0x140010fe9
test r9, r9
je 0x140011076
dec r9
xor edx, edx
movzx eax, word [r8 + rdx*2]
cmp ax, word [rcx + rdx*2]
sete al
jne 0x140010feb
lea r10, [rdx + 1]
cmp r9, rdx
mov rdx, r10
jne 0x140011057
jmp 0x140010feb
mov al, 1
jmp 0x140010feb
lea rcx, str.string_view::substr
call fcn.1401e9860
int3
Function at 0x1400121a0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, Ordinal_26
call fcn.1401a9d88
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x1402dd748]
jne 0x14001220d
mov rcx, r15
call fcn.140004d30
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14001e450]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140012289
test r14, r14
je 0x14001227e
mov qword [r14], rdi
test rdi, rdi
setne al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14001226d
call fcn.1401ac870
int3
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140012250
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x1400122d6
cmp ebp, 0x5af
je 0x1400122a8
cmp ebp, 0x27b
jne 0x1400122e0
mov rcx, rbx
call fcn.1400ab530
test rsi, rsi
je 0x140012250
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1402dd748]
jne 0x1400122c9
call fcn.140004e70
mov rcx, rsi
call fcn.1401a9dc4
jmp 0x140012250
cmp ebp, 8
je 0x1400122a8
cmp ebp, 0xe
je 0x1400122a8
mov eax, dword [0x14032e360]
mov ecx, dword [0x1402ea130]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140012356
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.1400aad70
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x140012324
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov qword [rdx], rbx
mov qword [rdx + 8], rax
mov rcx, qword [0x14032e358]
call fcn.14000afe0
cmp byte [rsp + 0x4f], 0
jns 0x1400122b0
mov rcx, qword [rsp + 0x38]
call fcn.1401a9dc4
jmp 0x1400122b0
lea rcx, [0x14032e360]
call fcn.1401aa170
cmp dword [0x14032e360], 0xffffffff
jne 0x140012301
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140008fa0
mov qword [0x14032e358], rax
lea rcx, [0x14032e360]
call fcn.1401aa094
jmp 0x140012301
Function at 0x1400140e0
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x140299a90]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.GetLength
lea r8, [0x1402aad18]
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xb0
call fcn.14013ff00
xor edi, edi
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.1401598a0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14], rax
mov rcx, qword [rbx]
lea rbx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rdi, rdi
or rdi, qword [rbx]
mov rcx, rsi
call fcn.1401593b0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140014196
call fcn.1401ac870
int3
mov rax, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140015730
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx + 8], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
lea rax, [0x14029c2f8]
mov qword [rcx], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400157a0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1400157ab
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140015798
mov qword [rsi + 0x18], rdi
call fcn.140113f90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140113f90
mov rcx, qword [rsi + 0x18]
call fcn.140192790
mov qword [rsi + 0x18], 0
jmp 0x140015785

Function at 0x1400195c0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14001960c
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140019617
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400195fa
mov qword [rdi], rsi
call fcn.140113f90
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140113f90
mov r14, qword [rdi]
cmp qword [0x14032e578], 0
je 0x140019648
mov rcx, qword [0x14032e578]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402cbd20]
mov qword [rdi], 0
jmp 0x1400195e8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402b22fd]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140019689
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140019683
call qword [0x1402cbd20]
mov rcx, rax
xor edx, edx
call fcn.14003d8b0
jmp 0x140019629
xor ecx, ecx
mov dl, 1
jmp 0x14001967c
xor ecx, ecx
jmp 0x14001967a
Function at 0x14001d680
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1403359c8]
mov ecx, dword [0x1402ea130]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001d7b5
mov ecx, dword [0x1402e9848]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14001d6e1
mov rcx, qword [0x1403359b8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1403359c0]
jne 0x14001d6e1
add rax, rcx
cmp qword [rax], 0
jne 0x14001d774
mov ecx, 4
call fcn.1401a9d88
mov rsi, rax
mov dword [rax], 0
mov ecx, dword [0x1402e9848]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14001d7ae
mov rcx, qword [0x1403359b8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1403359c0]
jne 0x14001d7ae
add rax, rcx
mov rdi, qword [rax]
mov ecx, dword [0x1402e9848]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x14001d747
test rsi, rsi
je 0x14001d76b
call fcn.14000ff40
mov rcx, qword [0x1403359b8]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1403359c0]
mov rdx, qword [0x1403359b8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test rdi, rdi
jne 0x14001d808
mov ecx, dword [0x1402e9848]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14001d7aa
mov rcx, qword [0x1403359b8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1403359c0]
jne 0x14001d7aa
add rax, rcx
mov rax, qword [rax]
add rsp, 0x28
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14001d7a3
xor edi, edi
jmp 0x14001d72b
lea rcx, [0x1403359c8]
call fcn.1401aa170
cmp dword [0x1403359c8], 0xffffffff
jne 0x14001d6ab
mov qword [0x1403359c0], 0
lea rcx, [0x1403359b8]
mov qword [0x1403359b8], 0xffffffffffffffff
lea rdx, [0x1400631a0]
call fcn.140028120
lea rcx, [0x1403359c8]
call fcn.1401aa094
jmp 0x14001d6ab
mov rcx, rdi
call fcn.1401a9dc4
jmp 0x14001d774
Function at 0x140021af0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
test r8d, r8d
je 0x140021c45
mov ebx, r8d
mov dword [rsi], 0
test dl, 1
jne 0x140021c8b
xor edi, edi
movzx edx, dx
shr edx, 1
inc edi
mov ebp, edx
test dl, 1
je 0x140021b1a
bsr r8d, ebp
xor r8d, 0x1f
mov eax, 0x20
sub eax, r8d
imul eax, ebx
cmp eax, 0xde3
jg 0x140021c95
mov ecx, 1
mov eax, ecx
lea ecx, [rax + rax]
cmp ebx, eax
jge 0x140021b4b
mov r14d, eax
sar r14d, 2
movzx r9d, dx
cmp eax, 4
jae 0x140021c58
xor eax, eax
mov rdx, r9
test rdx, rdx
je 0x140021b9c
xor ecx, ecx
mov r8, rdx
mov r9d, edx
and r9d, 0xfffffff
mov dword [rsi + rcx*4 + 4], r9d
shr r8, 0x1c
inc rcx
cmp rdx, 0xfffffff
mov rdx, r8
ja 0x140021b77
mov word [rsi], cx
test al, 1
jne 0x140021c9a
test r14d, r14d
jne 0x140021ca9
movzx edx, word [rsi]
test rdx, rdx
je 0x140021c2d
imul edi, ebx
movsxd rax, edi
imul rax, rax, 0xffffffff92492493
shr rax, 0x20
add eax, edi
mov ecx, eax
shr ecx, 0x1f
sar eax, 4
add eax, ecx
add word [rsi + 2], ax
cmp dx, 0x7f
jg 0x140021c95
test dx, dx
jle 0x140021c2d
lea ecx, [rax + rax*8]
lea ecx, [rcx + rcx*2]
add ecx, eax
sub edi, ecx
mov eax, 0x1c
sub eax, edi
xor r8d, r8d
xor r9d, r9d
mov r10d, r9d
mov r11d, dword [rsi + r8*4 + 4]
mov r9d, r11d
mov ecx, eax
shr r9d, cl
mov ecx, edi
shl r11d, cl
add r11d, r10d
and r11d, 0xfffffff
mov dword [rsi + r8*4 + 4], r11d
inc r8
cmp rdx, r8
jne 0x140021bfc
test r9d, r9d
jne 0x140021c38
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov dword [rsi + rdx*4 + 4], r9d
lea eax, [rdx + 1]
mov word [rsi], ax
jmp 0x140021c2d
mov word [rsi + 2], 0
mov dword [rsi + 4], 1
mov ax, 1
jmp 0x140021c40
xor eax, eax
mov rdx, r9
mov r10d, r14d
imul rdx, rdx
test r10d, ebx
jne 0x140021cd4
mov r14d, r10d
sar r14d, 1
cmp r10d, 2
jb 0x140021b6d
mov rcx, rdx
shr rcx, 0x20
mov r10d, r14d
jne 0x140021b6d
jmp 0x140021c60
movzx ebp, dx
xor edi, edi
jmp 0x140021b28
call fcn.1402329e0
mov rcx, rsi
mov edx, ebp
call fcn.140021290
jmp 0x140021ba4
mov rcx, rsi
call fcn.140253af0
test r14d, ebx
je 0x140021cc0
mov rcx, rsi
mov edx, ebp
call fcn.140021290
mov eax, r14d
sar eax, 1
cmp r14d, 1
mov r14d, eax
jbe 0x140021bad
jmp 0x140021ca9
lea ecx, [r8 + 0x20]
mov r14, rdx
shr r14, cl
mov r11d, 1
test r14, r14
setne cl
jne 0x140021cef
mov r11, r9
imul rdx, r11
or al, cl
jmp 0x140021c69