joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d6f5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d6fda
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d6fd1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d6fd1
mov rax, qword [rbp - 8]
jmp 0x2fc4d6fef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d6fa4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001910
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000195a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000195a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000195a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000195a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000195a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000195c
xor al, al
add rsp, 0x28
ret

Function at 0x1400054c0
Capabilities:
Parse pe header

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

Function at 0x140011ee0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011f08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011f08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov rdi, rcx
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov r14d, dword [rdx + 0x1c]
mov r15d, dword [rdx + 0x20]
add r14, rcx
mov r12d, dword [rdx + 0x24]
add r15, rcx
mov ebp, dword [rdx + 0x18]
add r12, rcx
test rbp, rbp
je 0x1400021a5
mov qword [rsp + 0x40], rsi
nop
movzx eax, word [r12 + rbx*2]
lea rdx, [0x140001220]
mov ecx, dword [r15 + rbx*4]
add rcx, rdi
mov esi, dword [r14 + rax*4]
add rsi, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000219d
inc rbx
cmp rbx, rbp
jb 0x140002170
jmp 0x1400021a0
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140002350
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x190
xor ebx, ebx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov r8d, 0x1000
mov rdx, rax
lea rcx, [0x140001230]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], bl
jne 0x1400023a1
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002c20
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1400023f6
lea rax, [rcx + 2]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov edx, 0x2a5c
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
jmp 0x14000240e
mov qword [rsp + 0x20], 2
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.140003100
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000245e
nop dword [rax]
nop word [rax + rax]
inc ebx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140002440
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp ebx, 0x15e
setge bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400024a7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003350
movzx eax, bl
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rdi
ret
Function at 0x140003300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x14004a490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x14004a4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.14002a980
jmp 0x14000123c
mov rax, qword [0x14004a4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14004a4a0]
mov dword [rax], 1
mov rax, qword [0x14004a4e0]
mov rdx, rax
mov rax, qword [0x14004a4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14004e024], 1
mov rax, qword [0x14004a4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14004a4c0]
mov rdx, rax
mov rax, qword [0x14004a4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x14004a4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14004a490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x14004a3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14004a3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.140029c08
mov rax, qword [0x14004a520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14004a480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140029400
mov eax, dword [0x14004e004]
lea rdx, [0x14004e008]
mov ecx, eax
call fcn.14000147c
call fcn.140029197
mov rax, qword [0x14004a410]
mov rax, qword [rax]
mov rdx, qword [0x14004e010]
mov qword [rax], rdx
mov rcx, qword [0x14004e010]
mov rdx, qword [0x14004e008]
mov eax, dword [0x14004e004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14004e01c], eax
mov eax, dword [0x14004e020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14004e01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14004e024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14004e01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004a440]
mov dword [rax], 1
mov rax, qword [0x14004a450]
mov dword [rax], 1
mov rax, qword [0x14004a460]
mov dword [rax], 1
mov rax, qword [0x14004a400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140029410
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.14002a770
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x14002a0e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14004e168]
test eax, eax
je 0x14002a17a
lea rax, [0x14004e140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14004e170]
mov qword [rbp - 8], rax
jmp 0x14002a15e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14002a152
cmp qword [rbp - 0x10], 0
je 0x14002a152
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14002a118
lea rax, [0x14004e140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002a17b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14002a280
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14002a2a8
mov eax, 0
jmp 0x14002a2f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14002a2d1
mov eax, 0
jmp 0x14002a2f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14002a2f1
mov eax, 0
jmp 0x14002a2f6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14002a2fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14002a37a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14002a371
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14002a371
mov rax, qword [rbp - 8]
jmp 0x14002a38f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14002a344
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180167350
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x10
mov r9, rdx
mov eax, dword [0x180315068]
mov r10d, dword [0x18031506c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete byte [rsp + 6]
mov eax, 0xa2c46e9c
mov edx, 0x74efb14d
cmove edx, eax
cmp r10d, 0xa
setl byte [rsp + 7]
cmovl edx, eax
mov eax, 0xcfd16a74
mov r10d, 0x454a548f
nop word cs:[rax + rax]
cmp eax, 0x454a548e
jg 0x1801673e0
cmp eax, 0xa2c46e9c
je 0x180167414
cmp eax, 0xcfd16a74
jne 0x1801673a0
movzx r11d, byte [rsp + 6]
cmp byte [rsp + 7], 0
mov eax, 0x74efb14d
cmovne eax, r10d
test r11b, r11b
cmovne eax, r10d
jmp 0x1801673a0
cmp eax, 0x454a548f
je 0x1801673f5
cmp eax, 0x74efb14d
jne 0x1801673a0
mov eax, 0x454a548f
jmp 0x1801673a0
mov eax, dword [rcx + 0x328]
add eax, 0xffffffff
cdqe
shl rax, 2
add rax, qword [rcx + 0x330]
mov qword [rsp + 8], rax
mov eax, edx
jmp 0x1801673a0
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov rdx, r8
sub rdx, r9
test r8, r8
cmove rdx, r8
mov rcx, r9
mov r8d, eax
add rsp, 0x10
jmp fcn.18014e810
Function at 0x1802fd92c
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x18030f5a8]
syscall
ret

Function at 0x1802fd938
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x18030f5ac]
syscall
ret

Function at 0x1802fd9fc
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1044
syscall
ret

Function at 0x1802fda12
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x1802fda1d
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1e
syscall
ret
Function at 0x1400041a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400041d3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000421a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140004215
nop
cmp rbx, rcx
jae 0x14000421a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140004200
cmp rbx, rcx
jb 0x14000421e
xor eax, eax
jmp 0x14000422a
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140004b00
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2b8], rbx
mov rax, qword [0x1402be8f8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, rcx
xor bl, bl
lea rcx, [rsp + 0x38]
call fcn.140025fec
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.1401d5b10
mov r8d, 0x104
lea rdx, [rsp + 0x80]
lea rcx, str.SystemDrive
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor eax, eax
mov qword [rsp + 0x48], rax
lea r8, [0x1402d0748]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140007b20
nop
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400363bc
nop
lea rdx, [rdi + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140036a58
test eax, eax
je 0x140004bf4
call fcn.140004560
lea r9, str.reading_from_build.txt_successfully.
lea r8, str.Hotkey::SysInfo::WMIData::ReadBuildFromFile
mov edx, 2
mov rcx, rax
call fcn.14000b7f0
mov bl, 1
lea rcx, [rsp + 0x50]
call fcn.1400365e8
nop
lea rcx, [rsp + 0x50]
call fcn.14003647c
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004c2a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140004c31
call fcn.1400260d4
nop
movzx eax, bl
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1401b6fe0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
Function at 0x140008370
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x40], r15d
call fcn.140006930
mov rcx, rdi
call fcn.140006c00
mov qword [rax], 7
mov rcx, rdi
call fcn.140006920
mov word [rbp + 0x40], r15w
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 8
jb 0x1400083cf
mov rax, qword [rax]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.1400044f0
mov dword [rbp - 0x40], 1
lea rdx, [rbp + 0x48]
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x1400084d3
mov ecx, esi
call fcn.14001044c
mov rbx, rax
mov qword [rbp - 0x28], rax
test rax, rax
je 0x1400084c6
mov r9, rax
mov r8d, esi
mov edx, dword [rbp + 0x48]
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400084c6
mov qword [rbp - 0x38], r15
mov dword [rbp + 0x40], r15d
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x38]
lea rdx, str.StringFileInfo040904E4ProductName
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140008474
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x140008474
mov r8d, eax
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14000fc30
nop
mov rdx, rax
mov rcx, rdi
call fcn.14000c6c0
nop
jmp 0x1400084bc
mov qword [rbp - 0x38], r15
mov dword [rbp + 0x40], r15d
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x38]
lea rdx, str.StringFileInfo040904B0ProductName
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400084c6
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x1400084c6
mov r8d, eax
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14000fc30
nop
mov rdx, rax
mov rcx, rdi
call fcn.14000c6c0
nop
lea rcx, [rbp - 0x20]
call fcn.140006560
nop
test rbx, rbx
je 0x1400084d3
mov rcx, rbx
call fcn.140010454
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009190
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rdx
mov rbp, qword [rdx + 0x18]
lea rcx, [rdx + 0x28]
call fcn.140006d50
add rbp, 0xa
add rbp, qword [rax]
mov eax, 2
mul rbp
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001044c
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.140006920
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x140009236
lea rcx, [rdi + 0x28]
call fcn.140006920
cmp qword [rax + 0x18], 8
jb 0x140009207
mov rax, qword [rax]
lea r9, [rdi + 8]
cmp qword [r9 + 0x18], 0x10
jb 0x140009215
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
lea r8, str._S_:__s_r_n
mov rdx, rbp
mov rcx, rbx
call fcn.14000f890
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
test rbx, rbx
je 0x140009243
mov rcx, rbx
call fcn.140010454
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a150
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x230], 0
mov rbx, rdx
mov rdi, rcx
je 0x14000a233
mov r9d, dword [rcx + 0x224]
mov eax, dword [rcx + 0x220]
mov qword [rsp + 0x30], rsi
lea r8d, [rax + rax*4]
add r8d, r8d
lea eax, [r9 + 1]
mov dword [rcx + 0x224], eax
cmp r9d, r8d
jle 0x14000a1be
xor edx, edx
call fcn.14000a380
test al, al
je 0x14000a1ad
mov dword [rdi + 0x224], 0
jmp 0x14000a1be
mov eax, dword [rdi + 0x224]
cdq
sub eax, edx
sar eax, 1
mov dword [rdi + 0x224], eax
mov rcx, rbx
call fcn.140008ac0
mov rcx, rax
call fcn.140006d50
mov rcx, rbx
mov rsi, qword [rax]
call fcn.140008ac0
mov rcx, rax
call fcn.140006920
cmp qword [rax + 0x18], 8
jb 0x14000a1eb
mov rax, qword [rax]
mov r9, qword [rdi + 0x230]
mov r8, rsi
mov edx, 2
mov rcx, rax
call fcn.1401ddc24
mov r9, qword [rdi + 0x230]
lea rcx, [0x140277c94]
mov edx, 2
mov rbx, rax
lea r8d, [rdx - 1]
call fcn.1401ddc24
mov rsi, qword [rsp + 0x30]
add eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000a240
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi]
mov r9, rbx
mov rsi, qword [rax]
mov rdx, rsi
mov r8, qword [rsi + 8]
call fcn.14000e560
mov rdx, rax
movabs rcx, 0x1745d1745d1745c
mov rax, qword [rdi + 8]
sub rcx, rax
cmp rcx, 1
jb 0x140009401
inc rax
mov qword [rdi + 8], rax
mov qword [rsi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
cmp byte [rdi + 0x18], 0
jne 0x1400093e2
mov rcx, qword [rdi + 0x20]
xor ebx, ebx
test rcx, rcx
je 0x1400093b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x20], rbx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x28], rax
lea r8, [0x140009410]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call fcn.1401dc214
test rax, rax
mov qword [rdi + 0x20], rax
setne al
mov byte [rdi + 0x18], al
lea rcx, [rdi + 0x28]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, str.list_T__too_long
call fcn.1401b8990
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp word [rcx + 0x18], 0
mov rdi, rdx
mov rbx, rcx
je 0x14000a29a
mov rcx, qword [rcx + 0x248]
test rcx, rcx
je 0x14000a27b
cmp byte [rbx + 0x228], 0
je 0x14000a27b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140009330
mov rcx, rbx
call fcn.14000a020
test eax, eax
je 0x14000a29a
mov rdx, rdi
mov rcx, rbx
call fcn.14000a150
mov rcx, rbx
call fcn.14000a0f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a2b0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
mov r9, qword [rcx + 0x230]
xor eax, eax
mov rbx, rcx
mov qword [r11 - 0x48], rax
lea rcx, [r11 - 0x48]
mov qword [r11 - 0x40], rax
xor dil, dil
mov qword [r11 - 0x38], rax
lea edx, [rax + 2]
mov qword [r11 - 0x30], rax
lea r8d, [rax + 0x18]
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
call fcn.1401dd1bc
test rax, rax
je 0x14000a352
cmp word [rsp + 0x28], 0x2f
jne 0x14000a345
cmp word [rsp + 0x2e], 0x2f
jne 0x14000a345
cmp word [rsp + 0x34], 0x20
jne 0x14000a345
cmp word [rsp + 0x3a], 0x3a
jne 0x14000a345
cmp word [rsp + 0x40], 0x3a
jne 0x14000a345
cmp word [rsp + 0x46], 0x2e
jne 0x14000a345
cmp word [rsp + 0x4e], 0x7c
jne 0x14000a345
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rcx, qword [rbx + 0x230]
call fcn.1401dccc4
mov rbx, qword [rsp + 0x70]
test eax, eax
movzx ecx, dil
mov edx, 1
cmovne ecx, edx
movzx eax, cl
add rsp, 0x60
pop rdi
ret