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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm6
mov r14, r8
mov r15, rdx
mov rbx, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
call fcn.1400a8f40
mov r13, rax
lea rax, str.type
lea r8, [rsp + 0x198]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.14008db40
lea rbp, [rbx + 0x10]
cmp byte [rbx + 0x27], 0
js 0x14010e601
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
mov al, byte [rbp + 0x17]
test al, al
js 0x14010e60f
sete r12b
cmp al, 7
je 0x14010e5d0
xor edi, edi
lea rdx, str.check_state_and_terminate
mov rcx, r13
call fcn.1400a8f60
test al, al
jne 0x14010e62a
mov rcx, r13
call fcn.140007548
or dil, r12b
jne 0x14010e5ef
test eax, eax
jne 0x14010e5ef
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x10], rax
movaps xmm6, xmmword [0x140257270]
movaps xmmword [rsi], xmm6
mov rcx, rsi
call fcn.140086650
lea rdi, [rsp + 0x30]
movaps xmmword [rdi], xmm6
mov rcx, rdi
mov rdx, rsi
call fcn.14010e950
mov rax, qword [rdi]
mov qword [rbx + 8], rax
test rax, rax
je 0x14010e6a6
test r12b, r12b
jne 0x14010e55c
mov ecx, 0x27f
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov rax, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, rbx
mov rdx, r13
mov r8, rbp
call qword [rax + 8]
mov rcx, qword [rbx + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, dword [rsp + 0x38]
lea rdx, [rsp + 0x180]
mov rcx, r15
mov r8, r14
call rax
mov esi, eax
lea rcx, [rsp + 0x40]
call fcn.14007cab0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rbp
mov ecx, dword [rax]
mov eax, dword [rax + 3]
xor ecx, dword [str.service]
xor eax, dword [0x1402634ed]
or eax, ecx
sete dil
jmp 0x14010e4cf
lea rcx, [rsp + 0x180]
call fcn.14010e6f8
jmp 0x14010e4ff
mov rcx, qword [rbp]
call fcn.1400c9cac
jmp 0x14010e499
mov rax, qword [rbx + 0x18]
test rax, rax
sete r12b
cmp rax, 7
jne 0x14010e4cd
mov rax, qword [rbp]
jmp 0x14010e5d3
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14010e68d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_app_main_dll_loader_win.cc
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov r8d, 0x8c
mov r9d, 2
call fcn.14014efd0
lea rcx, [rsp + 0x50]
lea rdx, str.Browser_state_checked_and_exiting.
mov r8d, 0x22
call fcn.1400a7acb
mov rcx, rax
mov edx, 0xa0
call fcn.14014f0aa
mov rcx, rsi
call fcn.1401412f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xa0
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14010e4e6
mov esi, 7
jmp 0x14010e598
Function at 0x14010ed34
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x20]
mov rcx, rdx
mov rdx, rbx
call fcn.140009a00
cmp byte [rbx + 0x17], 0
mov rcx, rbx
jns 0x14010ed6e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rbx
call fcn.14007cab0
movabs r8, 0x7fffffffffffffff
mov rcx, rdi
mov dl, 1
call fcn.14010edd0
mov ebx, eax
cmp byte [rdi + 0x17], 0
jns 0x14010ed9b
mov rdi, qword [rdi]
mov rcx, rdi
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsi], rax
mov dword [rsi + 8], ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ccfe0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x14010f5a0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.1400ca328
lea r9d, [rax + rax]
add r9d, 2
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x14010f5e0
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.WriteValue
lea r8, str..._.._base_win_registry.cc
lea rcx, [rsp + 0x30]
mov r9d, 0x1d9
call fcn.14007e2d0
mov rcx, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
mov rdx, r14
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14010f5e0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.1400ca328
lea r9d, [rax + rax]
add r9d, 2
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x14010f5e0
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.WriteValue
lea r8, str..._.._base_win_registry.cc
lea rcx, [rsp + 0x30]
mov r9d, 0x1d9
call fcn.14007e2d0
mov rcx, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
mov rdx, r14
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140110ca4
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
call fcn.140007ff0
lea rcx, [rsi + 0x10]
lea rdi, [rsp + 0x20]
mov byte [rdi + 0x17], 0x15
movups xmm0, xmmword [str.ExitCodeWatcherThread]
movaps xmmword [rdi], xmm0
movabs rax, 0x6461657268547265
mov qword [rdi + 0xd], rax
mov byte [rdi + 0x15], 0
mov rdx, rdi
call fcn.140110dd0
cmp byte [rdi + 0x17], 0
js 0x140110dbc
mov dword [rsi + 0x98], 0x103
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xa0], 0
test rax, rax
je 0x140110d67
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x140110d81
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140110d5f
mov qword [rsi + 0xa0], rdi
call fcn.140071760
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ccfe0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140071760
mov r14, qword [rsi + 0xa0]
mov rcx, qword [0x1402980e0]
test rcx, rcx
je 0x140110dae
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [rsi + 0xa0], 0
jmp 0x140110d49
call fcn.140122340
mov rcx, qword [0x1402980e0]
jmp 0x140110d99
mov rcx, qword [rsp + 0x20]
call fcn.1400c9cac
jmp 0x140110d01
Function at 0x140112ab0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov rbp, r8
mov rsi, rdx
mov r15, rcx
xor ebx, ebx
test rcx, rcx
setne bl
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebx, 0x10
mov ecx, 0x10
call fcn.1400c9cbc
mov r14, rax
mov qword [rax], rsi
test rbp, rbp
setne byte [rax + 8]
mov dword [rax + 0xc], edi
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
lea r8, [0x14011df70]
xor ecx, ecx
mov rdx, r15
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140112b51
test rbp, rbp
je 0x140112b81
mov qword [rbp], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x140112b6a
mov ebp, eax
cmp eax, 0x5af
je 0x140112b6a
cmp ebp, 0xe
jne 0x140112b8c
mov rcx, r15
call fcn.140180650
test r14, r14
je 0x140112b2f
mov rcx, r14
call fcn.1400c9cac
jmp 0x140112b2f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140112b2f
mov eax, dword [0x140297880]
mov ecx, dword [0x140293330]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140112bfb
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, ebp
call fcn.140180920
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
cmovs rax, qword [rsi + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rcx, qword [0x140297878]
call fcn.140078fa0
cmp byte [rsi + 0x17], 0
jns 0x140112b72
mov rcx, qword [rsp + 0x38]
call fcn.1400c9cac
jmp 0x140112b72
lea rcx, [0x140297880]
call fcn.1400c9d58
cmp dword [0x140297880], 0xffffffff
jne 0x140112bad
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140102ae0
mov qword [0x140297878], rax
lea rcx, [0x140297880]
call fcn.1400c9cf8
jmp 0x140112bad

Function at 0x140114110
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140299aa0]
cmp rdi, 1
jbe 0x140114139
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140098d50
lea rcx, [0x140299aa0]
call fcn.14008f690
test al, al
je 0x14011417f
mov qword [0x140299aa8], 0
lea rbx, [0x140299aa0]
lea rdi, [0x140299aa8]
mov rcx, rdi
xor edx, edx
call fcn.1400721e0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14008f670
jmp 0x140114127
mov rdi, qword [0x140299aa0]
jmp 0x140114127
Function at 0x140114360
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140297f30]
cmp rdi, 1
jbe 0x1401143aa
mov ecx, dword [0x1402910c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401143f0
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140297f30]
call fcn.14008f690
test al, al
je 0x1401143fc
mov qword [0x140297f38], 0
lea rbx, [0x140297f30]
lea rdi, [0x140297f38]
mov rcx, rdi
xor edx, edx
call fcn.1400721e0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14008f670
jmp 0x140114377
test rsi, rsi
je 0x1401143a2
call fcn.140008460
jmp 0x140114389
mov rdi, qword [0x140297f30]
jmp 0x140114377
Function at 0x140117b60
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x140257270]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x14025cca7]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x472
call fcn.14007e2d0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14008e970
cmp byte [rdi + 0x17], 0
jns 0x140117be4
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.14007d0f0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x140117c20
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x140257270]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x14025cc92]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x462
call fcn.14007e2d0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14008e970
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400cf750
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x140117d23
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1400ca328
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14009f4c0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400afca0
mov rcx, r14
mov rdx, rsi
call fcn.1400b4d80
mov rcx, rsi
call fcn.14007cab0
mov rcx, rbx
call fcn.14007cab0
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.14007d0f0
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14011de02
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14011ded9
mov rax, qword [rsi + 0x28]
cmp rax, 0x60
mov edi, 0x60
cmova rdi, rax
mov rcx, rdi
call qword [rsi + 0x48]
mov rdx, rax
xor r8d, r8d
mov qword [rax], r8
mov qword [rax + 8], 0x18
mov qword [rax + 0x10], rdi
lock add qword [rsi + 0x10], rdi
lea rcx, [rax + 0x18]
mov qword [rax + 8], 0x60
mov qword [rax + 0x18], rsi
mov edi, dword [0x140293330]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdi*8]
lea rax, [rax + 0x120]
mov qword [rdx + 0x20], rax
mov qword [rdx + 0x28], rdx
lea rax, [rdx + 0x60]
mov qword [rdx + 0x40], rax
mov rax, qword [rdx + 0x10]
add rax, rdx
mov qword [rdx + 0x48], rax
mov qword [rdx + 0x30], r8
xorps xmm0, xmm0
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rsi]
mov qword [rdx + 0x38], rax
lock cmpxchg qword [rsi], rcx
jne 0x14011de9b
mov eax, dword [0x140293330]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x128], rcx
mov rdx, qword [rsi + 0x20]
mov qword [rax + 0x120], rdx
mov qword [rsi + 8], rcx
mov rax, rcx
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, dword [0x140293330]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
lea rax, [rax + 0x120]
cmp qword [rcx + 8], rax
je 0x14011dea6
mov rcx, qword [rcx + 0x20]
jmp 0x14011de0e
Function at 0x1401228c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400ccf70
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r15, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r15
mov dl, 0xaa
call fcn.1400cf750
lea r12, [rsp + 0x3c]
mov dword [r12], 1
lea rsi, [rsp + 0x38]
mov dword [rsi], 0x800
lea rdx, str.ReadValue
lea r8, str..._.._base_win_registry.cc
lea rcx, [rsp + 0x40]
mov r9d, 0x19e
call fcn.14007e2d0
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
mov rdx, rdi
xor r8d, r8d
mov r9, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14012299d
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x1401229a1
lea rdx, [rsp + 0x840]
mov rcx, r14
call fcn.1400a90fe
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov edi, eax
jmp 0x14012297a
cmp eax, 2
jne 0x1401229e6
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.1400cf750
lea rcx, [rsp + 0x840]
mov rdx, rsi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
dec eax
cmp eax, 0x3ff
ja 0x1401229ed
lea rdx, [rsp + 0x40]
jmp 0x140122970
mov edi, 0x3f4
jmp 0x14012297a
mov edi, 0xea
jmp 0x14012297a
Function at 0x140124070
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, fcn.14012a4a0
mov qword [rcx], rax
lea rdi, [rcx + 8]
lea rax, [0x140255f30]
mov qword [rcx + 8], rax
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140073180
mov rcx, rbx
mov rdx, rsi
call fcn.1401241d0
call fcn.140072f50
mov rcx, rax
mov rdx, rdi
call fcn.1400ab460
mov rdi, qword [rsi + 0x10]
add rdi, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140124179
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x140124186
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x20]
mov dword [rdx], eax
mov ecx, 0x308
add rcx, qword [rsi + 0x10]
call fcn.1401241e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rdi, qword [rsi + 0x10]
mov ecx, dword [0x1402910c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140124152
movsxd rcx, dword [rdi + 0x2f0]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 0x2f4]
movsxd rdx, dword [rdi + 0x2f0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rdi, qword [rsi + 0x18]
mov qword [rsi + 0x18], 0
test rdi, rdi
jne 0x1401241bd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ccfe0
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rdi
call fcn.1400711f0
jmp 0x1401240e3
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rcx + 0x360]
cmp dword [rsi + 0x28], edx
jne 0x1401240f0
mov rcx, qword [rcx + 0x20]
mov qword [rsi + 0x18], 0
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov rdx, qword [rsi + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401240f0
mov rcx, rdi
call fcn.140102af0
mov rcx, rdi
call fcn.1400c9cac
jmp 0x140124163
Function at 0x140127ac6
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
jne 0x140127af0
movabs rax, 0x100000001
mov qword [rsi], rax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov edi, r8d
mov dword [rsi], 0
test dl, 1
jne 0x140127b11
xor ebx, ebx
movzx edx, dx
shr edx, 1
inc ebx
mov r14d, edx
test dl, 1
je 0x140127b00
jmp 0x140127b17
movzx r14d, dx
xor ebx, ebx
bsr eax, r14d
xor eax, 0x1f
mov ecx, 0x20
sub ecx, eax
imul ecx, edi
cmp ecx, 0xde3
jg 0x140127be9
mov ecx, 1
mov ebp, ecx
lea ecx, [rbp + rbp]
cmp ebp, edi
jle 0x140127b39
xor r8d, r8d
sar ebp, 2
movzx r9d, dx
jne 0x140127ba1
xor ebp, ebp
mov rdx, r9
mov dword [rsi], 0
test rdx, rdx
je 0x140127b7c
xor eax, eax
mov ecx, edx
and ecx, 0xfffffff
mov dword [rsi + rax*4 + 4], ecx
shr rdx, 0x1c
inc rax
test rdx, rdx
jne 0x140127b61
mov word [rsi], ax
test r8b, 1
jne 0x140127c0b
test ebp, ebp
jne 0x140127bee
imul ebx, edi
mov rcx, rsi
mov edx, ebx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp fcn.1401274ec
xor r8d, r8d
mov r10d, 1
mov rdx, r9
imul rdx, rdx
test ebp, edi
jne 0x140127bc4
sar ebp, 1
je 0x140127b54
mov rcx, rdx
shr rcx, 0x20
jne 0x140127b54
jmp 0x140127bad
mov ecx, eax
or cl, 0x20
mov r11, rdx
shr r11, cl
test r11, r11
mov ecx, 1
cmove rcx, r9
movzx r8d, r8b
cmovne r8d, r10d
imul rdx, rcx
jmp 0x140127bb5
call fcn.140191a82
mov rcx, rsi
call fcn.1401eef28
test ebp, edi
je 0x140127c05
mov rcx, rsi
mov edx, r14d
call fcn.1401277ae
sar ebp, 1
je 0x140127b8a
jmp 0x140127bee
mov rcx, rsi
mov edx, r14d
call fcn.1401277ae
jmp 0x140127b86

Function at 0x140129c50
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov eax, dword [0x14029ba18]
mov ecx, dword [0x140293330]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140129cbd
mov ecx, dword [0x1402910c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, 0xffffffff
and rax, 0xfffffffffffffffc
je 0x140129cb1
movsxd rdx, dword [0x14029ba10]
shl rdx, 4
mov esi, dword [rax + rdx + 8]
cmp esi, dword [0x14029ba14]
jne 0x140129cb1
mov rax, qword [rax + rdx]
test rax, rax
jne 0x140129cf9
mov dword [rdi], ecx
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14029ba18]
call fcn.1400c9d58
cmp dword [0x14029ba18], 0xffffffff
jne 0x140129c7a
mov qword [0x14029ba10], 0
lea rcx, [0x14029ba10]
xor edx, edx
call fcn.1400721e0
lea rcx, [0x14029ba18]
call fcn.1400c9cf8
jmp 0x140129c7a
mov ecx, dword [rax]
jmp 0x140129cb1
Function at 0x14012ac80
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rsi, rcx
lea rax, [0x140255f40]
mov qword [rcx], rax
add rcx, 8
call fcn.140095670
lea rcx, [rsi + 0x10]
call fcn.140095670
xor edi, edi
mov byte [rsi + 0x18], dil
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], edi
call fcn.140095670
mov byte [rsi + 0x48], dil
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rdi
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebx, 0x3f800000
mov dword [rsi + 0xd0], ebx
mov dword [rsi + 0xd8], edi
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebx
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebx
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebx
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebx
mov qword [rsi + 0x198], rdi
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], edi
mov dword [rsi + 0x1a0], 1
lea rcx, [rsi + 0x1a8]
call fcn.14012af40
lea rcx, [rsi + 0x2f0]
movups xmmword [rsi + 0x2d8], xmm6
mov qword [rsi + 0x2e8], rdi
xor edx, edx
call fcn.1400721e0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.1400721e0
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400721e0
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
mov dword [rsi + 0x328], ebx
movups xmmword [rsi + 0x330], xmm6
movups xmmword [rsi + 0x340], xmm6
movups xmmword [rsi + 0x350], xmm6
movups xmmword [rsi + 0x359], xmm6
movups xmmword [rsi + 0x370], xmm6
movups xmmword [rsi + 0x380], xmm6
call fcn.1400099f0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov rcx, rsi
call fcn.14012ae90
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14012ae7e
call fcn.140072f50
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140073230
mov qword [0x140297da0], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14012ae4d