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

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
mov qword [rbp + 0x2f], 0xfffffffffffffffe
lea r8, [rbp + 0x6f]
mov qword [rbp + 0x37], r8
mov rdx, rcx
lea rcx, [rbp - 0x31]
call fcn.140022440
nop
or ebx, 0xffffffff
mov edx, ebx
lea rcx, [rbp - 0x29]
call fcn.140041f90
nop
mov byte [rbp - 0x39], 0x29
mov dword [rbp - 0x21], 2
lea rcx, [0x14015e29c]
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 7], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.14000fbd0
nop
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x1400111db
cmp eax, ebx
je 0x1400111e9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400111e9
mov rcx, qword [rbp - 0x29]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
mov qword [rbp + 0xf], 2
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
lea r8, [rbp - 0x31]
lea rdx, [rbp + 0xf]
lea ecx, [rax + 2]
call fcn.140011f10
mov ecx, dword [0x140433684]
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x14042eb1c], eax
jle 0x140011265
lea rcx, [0x14042eb1c]
call fcn.14010b890
cmp dword [0x14042eb1c], 0xffffffff
jne 0x140011265
lea rcx, str.QT_FATAL_CRITICALS
call fcn.140010320
mov dword [0x14042eb18], eax
lea rcx, [0x14042eb1c]
call fcn.14010b830
cmp dword [0x14042eb18], 0
je 0x1400112a6
mov eax, ebx
lock xadd dword [0x14042eb18], eax
cmp eax, 1
jne 0x1400112a6
lea ecx, [rax + 0x16]
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140011291
mov ecx, 7
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x40000015
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
test eax, eax
je 0x1400112c2
cmp eax, 0xffffffff
je 0x1400112d0
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400112d0
mov rcx, qword [rbp - 0x31]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
add rsp, 0xa8
pop rbx
pop rbp
ret
Function at 0x140013420
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x58
mov qword [r11 - 0x20], 0xfffffffffffffffe
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x38], rax
mov r9, rdx
mov r8, rcx
mov edx, 1
lea rcx, [r11 - 0x28]
call fcn.140011e20
nop
mov ecx, dword [0x140433684]
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x14042eb24], eax
jle 0x1400134b2
lea rcx, [0x14042eb24]
call fcn.14010b890
cmp dword [0x14042eb24], 0xffffffff
jne 0x1400134b2
lea rcx, str.QT_FATAL_WARNINGS
call fcn.140010320
mov dword [0x14042eb20], eax
lea rcx, [0x14042eb24]
call fcn.14010b830
or edx, 0xffffffff
cmp dword [0x14042eb20], 0
je 0x1400134f6
mov eax, edx
lock xadd dword [0x14042eb20], eax
cmp eax, 1
jne 0x1400134f6
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400134e1
mov ecx, 7
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x40000015
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140013514
cmp eax, 0xffffffff
je 0x140013522
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x140013522
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
add rsp, 0x58
ret

Function at 0x140013530
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rbx, r8
mov rdi, rdx
mov esi, ecx
call fcn.1400130c0
test al, al
je 0x14001355e
xor al, al
jmp 0x1400135cd
mov r9, rbx
mov r8, rdi
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.1400112e0
nop
mov eax, 0xa
mov word [rsp + 0x58], ax
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140018270
lea rcx, [rsp + 0x20]
call fcn.140022410
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400135bd
cmp eax, 0xffffffff
je 0x1400135cb
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1400135cb
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140031470
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0xc0
mov rax, qword [0x14042b130]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor eax, eax
lea rdx, str.SOFTWAREMicrosoftCryptography
mov dword [rsp + 0x40], eax
mov rdi, rcx
mov qword [rsp + 0x38], rax
mov r9d, 0x20019
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140031543
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.MachineGuid
lea rax, [rsp + 0x60]
mov qword [rsp + 0xd8], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 0x4a
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
mov rbx, qword [rsp + 0xd8]
je 0x140031543
mov edx, dword [rsp + 0x30]
lea rax, [rsp + 0x60]
dec edx
mov qword [rsp + 0x50], rax
shr rdx, 1
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rdx
mov rdx, rdi
call fcn.140031e50
jmp 0x14003154d
lea rax, [0x140193080]
mov qword [rdi], rax
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14010b650
add rsp, 0xc0
pop rdi
ret
Function at 0x14004b050
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
movzx edi, cl
mov eax, dword [0x140429030]
cmp eax, 0xffffffff
jne 0x14004b0a5
lea rbx, [0x14042ed18]
mov rcx, rbx
call fcn.1400428b0
or rbx, 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140429030], eax
test bl, 1
je 0x14004b0a5
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140042d60
mov eax, dword [0x140429030]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x14004b1aa
test dil, dil
je 0x14004b1aa
lea ecx, [rax + 0x78]
call fcn.14010b674
mov qword [rsp + 0x78], rax
lea edx, [rsi + 1]
mov rcx, rax
call fcn.14004c5f0
mov rsi, rax
mov qword [rsp + 0x88], rax
mov rdx, rax
mov ecx, dword [0x140429030]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov ecx, 0x10
call fcn.14010b674
mov qword [rsp + 0x78], rax
mov rdx, rsi
mov rcx, rax
call fcn.14004c4d0
nop
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x38], rax
mov rcx, rsi
call fcn.14004cb60
mov byte [rsi + 0x72], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rsi + 0x40], rax
mov rax, qword [0x14042ebc0]
test rax, rax
jne 0x14004b155
mov rax, qword [rsi + 0x38]
mov qword [0x14042ebc0], rax
jmp 0x14004b1aa
mov qword [rsp + 0x78], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x78]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.14004b9b0
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004b9b0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
mov rdi, rcx
lea rbx, [0x14042ed10]
mov rcx, rbx
call fcn.1400428b0
or rbx, 1
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x14042ecf8]
jne 0x14004ba03
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004bb43
mov rax, qword [0x140429038]
mov r8d, dword [rax + 8]
btr r8d, 0x1f
movsxd rdx, dword [rax + 4]
lea ecx, [rdx + 1]
cmp dword [rax], 1
ja 0x14004ba26
cmp r8d, ecx
jb 0x14004ba29
jmp 0x14004ba4e
cmp r8d, ecx
sbb r9d, r9d
and r9d, 8
cmp ecx, r8d
cmova r8d, ecx
lea rcx, [0x140429038]
call fcn.14004bd00
mov rax, qword [0x140429038]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rdi
mov rax, qword [0x140429038]
inc dword [rax + 4]
mov rax, qword [0x140429040]
mov r8d, dword [rax + 8]
btr r8d, 0x1f
movsxd rdx, dword [rax + 4]
lea ecx, [rdx + 1]
cmp dword [rax], 1
ja 0x14004ba87
cmp r8d, ecx
jb 0x14004ba8a
jmp 0x14004baaf
cmp r8d, ecx
sbb r9d, r9d
and r9d, 8
cmp ecx, r8d
cmova r8d, ecx
lea rcx, [0x140429040]
call fcn.14004bb70
mov rax, qword [0x140429040]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rsi
mov rax, qword [0x140429040]
inc dword [rax + 4]
cmp dword [0x14042ecf8], 0
jne 0x14004bb35
cmp qword [0x14042ed00], 0
jne 0x14004bb02
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14042ed00], rax
lea rdx, [0x14042ed00]
lea rcx, [0x140429038]
call fcn.14004b3c0
lea rax, [0x14042ecf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14004b4b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004bb43
mov rcx, qword [0x14042ed00]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
test bl, 1
je 0x14004bb54
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140042d60
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14004c420
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 8]
mov rsi, rcx
lea rbx, [rdi + 0x70]
test rbx, rbx
je 0x14004c25b
mov rcx, rbx
call fcn.1400428b0
or rbx, 1
cmp byte [rdi + 0x7c], 0
je 0x14004c28c
cmp byte [rdi + 0xa0], 0
jne 0x14004c273
mov byte [rdi + 0xa1], 1
jmp 0x14004c28c
mov rcx, qword [rdi + 0x90]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rcx, rsi
call fcn.14004b1e0
test bl, 1
je 0x14004c29d
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140042d60
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test edx, edx
jne 0x14004c47a
cmp r8d, 5
ja case.default.0x14004c443
movsxd rax, r8d
lea r8, [0x140000000]
mov edx, dword [r8 + rax*4 + 0x4c4b0]
add rdx, r8
jmp rdx
movzx edx, byte [rsp + 0x10]
jmp fcn.14004cf70
movzx edx, byte [rsp + 0x10]
jmp fcn.14004cd90
mov rax, qword [r9 + 8]
mov edx, dword [rax]
jmp fcn.14004be90
mov edx, 7
jmp fcn.14004be90
jmp 0x14004c230
xor edx, edx
jmp fcn.14004ccc0
cmp edx, 0xa
jne case.default.0x14004c443
mov rax, qword [r9 + 8]
mov rcx, qword [r9]
mov rdx, qword [rax]
lea rax, [fcn.14004cf70]
cmp rdx, rax
jne 0x14004c49c
mov dword [rcx], 0
ret
lea rax, [fcn.14004cd90]
cmp rdx, rax
jne case.default.0x14004c443
mov dword [rcx], 1
ret
Function at 0x14005a940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0xa4], 1
je 0x14005a972
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0xa4], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14007c4f0
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
mov rax, qword [rcx + 0x78]
test rax, rax
jne 0x14007c624
cmp dword [rcx + 0xa0], 0xffffffff
jne 0x14007c61f
cmp qword [rcx + 0x80], 0xffffffffffffffff
je 0x14007c688
mov rdi, r8
mov qword [r11 + 0x20], r8
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1401fb788]
nop word [rax + rax]
lea rax, [rsp + 0xa8]
cmp rdi, 0x2000000
cmovge rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x90]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007c5b8
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x14007c61a
add rbx, rax
sub rdi, rax
mov qword [rsp + 0xa8], rdi
cmp rbx, rbp
jge 0x14007c61a
jmp 0x14007c560
test rbx, rbx
jne 0x14007c61a
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140041f90
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140058d30
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14007c603
cmp eax, 0xffffffff
je 0x14007c688
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007c688
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
or rax, 0xffffffffffffffff
jmp 0x14007c69c
mov rax, rbx
jmp 0x14007c69c
test rax, rax
je 0x14007c68e
call fcn.14007c240
test al, al
je 0x14007c68e
mov rcx, qword [rsi + 0x78]
call fcn.140137370
test eax, eax
je 0x14007c68e
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.140042130
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140058d30
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14007c67a
cmp eax, 0xffffffff
je 0x14007c688
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007c688
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
or rax, 0xffffffffffffffff
jmp 0x14007c69c
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.14005a990
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005a990
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rbp, r8
mov r12, rdx
mov rsi, rcx
mov r13, qword [rcx + 0x18]
test r8, r8
js 0x14005aafa
xor ebx, ebx
cmp qword [rcx + 0x78], rbx
je 0x14005aa68
mov r15b, 1
nop dword [rax]
nop word [rax + rax]
mov r8, rbp
sub r8, rbx
lea rcx, [rbx + r12]
mov r9, qword [rsi + 0x78]
mov edx, 1
call fcn.140137700
mov rdi, rax
mov rcx, qword [rsi + 0x78]
call fcn.140137370
test eax, eax
setne r14b
test r15b, r15b
je 0x14005aa36
test r14b, r14b
je 0x14005aa36
test rdi, rdi
jne 0x14005aa36
mov rcx, qword [rsi + 0x78]
call fcn.1401338a0
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsi + 0x78]
call fcn.14012f348
xor r15b, r15b
jmp 0x14005aa39
add rbx, rdi
test r14b, r14b
jne 0x14005ab56
test rdi, rdi
jne 0x14005aa56
call fcn.14012ece8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14005aa5e
xor ecx, ecx
cmp rbx, rbp
setl cl
test ecx, ecx
jne 0x14005a9e0
jmp 0x14005aab0
cmp dword [rcx + 0xa0], 0xffffffff
je 0x14005aab9
mov rax, rbp
sub rax, rbx
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8d, eax
lea rdx, [rbx + r12]
mov ecx, dword [rsi + 0xa0]
call fcn.140137ecc
movsxd rcx, eax
test eax, eax
jle 0x14005aaa2
add rbx, rcx
cmp rbx, rbp
jl 0x14005aa71
cmp ecx, 0xffffffff
setne al
test al, al
jne 0x14005ab56
test rbx, rbx
jne 0x14005ab56
or rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140042130
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r13
call fcn.140058d30
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14005ab47
cmp eax, ebx
je 0x14005ab56
mov edx, ebx
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14005ab56
mov rcx, qword [rsp + 0x70]
jmp 0x14005ab47
mov edx, 0x16
lea rcx, [rsp + 0x80]
call fcn.140042130
nop
mov r8, rax
mov edx, 1
mov rcx, r13
call fcn.140058d30
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14005ab47
cmp eax, ebx
je 0x14005ab56
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14005ab56
mov rcx, qword [rsp + 0x80]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002d570
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005b0b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
and dword [rbx + 0x40], 0xfdffffff
cmp dword [rbx + 0xa4], 2
je 0x14005b0e9
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0xa4], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14007c8b0
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
cmp qword [rcx + 0x78], 0
jne 0x14007c9d9
cmp dword [rcx + 0xa0], 0xffffffff
jne 0x14007c9d9
cmp qword [rcx + 0x80], 0xffffffffffffffff
je 0x14007c9ce
mov rdi, r8
mov qword [rax + 0x20], r8
xor r12d, r12d
mov ebx, r12d
mov qword [rax - 0x40], 0x2000000
nop word [rax + rax]
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x38]
cmp rdi, 0x2000000
cmovge rax, rcx
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14007c97d
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x14007c9d4
add rbx, rax
sub rdi, rax
mov qword [rsp + 0x98], rdi
cmp rbx, rbp
jge 0x14007c9d4
jmp 0x14007c920
test rbx, rbx
jne 0x14007c9d4
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140041f90
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140058d30
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14007c9c0
cmp eax, 0xffffffff
je 0x14007c9ce
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007c9ce
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
or rax, 0xffffffffffffffff
jmp 0x14007c9de
mov rax, rbx
jmp 0x14007c9de
call fcn.14005b110
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14005b110
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbp
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r14, qword [rcx + 0x18]
test r8, r8
js 0x14005b243
xor ebx, ebx
test r8, r8
je 0x14005b23a
cmp qword [rcx + 0x78], rbx
je 0x14005b19d
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
sub r8, rbx
lea rcx, [rbx + rbp]
mov r9, qword [rsi + 0x78]
mov edx, 1
call fcn.14012ebac
add rbx, rax
test rax, rax
jne 0x14005b18f
call fcn.14012ece8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14005b197
xor ecx, ecx
cmp rbx, rdi
setl cl
test ecx, ecx
jne 0x14005b160
jmp 0x14005b1e0
cmp dword [rcx + 0xa0], 0xffffffff
je 0x14005b1e5
nop word [rax + rax]
mov rax, rdi
sub rax, rbx
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8d, eax
lea rdx, [rbx + rbp]
mov ecx, dword [rsi + 0xa0]
call fcn.1401389ec
test eax, eax
jle 0x14005b1e0
cdqe
add rbx, rax
cmp rbx, rdi
jl 0x14005b1b0
test rbx, rbx
jne 0x14005b23a
or rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140042130
mov rdi, rax
call fcn.14012ece8
mov edx, 2
mov ecx, 4
cmp dword [rax], 0x1c
cmove edx, ecx
mov r8, rdi
mov rcx, r14
call fcn.140058d30
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14005b287
cmp eax, ebx
je 0x14005b296
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14005b296
mov rcx, qword [rsp + 0x50]
jmp 0x14005b287
and dword [rsi + 0x40], 0xffdfffff
jmp 0x14005b296
mov edx, 0x16
lea rcx, [rsp + 0x60]
call fcn.140042130
nop
mov r8, rax
mov edx, 2
mov rcx, r14
call fcn.140058d30
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14005b287
cmp eax, ebx
je 0x14005b296
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14005b296
mov rcx, qword [rsp + 0x60]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002d570
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14005cc40
Capabilities:
Copy file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400596c0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400596c0
mov rdi, rax
mov rcx, rsi
call fcn.140022410
mov rbx, rax
mov rcx, rdi
call fcn.140022410
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x14005ccd4
cmp eax, ebx
je 0x14005cce3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14005cce3
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14005cd01
cmp eax, 0xffffffff
je 0x14005cd0f
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14005cd0f
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
test dil, dil
jne 0x14005cd2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret