joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400079a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.14004d490
sub rsp, rax
mov r14d, edx
mov r15, rcx
mov rsi, qword [rbp + 0x1418]
xor r12d, r12d
mov word [rbp + 0x3c0], r12w
mov byte [rbp - 0x40], r12b
mov rbx, qword [rbp + 0x1420]
mov ecx, dword [rbx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rbx + 4]
mov dword [rsp + 0x2c], eax
call fcn.140002720
mov edi, eax
mov dword [rsp + 0x20], 3
mov ecx, r12d
mov eax, 8
cmp byte [rbx + 8], cl
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
mov ecx, 1
lock xadd dword [0x1400a7f40], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
lea rax, str.C:Jenkinsworkspace_finch_SDK_Goldfinch_Build_master_submodulesgoldfinch_dependencieswilincludewil_resource.h
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], r15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x1400a7f30]
test rax, rax
je 0x140007a93
call qword [0x14007f4f0]
mov qword [rbp - 0x60], rax
jmp 0x140007a97
mov qword [rbp - 0x60], r12
mov rax, qword [0x1400a7ee0]
test rax, rax
je 0x140007ab8
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
mov rax, qword [0x1400a7ed0]
test rax, rax
je 0x140007acf
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
mov rax, qword [0x1400a7f08]
test rax, rax
je 0x140007ae6
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
cmp dword [rsp + 0x28], r12d
jl 0x140007b03
mov dword [rsp + 0x28], 0x8000ffff
mov ecx, 0x8000ffff
call fcn.140002960
mov dword [rsp + 0x2c], eax
cmp byte [0x1400a7e98], r12b
jne 0x140007b5c
mov rax, qword [0x1400a7e88]
test rax, rax
je 0x140007b24
call qword [0x14007f4f0]
movzx r12d, al
jmp 0x140007b30
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r12b
test r12d, r12d
jne 0x140007b5c
mov rax, qword [0x1400a7ea0]
test rax, rax
je 0x140007bb6
cmp byte [0x1400a7eb8], r12b
jne 0x140007bb6
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
jmp 0x140007bb6
mov rax, qword [0x1400a7ea0]
test rax, rax
je 0x140007b89
cmp byte [0x1400a7eb8], 0
jne 0x140007b89
mov r8d, 0x800
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
cmp word [rbp + 0x3c0], 0
jne 0x140007ba9
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp + 0x3c0]
call fcn.140002360
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x1400a7ea8], 0
je 0x140007bd2
mov rax, qword [0x1400a7ef0]
test rax, rax
je 0x140007bd2
call qword [0x14007f4f0]
nop
lea rcx, [rsp + 0x20]
call fcn.140003930
int3
Function at 0x140007be0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140008c40
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.14004d490
sub rsp, rax
mov rax, qword [0x1400a2060]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov esi, edx
mov r14, rcx
mov rdi, qword [rbp + 0x1428]
xor r15d, r15d
mov word [rbp + 0x3c0], r15w
mov byte [rbp - 0x40], r15b
mov r8, qword [rbp + 0x1430]
mov ecx, dword [r8]
mov dword [rsp + 0x28], ecx
mov eax, dword [r8 + 4]
mov dword [rsp + 0x2c], eax
call fcn.1400026e0
mov ebx, eax
mov edx, 1
mov dword [rsp + 0x20], edx
mov ecx, r15d
mov eax, 8
cmp byte [r8 + 8], cl
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lock xadd dword [0x1400a7f40], edx
inc edx
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
lea rax, [0x14008eacc]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x1400a7f30]
test rax, rax
je 0x140008d3b
call qword [0x14007f4f0]
mov qword [rbp - 0x60], rax
jmp 0x140008d3f
mov qword [rbp - 0x60], r15
mov rax, qword [0x1400a7ee0]
test rax, rax
je 0x140008d60
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
mov rax, qword [0x1400a7ed0]
test rax, rax
je 0x140008d77
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
mov rax, qword [0x1400a7f08]
test rax, rax
je 0x140008d8e
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
cmp dword [rsp + 0x28], r15d
jge 0x140008e8e
cmp byte [0x1400a7e98], r15b
jne 0x140008df2
mov rax, qword [0x1400a7e88]
test rax, rax
je 0x140008dba
call qword [0x14007f4f0]
movzx r15d, al
jmp 0x140008dc6
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r15b
test r15d, r15d
jne 0x140008df2
mov rax, qword [0x1400a7ea0]
test rax, rax
je 0x140008e4c
cmp byte [0x1400a7eb8], r15b
jne 0x140008e4c
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
jmp 0x140008e4c
mov rax, qword [0x1400a7ea0]
test rax, rax
je 0x140008e1f
cmp byte [0x1400a7eb8], 0
jne 0x140008e1f
mov r8d, 0x800
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
cmp word [rbp + 0x3c0], 0
jne 0x140008e3f
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp + 0x3c0]
call fcn.140002360
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x1400a7ea8], 0
je 0x140008e68
mov rax, qword [0x1400a7ef0]
test rax, rax
je 0x140008e68
call qword [0x14007f4f0]
nop
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.14004c7f0
mov rbx, qword [rsp + 0x1510]
add rsp, 0x14d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140003b80
nop
int3
Function at 0x140008c40
Capabilities:
Print debug messages

Disassembly:
jmp 0x140008c40
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.14004d490
sub rsp, rax
mov rax, qword [0x1400a2060]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov esi, edx
mov r14, rcx
mov rdi, qword [rbp + 0x1428]
xor r15d, r15d
mov word [rbp + 0x3c0], r15w
mov byte [rbp - 0x40], r15b
mov r8, qword [rbp + 0x1430]
mov ecx, dword [r8]
mov dword [rsp + 0x28], ecx
mov eax, dword [r8 + 4]
mov dword [rsp + 0x2c], eax
call fcn.1400026e0
mov ebx, eax
mov edx, 1
mov dword [rsp + 0x20], edx
mov ecx, r15d
mov eax, 8
cmp byte [r8 + 8], cl
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lock xadd dword [0x1400a7f40], edx
inc edx
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
lea rax, [0x14008eacc]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x1400a7f30]
test rax, rax
je 0x140008d3b
call qword [0x14007f4f0]
mov qword [rbp - 0x60], rax
jmp 0x140008d3f
mov qword [rbp - 0x60], r15
mov rax, qword [0x1400a7ee0]
test rax, rax
je 0x140008d60
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
mov rax, qword [0x1400a7ed0]
test rax, rax
je 0x140008d77
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
mov rax, qword [0x1400a7f08]
test rax, rax
je 0x140008d8e
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
cmp dword [rsp + 0x28], r15d
jge 0x140008e8e
cmp byte [0x1400a7e98], r15b
jne 0x140008df2
mov rax, qword [0x1400a7e88]
test rax, rax
je 0x140008dba
call qword [0x14007f4f0]
movzx r15d, al
jmp 0x140008dc6
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r15b
test r15d, r15d
jne 0x140008df2
mov rax, qword [0x1400a7ea0]
test rax, rax
je 0x140008e4c
cmp byte [0x1400a7eb8], r15b
jne 0x140008e4c
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
jmp 0x140008e4c
mov rax, qword [0x1400a7ea0]
test rax, rax
je 0x140008e1f
cmp byte [0x1400a7eb8], 0
jne 0x140008e1f
mov r8d, 0x800
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x14007f4f0]
cmp word [rbp + 0x3c0], 0
jne 0x140008e3f
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp + 0x3c0]
call fcn.140002360
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x1400a7ea8], 0
je 0x140008e68
mov rax, qword [0x1400a7ef0]
test rax, rax
je 0x140008e68
call qword [0x14007f4f0]
nop
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.14004c7f0
mov rbx, qword [rsp + 0x1510]
add rsp, 0x14d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140003b80
nop
int3
Function at 0x140016240
Capabilities:
Create service

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov eax, dword [rsp + 0x100]
mov r14, rdx
mov r13, qword [rsp + 0x110]
mov rdi, rcx
mov r12, qword [rsp + 0x120]
xor edx, edx
mov rbp, qword [rsp + 0x130]
xor ecx, ecx
mov r15, qword [rsp + 0x138]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x88], r8
mov r8d, 0xf003f
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], r9d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400162dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov dword [rdi + 8], eax
mov qword [rdi], rsi
mov byte [rdi + 0x10], sil
jmp 0x140016410
xor esi, esi
cmp qword [r15 + 0x10], rsi
je 0x1400162f0
cmp qword [r15 + 0x18], 8
jb 0x1400162f3
mov r15, qword [r15]
jmp 0x1400162f3
mov r15, rsi
cmp qword [rbp + 0x10], rsi
je 0x140016306
cmp qword [rbp + 0x18], 8
jb 0x140016309
mov rbp, qword [rbp]
jmp 0x140016309
mov rbp, rsi
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
sub rax, rcx
test rax, 0xfffffffffffffffe
cmove rcx, rsi
cmp qword [r12 + 0x10], rsi
je 0x14001633a
cmp qword [r12 + 0x18], 8
jb 0x14001633d
mov r12, qword [r12]
jmp 0x14001633d
mov r12, rsi
cmp qword [r13 + 0x18], 8
jb 0x140016348
mov r13, qword [r13]
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 8
jb 0x14001635a
mov rax, qword [rax]
cmp qword [r14 + 0x18], 8
mov rdx, r14
jb 0x140016367
mov rdx, qword [r14]
mov qword [rsp + 0x60], r15
mov r9d, 0xf01ff
mov qword [rsp + 0x58], rbp
mov r8, rax
mov qword [rsp + 0x50], rcx
mov ecx, dword [rsp + 0x70]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbp, rax
test rax, rax
jne 0x1400163fd
mov rbp, rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x1400163fd
cmp qword [r14 + 0x18], 8
jb 0x1400163d1
mov r14, qword [r14]
mov r8d, 0xf01ff
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbp, rax
test rax, rax
jne 0x1400163fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
mov qword [rdi], rsi
mov byte [rdi + 0x10], sil
jmp 0x140016407
mov qword [rdi], rbp
mov dword [rdi + 8], esi
mov byte [rdi + 0x10], 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, rdi
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400164f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x10060
call fcn.14004d490
sub rsp, rax
mov rax, qword [0x1400a2060]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov r10, r9
mov rax, r8
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x48], 0x10000
cmp qword [r9 + 0x18], 8
jb 0x140016535
mov r10, qword [r9]
cmp qword [r8 + 0x18], 8
jb 0x14001653f
mov rax, qword [r8]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
mov r8, r10
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140016593
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
jmp 0x1400165c9
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x1400165a0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400071b0
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.14004c7f0
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret
Function at 0x140018dc0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rdx]
xor r15d, r15d
mov r12, qword [rdx + 8]
mov r14, rcx
cmp rdi, r12
je 0x140018ed6
lea r13, str.h__n_
mov rcx, qword [str.h__n_]
cmp rcx, r13
je 0x140018e2b
test byte [rcx + 0x1c], 0x80
je 0x140018e2b
cmp byte [rcx + 0x19], 4
jb 0x140018e2b
cmp qword [rdi + 0x18], 8
mov r9, rdi
jb 0x140018e16
mov r9, qword [rdi]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008f668]
mov edx, 0x22
call fcn.1400050c0
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140018e4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
xor esi, esi
jmp 0x140018eab
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x140018e5c
mov rdx, qword [rdi]
mov r8d, 0xf01ff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x140018e86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov ebp, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140018eab
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebx, ebx
jne 0x140018eb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140018f07
inc r15d
test rsi, rsi
je 0x140018ec9
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add rdi, 0x20
cmp rdi, r12
jne 0x140018df1
mov dword [r14], r15d
mov dword [r14 + 4], 0
mov rax, qword [0x14008f3e0]
mov qword [r14 + 8], rax
mov rbx, qword [rsp + 0x90]
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [str.h__n_]
cmp rcx, r13
je 0x140018f43
test byte [rcx + 0x1c], 0x80
je 0x140018f43
cmp byte [rcx + 0x19], 2
jb 0x140018f43
cmp qword [rdi + 0x18], 8
jb 0x140018f29
mov rdi, qword [rdi]
mov rcx, qword [rcx + 0x10]
mov edx, 0x23
mov qword [rsp + 0x28], rdi
mov r9d, ebp
mov dword [rsp + 0x20], ebp
call fcn.1400165f0
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x34], 5
mov rcx, qword [rsp + 0x30]
mov dword [r14], r15d
mov dword [r14 + 4], ebp
mov qword [r14 + 8], rcx
test rsi, rsi
je 0x140018eec
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140018eec
Function at 0x14003c600
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14003c622
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14003c6a3
mov rdi, r14
mov rcx, rbx
call fcn.14003ff80
test rax, rax
jle 0x14003c674
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14004ea60
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003c693
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [0x14007f4f0]
cmp eax, 0xffffffff
je 0x14003c69b
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14003c636
sub r14, rdi
jmp 0x14003c798
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14003c6ba
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003c6bc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003c6f1
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14004ea60
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003c795
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x14003c72c
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14003c770
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14005fbac
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14003c7ae
cmp rbp, rax
ja 0x14003c740
mov r8, rdi
test rdi, rdi
je 0x14003c795
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14005fbac
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x14003c798
Function at 0x14006b1b4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14006b1e6
call fcn.140059ba8
mov dword [rax], 0x16
call fcn.140059a3c
jmp 0x14006b305
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14006b305
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14006b305
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14006b215
lock or dword [rcx + 0x14], 0x10
jmp 0x14006b305
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14006b229
call fcn.14006b8b0
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140069368
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14006c8fc
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14006b2f3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14006b2be
mov rcx, rsi
call fcn.140069368
cmp eax, edi
je 0x14006b2a9
mov rcx, rsi
call fcn.140069368
cmp eax, 0xfffffffe
je 0x14006b2a9
mov rcx, rsi
call fcn.140069368
movsxd rbx, eax
lea r14, [0x1400a78d0]
mov rcx, rsi
sar rbx, 6
call fcn.140069368
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14006b2b0
lea rdx, [0x1400a2290]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14006b2be
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14006b2e2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14006b2e2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14006b2e2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14006b308
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14006b630
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14004d490
sub rsp, rax
mov rax, qword [0x1400a2060]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140069368
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14006b67f
mov rax, rbp
jmp 0x14006b787
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa78d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14006d0d4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xa78d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14006b783
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006b783
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14006d0d4
test rax, rax
js 0x14006b783
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14006b783
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14006b775
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14006b775
cmp byte [rcx], 0xd
jne 0x14006b75b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14006b76a
cmp byte [rcx + 1], 0xa
jne 0x14006b76a
inc rcx
jmp 0x14006b76a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xa2460]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14006b73d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14006b787
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14004c7f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006c450
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400a78d0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14006c4ae
cmp word [rdx], r12w
jne 0x14006c4ae
or byte [rax + r8*8 + 0x38], cl
jmp 0x14006c4b4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14006c60f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14006c5ea
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14006c4ed
mov rcx, r9
jmp 0x14006c510
cmp r9, rdx
jae 0x14006c527
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14006c4d1
jmp 0x14006c60f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006c5e4
cmp dword [rsp + 0x80], edi
je 0x14006c5e4
mov rdx, r14
lea r11, [0x1400a78d0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14006c5bd
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14006c590
mov word [rbx], r12w
jmp 0x14006c60b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14006c599
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14006c60b
cmp word [rsp + 0x70], r12w
jne 0x14006c5ca
cmp rbx, rsi
je 0x14006c58a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14006d0dc
cmp word [rsp + 0x70], r12w
je 0x14006c60f
mov word [rbx], r13w
jmp 0x14006c60b
lea r11, [0x1400a78d0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14006c607
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14006c60f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret