joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000311d
Capabilities:
Delete directory

Disassembly:
xor rax, rax
push rax
push rax
sub rsp, 0x28
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [0x14001d660]
push qword [0x14001d660]
pop rcx
sub rsp, 0x20
call fcn.140010974
add rsp, 0x20
inc qword [0x14001d660]
push qword [0x14001cc28]
mov rdx, qword [0x14001d670]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400099d8
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400145c0
mov rcx, qword [rsp + 0x28]
xor rdx, rdx
call fcn.1400146f0
or rax, rax
jne 0x140003220
mov rcx, qword [rsp + 0x28]
push qword [0x14001d660]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
lea rcx, [0x14001cbb0]
pop rdx
call fcn.1400145c0
push qword [0x14001cbb0]
pop rcx
call fcn.1400109d4
mov rcx, qword [0x14001cb08]
xor rdx, rdx
call fcn.1400146f0
or rax, rax
jne 0x1400031ec
push qword [0x14001cb08]
pop rcx
call fcn.14000378d
push qword [0x14001cbc8]
push 1
pop rcx
pop rdx
call fcn.140010fc0
and rax, rax
je 0x140003220
push qword [0x14001cbc0]
push 1
pop rcx
pop rdx
call fcn.140011350
push 1
pop rcx
call fcn.140010bc0
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [0x14001d660]
push qword [0x14001d660]
pop rcx
sub rsp, 0x20
call fcn.140009e04
add rsp, 0x20
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400109f0
add rsp, 0x28
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400109d4
add rsp, 0x28
pop qword [0x14001d660]
push qword [0x14001cc88]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
xor rax, rax
mov qword [0x14001cab0], rax
jmp 0x140001b9b
Function at 0x14000343d
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
push 0x400
pop rcx
call fcn.140010560
mov qword [rsp + 0x28], rax
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
pop rcx
sub rsp, 0x20
call fcn.1400108a0
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x28]
push 0
movabs rax, 0x14001b01e
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.dll_GetTempFileNameA
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [rsp + 0x40]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
lea rcx, [0x14001cc88]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x28]
pop rcx
call fcn.1400106b0
push qword [0x14001cc88]
pop rcx
call fcn.14001096c
push qword [0x14001cc88]
pop rcx
call fcn.140010820
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
pop rcx
sub rsp, 0x20
call fcn.140010974
add rsp, 0x28
lea rcx, [0x14001cbb0]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x50]
pop rcx
call fcn.140010580
mov rax, rax
push rax
xor r15, r15
cmp r15, qword [rsp]
jne 0x140003578
mov rcx, qword [0x14001cc88]
push qword [0x14001d660]
sub rsp, 0x20
call fcn.140014780
add rsp, 0x20
lea rcx, [0x14001cbb0]
pop rdx
sub rsp, 0x28
call fcn.1400145c0
add rsp, 0x28
mov qword [rsp + 0x40], 2
jmp 0x14000358e
mov r15, 1
cmp r15, qword [rsp]
jne 0x14000358e
mov qword [rsp + 0x40], 1
pop rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
mov rax, r15
push rax
pop rcx
call fcn.140010580
mov qword [0x14001cc18], rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.140010580
mov qword [0x14001cab8], rax
mov rax, 1
jmp 0x1400035d4
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
pop rax
add rsp, 0x40
pop r15
ret
Function at 0x1400035ef
Capabilities:
Accept command line arguments

Disassembly:
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
mov rax, qword [rsp + 0x80]
mov qword [0x14001d660], rax
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
sub rsp, 8
sub rsp, 0x20
call sub.KERNEL32.dll_GetCommandLineA
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400145c0
mov rcx, qword [rsp + 0x28]
push qword [0x14001d660]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400145c0
mov rax, qword [rsp + 0x30]
mov rax, rax
push rax
pop rcx
call sub.SHLWAPI.DLL_PathRemoveArgsA
mov qword [rsp + 0x38], rax
push qword [rsp + 0x30]
pop rcx
call fcn.1400062c0
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x40]
and r15, r15
jle 0x14000371b
push qword [0x14001d660]
movabs rcx, str.__BFINOPSX
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
push qword [0x14001d660]
push qword [0x14001d660]
push qword [0x14001d660]
push qword [0x14001d660]
mov r15, qword [rsp + 0x68]
inc r15
mov rax, r15
push rax
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140006680
add rsp, 0x20
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006150
add rsp, 0x20
pop rax
lea rcx, [rsp + 0x50]
pop rdx
call fcn.1400145c0
mov rcx, qword [rsp + 0x48]
push qword [0x14001d660]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
pop rax
add rax, qword [0x14001d670]
jmp 0x14000374e
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
pop rax
add rsp, 0x50
pop r15
ret
Function at 0x140004811
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
mov r15, qword [0x14001cc18]
cmp r15, 1
jne 0x1400048f7
push qword [0x14001ccd8]
pop rcx
call fcn.14000c1c0
mov r15, rax
and r15, r15
jle 0x14000488d
mov rcx, qword [0x14001ccd8]
call fcn.14000c1c8
mov rcx, qword [0x14001ccd8]
call fcn.14000c1dc
or rax, rax
je 0x14000488d
mov rbp, qword [0x14001cce0]
push qword [rbp + 0x10]
pop rcx
call fcn.140012a40
mov r15, rax
movsxd rax, dword [rbp + 0x18]
cmp r15, rax
jne 0x14000488b
mov rbp, qword [0x14001cce0]
push qword [rbp + 0x10]
pop rcx
call fcn.14001096c
jmp 0x14000484e
push qword [0x14001cce8]
pop rcx
call fcn.14000c1c0
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400048f7
push 5
push 0
push 1
push qword [0x14001cce8]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009280
mov rcx, qword [0x14001cce8]
call fcn.14000c1c8
mov rcx, qword [0x14001cce8]
call fcn.14000c1dc
or rax, rax
je 0x1400048f7
mov rbp, qword [0x14001ccf0]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
jmp 0x1400048d4
mov rax, 1
jmp 0x140004903
add rsp, 0x38
pop r15
pop rbp
ret
Function at 0x14000490b
Capabilities:
Accept command line arguments
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
push qword [0x14001cbc8]
push 1
pop rcx
pop rdx
call fcn.140010fc0
and rax, rax
je 0x140004b6a
push qword [0x14001cbf0]
push 1
pop rcx
pop rdx
call fcn.140011400
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [0x14001d660]
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
sub rsp, 8
sub rsp, 0x20
call sub.KERNEL32.dll_GetCommandLineA
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call sub.SHLWAPI.DLL_PathGetArgsA
add rsp, 0x20
pop qword [0x14001d660]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
inc qword [0x14001d660]
push qword [0x14001cc50]
mov rdx, qword [0x14001d670]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d660]
push qword [0x14001cbc0]
push 1
pop rcx
pop rdx
call fcn.140011400
mov r15, qword [0x14001cae0]
cmp r15, 1
jne 0x140004b5d
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
movabs rbp, 0x14001b13d
mov r15, rbp
movabs rbp, 0x14001b090
sub r15, rbp
mov rax, r15
push rax
movabs rbp, 0x14001b090
mov rax, rbp
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400105a0
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x28]
pop rcx
call fcn.1400062c0
mov qword [rsp + 0x30], rax
push qword [rsp + 0x30]
pop rcx
call fcn.140010560
mov qword [rsp + 0x38], rax
push qword [rsp + 0x30]
pop rcx
call fcn.140010560
mov qword [rsp + 0x40], rax
push qword [rsp + 0x28]
push qword [rsp + 0x40]
pop rcx
pop rdx
call fcn.1400107c0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x48]
jl 0x140004b03
mov r15, qword [rsp + 0x38]
add r15, qword [rsp + 0x48]
mov rax, r15
push rax
pop rcx
call fcn.140010580
mov r15, rax
imul r15, r15, 0xffffffffffffffff
mov rax, r15
push rax
mov r15, qword [rsp + 0x48]
add r15, qword [rsp + 0x50]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.140010590
inc qword [rsp + 0x48]
jno 0x140004abc
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [rsp + 0x68]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
inc qword [0x14001d660]
push 1
mov rdx, qword [0x14001d670]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140011400
add rsp, 0x28
pop qword [0x14001d660]
push 1
pop rcx
call fcn.140010bc0
jmp 0x140004bb4
push qword [0x14001cbc8]
pop rcx
call fcn.14001096c
call fcn.140004811
push 0x10
push qword [0x14001cbd8]
push qword [0x14001cc90]
pop rcx
pop rdx
pop r8
call fcn.140009924
push qword [0x14001cc88]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
mov rax, 1
mov qword [0x14001cab0], rax
jmp 0x140001b9b
xor rax, rax
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
pop rax
add rsp, 0x58
pop r15
pop rbp
ret
Function at 0x140009c40
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x140009cb7
movsxd rdx, ecx
lea rcx, [0x140009b9c]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x14001cd08]
test rbx, rbx
je 0x140009d2a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140009cad
cmp byte [rbx + 0x20], 0
je 0x140009cad
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140009c73
jmp 0x140009d2a
mov rbx, qword [0x14001cd08]
test rbx, rbx
je 0x140009d2a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140009d22
cmp byte [rbx + 0x21], 0
je 0x140009ce6
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x140009d12
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x14001cd08]
call fcn.140013fa4
mov rbx, rdi
test rdi, rdi
jne 0x140009cc3
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140009e80
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x14001d6a0]
call fcn.14001374c
xor ebx, ebx
or esi, 0xffffffff
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dl, byte [rax]
test dl, dl
je 0x140009f46
mov rcx, qword [rsp + 0x30]
mov r10b, 0x20
lea r9d, [rbx + 1]
cmp dl, r10b
jne 0x140009ed4
add rax, r9
cmp byte [rax], r10b
je 0x140009ecc
mov dl, byte [rax]
mov r8d, r9d
cmp dl, 0x22
jne 0x140009f0a
add rax, r9
mov rbx, rax
mov cl, byte [rax]
test cl, cl
je 0x140009f05
cmp cl, 0x22
je 0x140009ef8
add rax, r9
mov cl, byte [rax]
test cl, cl
jne 0x140009eea
cmp byte [rax], 0
je 0x140009f05
mov rcx, rax
add rax, r9
jmp 0x140009f2c
mov rcx, rax
jmp 0x140009f2c
test dl, dl
je 0x140009f29
mov rbx, rax
cmp dl, r10b
je 0x140009f1f
add rax, r9
mov dl, byte [rax]
test dl, dl
jne 0x140009f11
cmp byte [rax], 0
mov rcx, rax
je 0x140009f2c
jmp 0x140009f00
xor r8d, r8d
cmp dword [rbp], esi
jne 0x140009f36
test rdi, rdi
jne 0x140009f50
test r8d, r8d
je 0x140009f3e
add esi, r9d
mov dl, byte [rax]
xor ebx, ebx
test dl, dl
jne 0x140009ec7
test rdi, rdi
jne 0x140009f62
movsxd rax, esi
jmp 0x140009f65
test rbx, rbx
je 0x140009f62
sub ecx, ebx
mov rax, rbx
mov dword [rdi], ecx
add dword [rbp], r9d
jmp 0x140009f65
and dword [rdi], 0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14000a040
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14001d6a0]
call fcn.14001374c
xor ecx, ecx
add rsp, 0x28
jmp fcn.140009e80
Function at 0x14000a0b8
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
mov rax, rdx
test rcx, rcx
je 0x14000a0d8
test rax, rax
lea rdx, [0x1400196e6]
cmovne rdx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
add rsp, 0x28
ret
Function at 0x14000a924
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, qword [rsp + 0x80]
or rbp, 0xffffffffffffffff
xor edi, edi
mov rsi, r9
mov r15, r8
mov r12, rdx
mov rbx, rcx
test r9, r9
je 0x14000a97f
cmp byte [r9], dil
je 0x14000a97f
mov rcx, r9
call fcn.140015230
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.14000b0b0
mov rdi, rax
jmp 0x14000a994
cmp dword [rcx + 0x10], edi
je 0x14000aa86
movsxd rcx, dword [rcx + 0x18]
mov rax, qword [rbx + 8]
mov rdi, qword [rax + rcx*8]
test rdi, rdi
je 0x14000aa86
test r14, r14
je 0x14000a9ba
mov r8, qword [rdi]
mov rcx, qword [0x14001caa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, qword [rdi]
mov r12, rax
test r12, r12
je 0x14000aa86
cmp r15, qword [rdi]
jl 0x14000aa86
mov edx, dword [rdi + 0x10]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r8, qword [rdi + 8]
cmp r8, qword [rdi]
jne 0x14000aa16
mov r8d, dword [rdi]
mov rcx, qword [rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd r11, dword [rsp + 0x80]
cmp qword [rdi], r11
jne 0x14000aa86
mov rbp, r11
jmp 0x14000aa86
mov rcx, qword [0x14001caa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
je 0x14000aa86
mov r8d, dword [rdi + 8]
mov rcx, qword [rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd r11, dword [rsp + 0x80]
cmp qword [rdi + 8], r11
jne 0x14000aa74
mov rbx, qword [rdi]
mov r8, r15
mov rdx, r12
mov rcx, r13
call fcn.14000b27c
movsxd rcx, eax
cmp rcx, rbx
cmove rbp, rbx
mov rcx, qword [0x14001caa0]
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
je 0x14000aab5
cmp rbp, 0xffffffffffffffff
jne 0x14000aaac
test r12, r12
je 0x14000aaa8
mov rcx, qword [0x14001caa0]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ebp, ebp
jmp 0x14000aab5
mov rcx, qword [rdi]
mov rbp, r12
mov qword [r14], rcx
test rsi, rsi
je 0x14000aac7
cmp byte [rsi], 0
je 0x14000aac7
mov rcx, rsi
call fcn.140015310
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rax, rbp
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000abd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r12, rcx
mov rcx, r9
mov rsi, r8
mov r15, rdx
xor ebx, ebx
call fcn.140015230
mov rcx, qword [0x14001caa0]
lea edi, [rsi + 0x18]
xor edx, edx
movsxd r8, edi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
je 0x14000acf5
mov r9d, edi
mov r8, rax
mov edx, esi
mov rcx, r15
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 5
call fcn.14000b304
movsxd rdi, eax
test eax, eax
je 0x14000ac54
cmp rdi, rsi
jge 0x14000ac54
mov r15, r13
jmp 0x14000ac56
mov edi, esi
mov rcx, r14
call sub.msvcrt.dll_strlen
mov rcx, qword [r12]
lea r9, [rbp + 0x30]
mov word [rbp - 0x10], ax
movsxd rax, edi
lea rdx, [rbp - 0x20]
mov r8d, 0x12
mov qword [rbp - 0x20], rsi
mov qword [rsp + 0x20], rbx
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rbp + 0x30], 0x12
jne 0x14000acdb
movsx r8d, word [rbp - 0x10]
mov rcx, qword [r12]
lea r9, [rbp + 0x30]
mov rdx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsx r11d, word [rbp - 0x10]
cmp r11d, dword [rbp + 0x30]
jne 0x14000acdb
mov rcx, qword [r12]
lea r9, [rbp + 0x30]
mov r8d, edi
mov rdx, r15
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, dword [rbp + 0x30]
mov eax, 1
cmove rbx, rax
mov rcx, r12
call fcn.14000aeb8
mov rcx, qword [0x14001caa0]
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r14
call fcn.140015310
lea r11, [rsp + 0x50]
mov rax, rbx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000af24
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
cmp qword [rcx + 8], 0
mov rbx, rcx
mov esi, 0x40
jne 0x14000b098
mov rcx, qword [0x14001caa0]
xor edx, edx
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [rbx + 0x14], 0
lea edi, [rsi - 0x3c]
mov qword [rbx + 8], rax
mov edx, edi
xor r9d, r9d
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
cmp dword [rbx + 0x1c], 0x706c7a31
mov rcx, qword [rbx]
lea r9, [rbp + 0x20]
jne 0x14000afc7
lea rdx, [rbp - 0x18]
mov r8d, 0x18
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x20], 0x18
jne 0x14000b098
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x28], rax
movzx eax, word [rbp - 8]
mov word [rbp - 0x20], ax
jmp 0x14000afe1
lea rdx, [rbp - 0x30]
mov r8d, 0x12
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x20], 0x12
jne 0x14000b098
cmp dword [rbx + 0x14], esi
jl 0x14000b00a
mov r8, qword [rbx + 8]
mov rcx, qword [0x14001caa0]
add esi, 0x40
movsxd r9, esi
mov edx, 8
shl r9, 3
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rbx + 8], rax
movsx r8, word [rbp - 0x20]
mov rcx, qword [0x14001caa0]
xor edx, edx
add r8, 0x19
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbp - 0x30]
and qword [rsp + 0x20], 0
mov qword [rax], rcx
mov rcx, qword [rbp - 0x28]
lea rdx, [rax + 0x14]
mov qword [rax + 8], rcx
movsx r8d, word [rbp - 0x20]
mov rcx, qword [rbx]
lea r9, [rbp + 0x20]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsx r11, word [rbp - 0x20]
mov byte [r11 + r12 + 0x14], 0
cmp dword [rbx + 0x1c], 0x706c7a31
movsx rax, word [rbp - 0x20]
jne 0x14000b06f
lea edi, [rdi + rax + 0x18]
jmp 0x14000b073
lea edi, [rdi + rax + 0x12]
mov dword [r12 + 0x10], edi
movsxd rcx, dword [rbx + 0x14]
add edi, dword [rbp - 0x28]
mov rax, qword [rbx + 8]
mov r9d, 1
mov qword [rax + rcx*8], r12
inc dword [rbx + 0x14]
mov edx, dword [rbp - 0x28]
jmp 0x14000af71
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x14000d034
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x14001d860]
call fcn.140013664
mov rsi, rax
test rax, rax
je 0x14000d0ad
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14000d072
mov edx, ebx
mov rcx, rsi
call rax
jmp 0x14000d0ad
mov rcx, qword [rsi]
call qword [sym.imp.USER32.DLL_GetWindowTextLengthA]
mov edx, ebx
mov ecx, eax
mov edi, eax
call fcn.140014840
lea r8d, [rdi + 1]
mov byte [rax], 0
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.DLL_GetWindowTextA]
mov rcx, rbx
call sub.msvcrt.dll_strlen
sub edi, eax
mov ecx, edi
call fcn.1400149e0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d59c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
lea rcx, [rsp + 0x20]
mov ebx, 0xc8
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000d6b1
mov eax, dword [rsp + 0x30]
dec eax
je 0x14000d68e
dec eax
jne 0x14000d6b1
lea rcx, [rsp + 0xc0]
xor edi, edi
mov dword [rsp + 0xc0], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000d609
lea eax, [rdi + 1]
cmp byte [rsp + 0x15a], al
cmove edi, eax
mov eax, dword [rsp + 0x24]
sub eax, 3
je 0x14000d687
dec eax
je 0x14000d680
dec eax
je 0x14000d656
dec eax
jne 0x14000d6b1
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000d64a
dec eax
je 0x14000d63e
dec eax
jne 0x14000d6b1
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x5f
jmp 0x14000d6b1
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x55
jmp 0x14000d6b1
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x4b
jmp 0x14000d6b1
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000d679
dec eax
je 0x14000d672
dec eax
jne 0x14000d6b1
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x41
jmp 0x14000d6b1
mov ebx, 0x3c
jmp 0x14000d6b1
mov ebx, 0x32
jmp 0x14000d6b1
mov ebx, 0x14
jmp 0x14000d6b1
mov ebx, 5
jmp 0x14000d6b1
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000d6ac
cmp eax, 0xa
je 0x14000d6a5
cmp eax, 0x5a
jne 0x14000d6b1
lea ebx, [rax - 0x32]
jmp 0x14000d6b1
mov ebx, 0x1e
jmp 0x14000d6b1
mov ebx, 0xa
movsxd rax, ebx
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret