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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140012e24

Function at 0x140064da0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140064dad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140064dbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140064da5
lea eax, [rcx + 1]
jmp 0x140064dcb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140064dde
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140064dc4
sub eax, 3
jb 0x140064dfe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140064e4d
sar eax, 1
movsxd rbp, eax
jb 0x140064e34
jmp 0x140064e0c
add ebx, ebx
jne 0x140064e0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064e34
inc ecx
add ebx, ebx
jne 0x140064e1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064e34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140064e2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140064e1c
add ecx, 2
jmp 0x140064e39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140064d62
jmp 0x140064dad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140064e99
cmp rsi, rcx
jae 0x140064ea1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140064e80
cmp al, 0x8f
ja 0x140064e80
cmp byte [rsi - 2], 0xf
je 0x140064e86
sub al, 0xe8
cmp al, 1
ja 0x140064e6a
cmp rsi, rcx
jae 0x140064ea1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140064e70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140064ea1
lodsb al, byte [rsi]
jmp 0x140064e80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x62000]
mov eax, dword [rdi]
or eax, eax
je 0x140064f0a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x744bc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140064eae
jns 0x140064ee3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140064eed
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140064f04
mov qword [rbx], rax
add rbx, 8
jmp 0x140064ece
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140064f44
cmp al, 0xef
ja 0x140064f36
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140064f16
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140064f25
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140064f98
sub rsp, 0xffffffffffffff80
jmp 0x14000afa0
Function at 0x140005bca
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140005c21
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.140005b88
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140005c11
mov qword [rsi], rdi
call fcn.14002c280
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140041920
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140009ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14000a006
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r12d, edx
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x14000a04d
mov edi, dword [rsi + 0x5c]
test r12b, r12b
je 0x14000a181
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
jmp 0x14000a181
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140145ba0
cmp eax, 0xffffffff
je 0x14000a17c
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14000a06b
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x14000a0b2
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r12b, r12b
je 0x14000a143
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x14000a181
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea rax, [rsp + 0x40]
mov qword [rax], r14
lea r14, [rsp + 0x58]
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r15d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x57]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8, r14
call qword [rax + 0x18]
cmp eax, 1
jne 0x14000a169
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r15w
cmp rdi, 8
je 0x14000a17c
mov rcx, qword [rsi + 0x40]
call fcn.140145ba0
cmp eax, 0xffffffff
je 0x14000a17c
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14000a0c7
mov edi, edi
test rdi, rdi
jle 0x14000a162
mov rdx, qword [rsi + 0x40]
movzx ecx, byte [rsp + rdi + 0x57]
dec rdi
call fcn.14014c534
cmp eax, 0xffffffff
jne 0x14000a145
jmp 0x14000a17c
movzx edi, byte [rsp + 0x57]
jmp 0x14000a181
cmp eax, 2
je 0x14000a17c
cmp eax, 3
je 0x14000a094
jmp 0x14000a09c
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000a230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14000a35a
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r12d, edx
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x14000a3a1
movzx edi, word [rsi + 0x5c]
test r12b, r12b
je 0x14000a4dc
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
jmp 0x14000a4dc
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140145ba0
cmp eax, 0xffffffff
je 0x14000a4d8
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14000a3bf
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x14000a40b
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r12b, r12b
je 0x14000a49c
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x14000a4dc
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea rax, [rsp + 0x40]
mov qword [rax], r14
lea r14, [rsp + 0x58]
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r15d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8, r14
call qword [rax + 0x18]
cmp eax, 1
jne 0x14000a4c5
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r15w
cmp rdi, 8
je 0x14000a4d8
mov rcx, qword [rsi + 0x40]
call fcn.140145ba0
cmp eax, 0xffffffff
je 0x14000a4d8
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14000a420
mov edi, edi
test rdi, rdi
jle 0x14000a4be
mov rdx, qword [rsi + 0x40]
movsx eax, byte [rsp + rdi + 0x57]
dec rdi
movzx ecx, ax
call fcn.14014c534
cmp eax, 0xffffffff
jne 0x14000a49e
jmp 0x14000a4d8
movzx edi, word [rsp + 0x56]
jmp 0x14000a4dc
cmp eax, 2
je 0x14000a4d8
cmp eax, 3
je 0x14000a3ea
jmp 0x14000a3f4
mov di, 0xffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000a880
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov esi, edx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
mov word [rsp + 0x56], 0xaaaa
cmp dx, 0xffff
je 0x14000a8f2
mov rdi, rcx
mov word [rsp + 0x56], si
cmp byte [rcx + 0x58], 0
je 0x14000a902
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.1401457c4
mov di, 0xffff
cmp rax, 1
jne 0x14000a9b6
xor eax, eax
cmp si, 0xffff
cmove esi, eax
mov edi, esi
jmp 0x14000a9b6
lea r15, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], r15
lea rbx, [rsp + 0x56]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r8, rbx
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rbx
je 0x14000a9b2
mov ebp, eax
cmp eax, 3
je 0x14000a991
cmp ebp, 1
ja 0x14000a9b2
mov rbx, qword [rsp + 0x48]
sub rbx, r15
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.1401457c4
cmp rax, rbx
jne 0x14000a9b2
mov rbx, qword [rsp + 0x40]
cmp ebp, 1
je 0x14000a91a
jmp 0x14000a8f2
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rbx
call fcn.1401457c4
cmp rax, 1
je 0x14000a8f2
mov di, 0xffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000eef0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14000ef27
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp r8, rdx
jne 0x14000ef01
ret

Function at 0x14000f040
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14000f078
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp r8, rdx
jne 0x14000f051
ret
Function at 0x140025fb0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1401af008], 0
je 0x140025fd5
xor esi, esi
jmp 0x140026085
mov ecx, 0x60
call fcn.14012c988
mov rsi, rax
mov ecx, 0x18
call fcn.14012c988
mov qword [rsi], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [rsi + 8], rcx
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x28], 0
lea rax, [rsi + 0x38]
movups xmmword [rsi + 0x38], xmm0
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov dword [rsi + 0x50], 0
mov qword [rsi + 0x58], 0
mov qword [0x1401af008], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002606e
cmp word [rax], 0
je 0x14002606e
xor ecx, ecx
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140026060
jmp 0x140026070
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400260a0
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x1400260a0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 3
call fcn.140037ad0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x1400262dc
mov dword [rsp + 0x5c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140026149
lea rdx, [0x140163cba]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002615c
mov rbx, rax
mov rcx, qword [rsi]
lea rdx, [rsp + 0x5c]
call rax
jmp 0x140026157
mov rcx, qword [rsi]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
jmp 0x14002615f
xor r15d, r15d
movsxd r12, dword [rsp + 0x5c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test r12, r12
je 0x140026273
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], r14
test r12d, r12d
js 0x140026312
shl r12, 3
lea rdi, [r12 + r12*2]
mov rcx, rdi
call fcn.14012c988
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
add rax, rdi
mov qword [rsp + 0x50], rax
xor r14d, r14d
xorps xmm6, xmm6
movabs rbp, 0x7ffffffffffffff0
mov qword [rsp + 0x38], r12
jmp 0x140026202
lea eax, [rbx + rbx]
mov byte [rsi], al
lea rdi, [rsi + 2]
test rbx, rbx
je 0x1400261ef
mov r8, rbx
add r8, rbx
mov rcx, rdi
mov rdx, r13
call fcn.14012f890
mov word [rdi + rbx*2], 0
add rsi, 0x18
add r14, 8
cmp r12, r14
je 0x140026264
mov r13, qword [r15 + r14]
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
mov rcx, r13
call fcn.14014b2c4
cmp rax, rbp
jae 0x140026305
mov rbx, rax
cmp rax, 0xb
jb 0x1400261d0
mov r12, r15
lea r15, [rbx + 8]
and r15, 0xfffffffffffffff8
js 0x14002630d
lea rcx, [r15 + r15]
call fcn.14012c988
mov rdi, rax
mov qword [rsi + 0x10], rax
or r15, 1
mov qword [rsi], r15
mov qword [rsi + 8], rbx
mov r15, r12
mov r12, qword [rsp + 0x38]
jmp 0x1400261de
mov qword [rsp + 0x48], rsi
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140025920
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140026297
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400262dc
mov rax, qword [rsp + 0x48]
cmp rax, rsi
jne 0x1400262b8
mov rcx, rsi
jmp 0x1400262d2
mov rax, rdi
cmp rsi, rdi
je 0x1400262cd
lea rdi, [rax - 0x18]
test byte [rax - 0x18], 1
je 0x1400262b0
mov rcx, qword [rax - 8]
call fcn.14012c9c4
jmp 0x1400262b0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rsi
call fcn.14012c9c4
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14012cde0
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.1400215c4
call fcn.14013f8b4
lea rcx, [rsp + 0x40]
call fcn.140023930
int3
Function at 0x14002c290
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x250
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov r14b, 1
cmp qword [0x1401af058], 0
jne 0x14002c542
mov rdi, qword [0x1401af038]
test rdi, rdi
je 0x14002c2de
test byte [0x1401ab358], 1
jne 0x14002c3f8
jmp 0x14002c542
mov ecx, 0x18
call fcn.14012c988
mov rdi, rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14012fcf0
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rsi
call fcn.14014b2c4
mov rbx, rax
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
jae 0x14002c563
cmp rbx, 0xb
jae 0x14002c356
lea eax, [rbx + rbx]
mov byte [rdi], al
mov rsi, rdi
add rsi, 2
test rbx, rbx
jne 0x14002c381
jmp 0x14002c394
lea rbp, [rbx + 8]
and rbp, 0xfffffffffffffff8
js 0x14002c56b
mov rcx, rbp
add rcx, rbp
call fcn.14012c988
mov rsi, rax
mov qword [rdi + 0x10], rax
or rbp, 1
mov qword [rdi], rbp
mov qword [rdi + 8], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14012f890
mov word [rsi + rbx*2], 0
movzx r8d, byte [rdi]
test r8b, 1
je 0x14002c3aa
mov r8, qword [rdi + 8]
jmp 0x14002c3ad
shr r8, 1
mov rcx, rdi
mov dx, 0x5c
call fcn.140023074
cmp rax, 0xffffffffffffffff
je 0x14002c3d5
add rax, 1
mov rcx, rdi
mov rdx, rax
mov r8, 0xffffffffffffffff
call fcn.140022cf4
lea rdx, [0x140163e24]
mov rcx, rdi
call fcn.1400229c0
mov qword [0x1401af038], rdi
test byte [0x1401ab358], 1
je 0x14002c542
test byte [rdi], 1
jne 0x14002c403
add rdi, 2
jmp 0x14002c407
mov rdi, qword [rdi + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401af058], rax
add rax, 1
cmp rax, 1
ja 0x14002c542
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14012fcf0
mov word [rsp + 0x40], 0
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14002c53f
cmp eax, 0x104
ja 0x14002c53f
mov rcx, qword [0x1401af038]
lea rdx, [rsp + 0x40]
call fcn.140022b94
mov rcx, qword [0x1401af038]
movzx eax, byte [rcx]
test al, 1
jne 0x14002c4b1
lea rdx, [rcx + 2]
shr rax, 1
jmp 0x14002c4b9
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14002c4d4
lea rdx, [0x140163e20]
call fcn.1400229c0
mov rcx, qword [0x1401af038]
lea rdx, [0x140163e24]
call fcn.1400229c0
mov rcx, qword [0x1401af038]
test byte [rcx], 1
jne 0x14002c4f2
add rcx, 2
jmp 0x14002c4f6
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401af058], rax
add rax, 1
cmp rax, 1
ja 0x14002c542
mov qword [0x1401af058], 0
xor r14d, r14d
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14012cde0
mov eax, r14d
add rsp, 0x250
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
call fcn.1400215c4
call fcn.14013f8b4
int3
Function at 0x14002e710
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov r12, rdx
mov r13, rcx
lea r15, [rcx + 0x18]
mov rcx, r15
call fcn.140040a20
mov r8, qword [r13 + 0x28]
test r8, r8
je 0x14002e873
mov rax, r12
shr rax, 0x20
lea edx, [r12*8]
add rdx, 8
xor rdx, rax
movabs rbx, 0x9ddfea08eb382d69
imul rdx, rbx
mov rcx, rdx
shr rcx, 0x2f
xor rdx, rax
xor rdx, rcx
imul rdx, rbx
mov rcx, rdx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, rbx
mov rax, r8
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r8
sub rax, rdx
movabs rdx, 0x3333333333333333
mov rbx, rax
and rbx, rdx
shr rax, 2
and rax, rdx
add rax, rbx
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs rdi, 0x101010101010101
imul rdi, rax
shr rdi, 0x38
cmp rdi, 1
jbe 0x14002e7fb
mov rbx, rcx
cmp rcx, r8
jb 0x14002e802
mov rax, rcx
xor edx, edx
div r8
mov rbx, rdx
jmp 0x14002e802
lea rbx, [r8 - 1]
and rbx, rcx
mov rax, qword [r13 + 0x20]
mov rax, qword [rax + rbx*8]
test rax, rax
je 0x14002e873
mov rsi, qword [rax]
test rsi, rsi
je 0x14002e873
lea r9, [r8 - 1]
jmp 0x14002e82e
cmp qword [rsi + 0x10], r12
je 0x14002e88c
mov rsi, qword [rsi]
test rsi, rsi
je 0x14002e873
mov rax, qword [rsi + 8]
cmp rax, rcx
je 0x14002e820
cmp edi, 1
jbe 0x14002e860
cmp rax, r8
jb 0x14002e863
mov rdx, rax
or rdx, r8
shr rdx, 0x20
je 0x14002e86a
xor edx, edx
div r8
mov rax, rdx
jmp 0x14002e863
and rax, r9
cmp rax, rbx
je 0x14002e826
jmp 0x14002e873
xor edx, edx
div r8d
mov eax, edx
jmp 0x14002e863
mov rcx, r15
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rdi, qword [0x1401af898]
cmp rdi, 1
ja 0x14002e8ef
lea rcx, [0x1401af898]
call fcn.14002bee0
test al, al
je 0x14002e8e8
mov qword [0x1401af8a0], 0
lea rbx, [0x1401af898]
lea rdi, [0x1401af8a0]
mov rcx, rdi
xor edx, edx
call fcn.14005bbb0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14002bf90
jmp 0x14002e8ef
mov rdi, qword [0x1401af898]
mov rcx, rdi
call fcn.14005bb20
mov rbx, rax
mov rcx, rdi
mov rdx, r14
call fcn.14005bb60
mov rcx, qword [r14 + 0x28]
mov rdx, r12
call qword [rcx + 8]
mov rcx, rdi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14005bb60
Function at 0x14003e7b0
Capabilities:
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a0
mov r14, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x498], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [0x140164b00]
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x290]
mov rcx, rsi
mov r9d, 0x19a
call fcn.14002c260
lea rcx, [rsp + 0x30]
mov rdx, rsi
xor r8d, r8d
call fcn.14003a130
lea rsi, [rsp + 0x290]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14012fcf0
lea r15, [rdi + 2]
test byte [rdi], 1
mov rdx, r15
je 0x14003e858
mov rdx, qword [rdi + 0x10]
mov r8d, 0x104
mov rcx, rsi
call fcn.1400389f0
mov rcx, rsi
call fcn.1400027b0
lea rbp, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.14012fcf0
lea rsi, [rbx + 2]
test byte [rbx], 1
mov rdx, rsi
je 0x14003e896
mov rdx, qword [rbx + 0x10]
mov r8d, 0x104
mov rcx, rbp
call fcn.1400389f0
mov rcx, rbp
call fcn.1400027b0
test byte [rdi], 1
mov rdx, r15
je 0x14003e8b8
mov rdx, qword [rdi + 0x10]
test byte [rbx], 1
mov rcx, rsi
je 0x14003e8c4
mov rcx, qword [rbx + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov bpl, 1
test eax, eax
jne 0x14003e92c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003fe70
mov r12d, eax
test byte [rbx], 1
je 0x14003e8fb
mov rsi, qword [rbx + 0x10]
test byte [rdi], 1
je 0x14003e904
mov r15, qword [rdi + 0x10]
mov rcx, r15
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14003e92c
test r14, r14
je 0x14003e92a
cmp r12d, 0xfffffffc
jne 0x14003e927
call fcn.14003fe50
mov r12d, eax
mov dword [r14], r12d
xor ebp, ebp
lea rcx, [rsp + 0x30]
call fcn.14003a270
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.14012cde0
mov eax, ebp
add rsp, 0x4a0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14003e960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1cd
call fcn.14002c260
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003a130
test byte [rsi], 1
je 0x14003e9e1
mov rsi, qword [rsi + 0x10]
jmp 0x14003e9e5
add rsi, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.14003a270
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14012cde0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret