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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140004450]
mov dword [rax], 1
mov rax, qword [0x140004460]
mov dword [rax], 1
mov rax, qword [0x140004470]
mov dword [rax], 1
mov rax, qword [0x140004400]
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 0x140002900
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 0x140002928
mov eax, 0
jmp 0x140002976
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 0x140002951
mov eax, 0
jmp 0x140002976
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 0x140002971
mov eax, 0
jmp 0x140002976
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000297c
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 0x1400029fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400029f1
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 0x1400029f1
mov rax, qword [rbp - 8]
jmp 0x140002a0f
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 0x1400029c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d55e0
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.2fc4d66c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d5fe2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d607a
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d605e
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 0x2fc4d6052
cmp qword [rbp - 0x10], 0
je 0x2fc4d6052
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 0x2fc4d6018
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d607b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d6180
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 0x2fc4d61a8
mov eax, 0
jmp 0x2fc4d61f6
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 0x2fc4d61d1
mov eax, 0
jmp 0x2fc4d61f6
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 0x2fc4d61f1
mov eax, 0
jmp 0x2fc4d61f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d61fc
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 0x2fc4d627a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d6271
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 0x2fc4d6271
mov rax, qword [rbp - 8]
jmp 0x2fc4d628f
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 0x2fc4d6244
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001b2c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movsxd rdi, r8d
mov rcx, qword [rcx]
mov rsi, rdx
test rcx, rcx
je 0x140001b52
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
lea rdx, str.ComboBoxEx32
or qword [rbx + 8], 0xffffffffffffffff
mov r9d, 0x44200046
mov rax, qword [0x1401d5598]
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
mov rcx, rax
mov qword [rbx], rax
lea r8d, [r9 + 4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140001bde
mov rcx, rax
call fcn.1400d1eb4
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.140001bf8
Function at 0x140001bf8
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rsi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140001d8c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140001cf4
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4209
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rsi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [0x140202fe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.140016c20]
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call rbx
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x70]
and dword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 1]
call fcn.140001db4
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140001d20
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call fcn.1400014a0
test al, al
jne 0x140001d84
call fcn.1400d021c
mov edi, eax
xor ebx, ebx
bt edi, ebx
jae 0x140001d7d
lea r9d, [rbx + 0x41]
mov edx, 0xa
lea r8, str._c:_
lea rcx, [rbp + 0x220]
call fcn.140002910
mov byte [rsp + 0x40], 1
lea rdx, [rbp + 0x220]
or qword [rsp + 0x38], 0xffffffffffffffff
xor r9d, r9d
mov dword [rsp + 0x30], 2
xor r8d, r8d
and qword [rsp + 0x28], 0
mov rcx, rsi
or dword [rsp + 0x20], 0xffffffff
call fcn.140001db4
inc ebx
cmp ebx, 0x20
jl 0x140001d29
mov rcx, rsi
call fcn.140002194
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001db4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, qword [rbp + 0x2a8]
mov r13, rcx
mov ecx, 0x1010
mov rbx, r9
mov r15d, r8d
mov r12, rdx
call fcn.140101290
mov rcx, r12
mov r14, rax
mov dword [rax], r15d
mov qword [rax + 8], rbx
call fcn.140096b28
mov rdx, rax
lea rcx, [r14 + 0x10]
mov r8d, 0x800
call fcn.140096ef0
mov ebx, dword [rbp + 0x2a0]
or rsi, 0xffffffffffffffff
cmp byte [rbp + 0x2c0], 0
jne 0x140001e7f
cmp ebx, esi
je 0x140001e41
test rdi, rdi
jne 0x140001e7f
mov eax, 0x4203
lea r8, [rsp + 0x70]
cmp r15d, 2
mov r9d, 0x2b8
lea ecx, [rax - 2]
cmovne eax, ecx
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, esi
lea rax, [rbp - 0x80]
cmove ebx, dword [rsp + 0x78]
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.140120b70
mov rax, qword [rbp + 0x2b8]
lea r9, [rsp + 0x30]
mov rcx, qword [r13]
test rdi, rdi
mov qword [rsp + 0x38], rax
mov edx, 0x40b
mov eax, dword [rbp + 0x2b0]
cmovne rsi, rdi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140101680
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001f58
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x140002053
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140001fc2
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140001fbb
cmp dword [rbx + 0x228], 2
jne 0x140001fbb
lea rcx, [0x1401c6af8]
call fcn.140002088
xor eax, eax
jmp 0x140002064
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x140001fd6
mov rsi, qword [rax + 8]
jmp 0x140001fda
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x140002019
mov eax, edi
lea r8, [rsp + 0x30]
bts eax, 9
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140002019
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140002049
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rsp + 0x20], edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x38], eax
mov dword [rbx + 0x34], eax
bts dword [rbx + 0x18], 0x1c
jmp 0x140001fbb
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140101680
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret

Function at 0x140002088
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.140101610
sub rsp, rax
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.14004ba44
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14000211d
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140001950
cmp byte [0x14019b720], 0
mov rcx, rbx
je 0x140002116
call fcn.14000266c
jmp 0x140002179
call fcn.14000284c
jmp 0x140002179
cmp byte [0x14019b720], 0
je 0x140002134
lea rcx, [rsp + 0x20]
call fcn.140080a1c
test al, al
je 0x140002165
lea rcx, [rsp + 0x20]
call fcn.140096c70
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002165
test al, 0x10
jne 0x140002165
lea rdx, [rsp + 0x20]
lea rcx, [0x1401c6f50]
call fcn.1400458e0
jmp 0x140002179
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [0x1401c6f50]
call fcn.14004264c
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140101680
add rsp, 0x1030
pop rbx
ret
Function at 0x14000bb44
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140101610
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x10a0], rbx
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x10b0], rdi
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rbp + 0xf80], rax
xor ebx, ebx
cmp qword [0x1401b7768], rbx
je 0x14000bdd5
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1401b6732]
lea rdi, [0x1401c40e0]
mov rcx, rdi
call fcn.140007460
cmp eax, 1
jne 0x14000bdd5
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x1401ad1d0]
add eax, 0xfffffffd
mov r9b, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
cmp eax, 1
jbe 0x14000bbf5
lea rdx, [rsp + 0x38]
call fcn.140006730
jmp 0x14000bbff
lea rdx, [rsp + 0x40]
call fcn.14000685c
cmp qword [rsp + 0x30], rbx
je 0x14000bdd5
mov edi, 0x800
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [0x1401b7738]
call fcn.140097034
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000bc70
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movabs r9, 0x7fffffff7fffffff
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [0x1401a91b0]
call fcn.14009969c
cmp eax, 6
ja 0x14000bc70
mov ecx, 0x4a
bt ecx, eax
jae 0x14000bc70
mov rcx, qword [rsp + 0x38]
jmp 0x14000bdd0
lea rdx, [0x140143210]
lea rcx, [rbp - 0x80]
call fcn.14007137c
mov rdi, rax
test rax, rax
jne 0x14000bca7
mov ecx, 0x1f6
call fcn.140090e20
mov rdx, rax
lea r8, [rbp - 0x80]
lea rcx, [0x1401b6732]
call fcn.1400d6c94
jmp 0x14000bc66
mov eax, dword [0x1401ad1d0]
cmp eax, 3
jne 0x14000bd09
mov rdx, rdi
mov ecx, 0xff
call fcn.140128134
mov rdx, rdi
mov ecx, 0xfe
call fcn.140128134
cmp qword [rsp + 0x30], rbx
jbe 0x14000bdb9
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx*2]
mov rdx, rdi
call fcn.140128134
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + rbx*2 + 1]
mov rdx, rdi
call fcn.140128134
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14000bcd7
jmp 0x14000bdb9
cmp eax, 4
jne 0x14000bd8a
mov rdx, rdi
mov ecx, 0xef
call fcn.140128134
mov rdx, rdi
mov ecx, 0xbb
call fcn.140128134
mov rdx, rdi
mov ecx, 0xbf
call fcn.140128134
mov rdx, qword [rsp + 0x30]
shl rdx, 2
lea rcx, [rsp + 0x50]
call fcn.140004d50
nop
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140099d40
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x14000bd64
mov r9, rdi
mov edx, 1
mov rcx, rsi
call fcn.140128494
nop
lea rcx, [rsp + 0x50]
call fcn.14000a788
jmp 0x14000bdb9
cmp eax, 2
jne 0x14000bda2
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
call qword [sym.imp.USER32.dll_CharToOemBuffA]
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.140128494
mov rcx, rdi
call fcn.1401280c8
mov rcx, qword [rsp + 0x38]
call fcn.1401012cc
mov rcx, qword [rsp + 0x40]
call fcn.1401012cc
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000ca3c
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, 0x830
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor ebp, ebp
mov rdi, rcx
mov word [rcx], bp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rax
mov ebx, ebp
call fcn.14009662c
mov rsi, rax
test rax, rax
je 0x14000caeb
test ebx, ebx
jne 0x14000ca9b
mov ebx, 1
jmp 0x14000cac8
movzx edx, word [rsp + 0x20]
lea rcx, [0x1401a91b0]
call fcn.140063338
test al, al
jne 0x14000cac8
cmp ebx, 1
jne 0x14000cac6
movzx eax, word [rsp + 0x20]
mov word [rdi], ax
movzx eax, word [rsp + 0x22]
mov word [rdi + 2], ax
inc ebx
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14009662c
mov rsi, rax
test rax, rax
jne 0x14000ca90
cmp ebx, 2
jne 0x14000caeb
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140011c40
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov rbx, rdx
mov bpl, cl
cmp dword [0x14019c790], 0
jne 0x140011e05
lea r8, str.WinRAR_DragDrop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140011cb5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.140090e20
mov rcx, rax
call fcn.1400d63e4
jmp 0x140011e05
mov edi, 0x10
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x140194a22], al
mov ecx, edi
call fcn.140101290
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140011cf4
lea rax, [0x140143f38]
mov qword [rdi], rax
mov dword [rdi + 8], 1
jmp 0x140011cf6
xor edi, edi
mov ecx, 0xf968
call fcn.140101290
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140011d20
xor r9d, r9d
mov r8, rbx
mov dl, bpl
mov rcx, rax
call fcn.140010ee0
mov r14, rax
jmp 0x140011d23
xor r14d, r14d
mov qword [0x140194a28], r14
mov byte [0x140194a21], 0
mov byte [0x140194a20], 1
mov byte [0x140194a23], 0
lea r9, [rsp + 0x60]
mov r8d, 3
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ole32.dll_DoDragDrop]
mov ebp, eax
mov byte [0x140194a20], 0
mov rdx, qword [r14]
mov rbx, qword [rdx + 0x10]
mov rcx, rbx
call qword [fcn.140016c20]
mov rcx, r14
call rbx
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x10]
mov rcx, rbx
call qword [fcn.140016c20]
mov rcx, rdi
call rbx
cmp byte [0x140194a22], 0
je 0x140011db4
cmp byte [0x14019b720], 0
je 0x140011db4
cmp ebp, 0x40100
jne 0x140011db4
call fcn.1400de8c8
lea rcx, [0x1401c6f50]
call fcn.140048a14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbp - 0x40100]
cmp eax, 1
jbe 0x140011e05
cmp byte [0x140194a23], 0
jne 0x140011e05
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x140011e05
mov ecx, 0x53c
call fcn.140090e20
mov rcx, rax
call fcn.1400d63e4
lea rcx, [0x1401d5778]
call fcn.140069ec0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140012a28
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2f60]
mov eax, 0x3060
call fcn.140101610
sub rsp, rax
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov sil, dl
mov rdi, rcx
call fcn.140073bfc
cmp eax, 0x600
jb 0x140012bdb
mov rcx, rdi
call fcn.1400d0300
xor ebx, ebx
test al, al
jne 0x140012bdb
mov r14d, 0x800
lea r8, [rsp + 0x50]
mov r9d, r14d
lea rcx, [0x1401c6f50]
mov rdx, rdi
call fcn.140045074
mov r8d, r14d
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.140080520
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x140012bdb
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0xf50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140012b0e
mov eax, dword [rsp + 0x40]
and eax, 0x80008
cmp eax, 8
jne 0x140012bdb
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012b41
test al, 0x10
jne 0x140012b41
lea rcx, [rsp + 0x50]
call fcn.140012878
and eax, 6
cmp al, 6
jne 0x140012bd7
lea rcx, [rsp + 0x50]
call fcn.140081140
lea rcx, [rsp + 0x50]
mov dil, bl
call fcn.140070448
test al, al
jne 0x140012ba8
mov dil, 1
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f50]
call fcn.140096ef0
lea rcx, [rsp + 0x50]
call fcn.140081140
lea rax, [rsp + 0x50]
lea r8, [rbp + 0x1f50]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140012b96
add rax, 2
test edx, edx
jne 0x140012b82
test ecx, ecx
je 0x140012ba8
lea rcx, [rsp + 0x50]
call fcn.140070448
test al, al
je 0x140012b55
lea rcx, [rsp + 0x50]
call fcn.140012878
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x140012bce
test dil, dil
je 0x140012bca
test sil, sil
je 0x140012bd3
test cl, cl
jne 0x140012bd3
mov ebx, 1
mov al, bl
jmp 0x140012bdd
mov al, 1
jmp 0x140012bdd
xor al, al
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x3060]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret