joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002539
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push r15
mov rax, 0x16
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140002557
sub rsp, 0x28
call fcn.140010ff0
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x38]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x40]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rcx, qword [0x14001e4dc]
push rcx
sub rsp, 0x28
call fcn.140010dd0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140010e20
push qword [rsp + 0x48]
pop rcx
call sub.SHLWAPI.DLL_PathQuoteSpacesW
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.140010dd0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
movabs rcx, 0x14001d026
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.140010e20
lea rax, [rsp + 0x58]
lea rbp, [rsp + 0x58]
mov dword [rbp], 0x70
mov dword [rbp + 4], 0x140
mov dword [rbp + 0x30], 0
movabs rax, str.open
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x28]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x50]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x28], rax
lea rax, [rsp + 0x58]
mov rax, rax
push rax
pop rcx
call sub.SHELL32.DLL_ShellExecuteExW
mov qword [rsp + 0xc8], rax
push 0x19
pop rcx
call fcn.140006358
lea rax, [rsp + 0xd0]
mov rax, rax
push rax
lea rbp, [rsp + 0x60]
push qword [rbp + 0x68]
pop rcx
pop rdx
call sub.KERNEL32.DLL_GetExitCodeProcess
and rax, rax
je 0x14000272b
mov r15, qword [rsp + 0xd0]
cmp r15, 0x103
je 0x14000272b
jmp 0x14000272d
jmp 0x1400026ed
mov rax, qword [rsp + 0xd0]
jmp 0x14000273a
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
pop rax
add rsp, 0xd8
pop r15
pop rbp
ret
Function at 0x14000361d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140010ff0
push qword [rsp + 0x48]
push qword [rsp + 0x48]
pop rcx
pop rdx
call sub.KERNEL32.DLL_LoadResource
mov qword [rsp + 0x28], rax
push qword [rsp + 0x48]
push qword [rsp + 0x48]
pop rcx
pop rdx
call sub.KERNEL32.DLL_SizeofResource
mov qword [0x14001e474], rax
push qword [0x14001e474]
pop rcx
call fcn.14000b660
mov qword [rsp + 0x30], rax
push qword [0x14001e474]
push qword [rsp + 0x38]
push qword [rsp + 0x38]
pop rcx
pop rdx
pop r8
call fcn.14000b680
push qword [rsp + 0x28]
pop rcx
call sub.KERNEL32.DLL_FreeResource
mov rax, qword [rsp + 0x30]
jmp 0x14000369b
add rsp, 0x38
ret

Function at 0x14000444d
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140010ff0
mov r15, qword [0x14001e48c]
cmp r15, 1
jne 0x14000451c
push qword [0x14001e574]
pop rcx
call fcn.14000c124
mov r15, rax
and r15, r15
jle 0x1400044b2
mov rcx, qword [0x14001e574]
call fcn.14000c12c
mov rcx, qword [0x14001e574]
call fcn.14000c140
or rax, rax
je 0x1400044b2
mov rbp, qword [0x14001e57c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000c534
jmp 0x14000448f
push qword [0x14001e564]
pop rcx
call fcn.14000c124
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x14000451c
push 5
push 0
push 1
push qword [0x14001e564]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140007be0
mov rcx, qword [0x14001e564]
call fcn.14000c12c
mov rcx, qword [0x14001e564]
call fcn.14000c140
or rax, rax
je 0x14000451c
mov rbp, qword [0x14001e56c]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.DLL_RemoveDirectoryW
jmp 0x1400044f9
mov rax, 1
jmp 0x140004528
add rsp, 0x38
pop r15
pop rbp
ret
Function at 0x140005f18
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.DLL_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001d1d0]
call sub.KERNEL32.DLL_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.DLL_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140006200
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140006190
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
lea rcx, [0x14001f160]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x14001e5b0]
jmp 0x14000623c
cmp qword [rbx + 0x18], rdi
je 0x140006243
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140006233
jmp 0x14000625d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x14001e5b0]
call fcn.140010878
lea rcx, [0x14001f160]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]

Function at 0x140006278
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rbp, rax
test rax, rax
je 0x14000633e
lea rcx, [0x14001f160]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x14001e5b0]
jmp 0x140006302
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x1400062ff
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x14001e5b0]
mov rdx, rsi
call fcn.140010878
jmp 0x140006302
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400062cf
mov rdx, qword [0x14001d158]
lea rcx, [0x14001e5b0]
mov rdi, rdx
inc rdx
mov qword [0x14001d158], rdx
lea edx, [rbx + 0x20]
call fcn.1400108c0
lea rcx, [0x14001f160]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140007100
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, 0x40
mov ecx, esi
call fcn.1400112e0
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.14001503c
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x140007130
sub esi, edx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400114b0

Function at 0x14000aab4
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14000ab2b
movsxd rdx, ecx
lea rcx, [0x14000aa10]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x14001e5f0]
test rbx, rbx
je 0x14000ab9e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000ab21
cmp byte [rbx + 0x20], 0
je 0x14000ab21
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 0x14000aae7
jmp 0x14000ab9e
mov rbx, qword [0x14001e5f0]
test rbx, rbx
je 0x14000ab9e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000ab96
cmp byte [rbx + 0x21], 0
je 0x14000ab5a
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14000ab86
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, [0x14001e5f0]
call fcn.140010878
mov rbx, rdi
test rdi, rdi
jne 0x14000ab37
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000acf8
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x14001f1c0]
call fcn.14000fc54
xor ebp, ebp
or esi, 0xffffffff
mov r14, rax
mov ebx, ebp
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
movzx edx, word [rax]
test dx, dx
je 0x14000adf5
mov rcx, qword [rsp + 0x40]
mov r9w, 0x22
cmp dx, 0x20
jne 0x14000ad4f
add rax, 2
cmp word [rax], 0x20
je 0x14000ad45
movzx edx, word [rax]
mov r8d, 1
cmp dx, r9w
jne 0x14000ad8d
add rax, 2
mov rbx, rax
movzx ecx, word [rax]
test cx, cx
je 0x14000adcd
cmp cx, r9w
je 0x14000ad7f
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000ad6d
cmp word [rax], bp
je 0x14000adcd
mov rcx, rax
add rax, 2
jmp 0x14000add5
test dx, dx
je 0x14000add2
mov rbx, rax
cmp dx, 0x20
je 0x14000ad7f
add rax, 2
cmp word [rax], r9w
jne 0x14000adc3
add rax, 2
movzx ecx, word [rax]
test cx, cx
je 0x14000adcd
cmp cx, r9w
je 0x14000adc3
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000adb1
movzx edx, word [rax]
test dx, dx
jne 0x14000ad95
jmp 0x14000ad7f
mov rcx, rax
jmp 0x14000add5
mov r8d, ebp
cmp dword [r14], esi
jne 0x14000addf
test rdi, rdi
jne 0x14000adff
test r8d, r8d
je 0x14000ade6
inc esi
movzx edx, word [rax]
mov rbx, rbp
test dx, dx
jne 0x14000ad3f
test rdi, rdi
jne 0x14000ae14
movsxd rax, esi
jmp 0x14000ae16
test rbx, rbx
je 0x14000ae14
sub rcx, rbx
mov rax, rbx
sar rcx, 1
mov dword [rdi], ecx
inc dword [r14]
jmp 0x14000ae16
mov dword [rdi], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14000ae2c
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14001f1c0]
call fcn.14000fc54
xor ecx, ecx
add rsp, 0x28
jmp fcn.14000acf8

Function at 0x14000aec0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x14001f1c0]
xor ebp, ebp
mov esi, edx
mov dword [rax + 8], ebp
call fcn.14000fc54
test ebx, ebx
js 0x14000aeef
mov dword [rax], ebx
lea rcx, [rsp + 0x30]
call fcn.14000acf8
mov edi, dword [rsp + 0x30]
mov edx, esi
mov ecx, edi
mov rbx, rax
call fcn.1400112e0
mov ecx, ebp
jmp 0x14000af2b
test edi, edi
je 0x14000af30
movzx edx, word [rbx]
cmp dx, 0x22
jne 0x14000af1e
inc ecx
jmp 0x14000af25
mov word [rax], dx
add rax, 2
add rbx, 2
dec edi
cmp word [rbx], bp
jne 0x14000af0d
mov word [rax], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.1400114b0

Function at 0x14000afcc
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
mov rax, rdx
test rcx, rcx
je 0x14000afec
test rax, rax
lea rdx, [0x1400175f4]
cmovne rdx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x14000c484
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x230
xor ebx, ebx
test rcx, rcx
je 0x14000c50e
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_wcsncpy
lea rcx, [rsp + 0x20]
mov word [rsp + 0x228], bx
call sub.msvcrt.dll_wcslen
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x14000c4fa
lea rdx, [rcx - 2]
movzx eax, word [rdx]
sub ax, 0x20
cmp ax, 0x3c
ja 0x14000c4fa
movabs r8, 0x1000000000008001
bt r8, rax
jae 0x14000c4fa
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x14000c4cc
mov word [rcx], bx
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cdqe
jmp 0x14000c510
xor eax, eax
add rsp, 0x230
pop rbx
ret

Function at 0x14000c51c
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
xor eax, eax
test rcx, rcx
je 0x14000c52d
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cdqe
add rsp, 0x28
ret

Function at 0x14000c534
Capabilities:
Delete file

Disassembly:
xor edx, edx
jmp 0x14000c53c
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000c567
test dl, 2
je 0x14000c55a
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
cdqe
jmp 0x14000c569
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000c53c
Capabilities:
Delete file
Set file attributes

Disassembly:
xor edx, edx
jmp 0x14000c53c
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000c567
test dl, 2
je 0x14000c55a
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
cdqe
jmp 0x14000c569
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000c570
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov esi, 0x104
mov ecx, esi
call fcn.1400112e0
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
xor ebp, ebp
movsxd rbx, eax
test eax, eax
je 0x14000c5b9
lea ecx, [rbp + 0x5c]
cmp word [rdi + rbx*2 - 2], cx
je 0x14000c5b9
mov word [rdi + rbx*2], cx
inc ebx
sub esi, ebx
mov ecx, esi
call fcn.1400114b0
mov rsi, qword [rsp + 0x40]
movsxd rax, ebx
mov rbx, qword [rsp + 0x30]
mov word [rdi + rax*2], bp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000c750
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14000c763
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
cdqe
jmp 0x14000c765
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000c76c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov edx, ecx
mov ebx, 0x104
mov ecx, ebx
call fcn.1400112e0
mov ecx, ebx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea rcx, str.Kernel32.DLL
mov esi, eax
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
xor r14d, r14d
mov rbp, rax
test rax, rax
je 0x14000c7e6
lea rdx, str.GetLongPathNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x14000c7dd
mov r8d, ebx
mov rdx, rdi
mov rcx, rdi
call rax
mov esi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
sub ebx, esi
mov ecx, ebx
call fcn.1400114b0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
movsxd rax, esi
mov rsi, qword [rsp + 0x40]
mov word [rdi + rax*2], r14w
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000c814
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov rdi, rdx
mov edx, ecx
xor esi, esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [r11 - 0x18], rax
mov ebx, esi
call qword [sym.imp.SHELL32.DLL_SHGetFolderLocation]
test eax, eax
jne 0x14000c885
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
call qword [sym.imp.SHELL32.DLL_SHGetPathFromIDListW]
test eax, eax
je 0x14000c87a
mov rcx, rdi
call sub.msvcrt.dll_wcslen
mov rbx, rax
test eax, eax
je 0x14000c87a
lea ecx, [rsi + 0x5c]
cdqe
cmp word [rdi + rax*2 - 2], cx
je 0x14000c87a
mov word [rdi + rax*2], cx
inc ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLE32.DLL_CoTaskMemFree]
movsxd rax, ebx
mov word [rdi + rax*2], si
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000c930
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
cmp dword [rcx + 0x1c], eax
jne 0x14000c974
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx + 8]
lea r9, [rsp + 0x40]
sub r8d, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
movsxd rax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
cdqe
add rsp, 0x30
pop rbx
ret
Function at 0x14000cf50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x14001f2f0]
call fcn.14000fe58
test rax, rax
je 0x14000cffa
sub ebx, 2
je 0x14000cfc1
sub ebx, 2
je 0x14000cfb2
dec ebx
je 0x14000cfa3
dec ebx
je 0x14000cf94
cmp ebx, 0x13
jne 0x14000cffa
lea r8d, [rbx - 0x11]
lea rdx, [0x140017dbc]
jmp 0x14000cfce
mov r8d, 4
lea rdx, [0x140017dd0]
jmp 0x14000cfce
mov r8d, 4
lea rdx, [0x140017dc8]
jmp 0x14000cfce
mov r8d, 2
lea rdx, [0x140017dc4]
jmp 0x14000cfce
mov r8d, 3
lea rdx, [0x140017dc0]
cmp qword [rax + 8], 0
je 0x14000cfe3
mov rcx, rax
call fcn.14000d230
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
add rsp, 0x30
pop rbx
ret

Function at 0x14000d000
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x48], 0
test rdx, rdx
je 0x14000d103
cmp word [rdx], 0
je 0x14000d103
cmp r8d, 0x19
jne 0x14000d093
or rax, 0xffffffffffffffff
cmp qword [rcx + 8], 0
je 0x14000d061
nop word [rax + rax]
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000d040
lea r8d, [rax + rax]
call fcn.14000d230
mov dword [rsp + 0x48], eax
cdqe
add rsp, 0x30
pop rbx
ret
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000d061
mov rcx, qword [rcx]
lea r8d, [rax + rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
cmp r8d, 2
mov eax, 0xfde9
lea r8, [rsp + 0x58]
cmove ecx, eax
mov qword [rsp + 0x40], rdi
call fcn.14000d380
mov rdi, rax
test rax, rax
je 0x14000d0fe
cmp qword [rbx + 8], 0
mov r8d, dword [rsp + 0x58]
mov rdx, rax
je 0x14000d0d5
mov rcx, rbx
call fcn.14000d230
mov dword [rsp + 0x48], eax
jmp 0x14000d0ec
mov rcx, qword [rbx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rcx, qword [0x14001e444]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov rdi, qword [rsp + 0x40]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rdx, rcx
mov rcx, qword [0x14001f2f0]
mov ebx, r8d
call fcn.14000fe58
test rax, rax
je 0x14000d18c
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000d000
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d150
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x48], 0
test rdx, rdx
je 0x14000d103
cmp word [rdx], 0
je 0x14000d103
cmp r8d, 0x19
jne 0x14000d093
or rax, 0xffffffffffffffff
cmp qword [rcx + 8], 0
je 0x14000d061
nop word [rax + rax]
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000d040
lea r8d, [rax + rax]
call fcn.14000d230
mov dword [rsp + 0x48], eax
cdqe
add rsp, 0x30
pop rbx
ret
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000d061
mov rcx, qword [rcx]
lea r8d, [rax + rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
cmp r8d, 2
mov eax, 0xfde9
lea r8, [rsp + 0x58]
cmove ecx, eax
mov qword [rsp + 0x40], rdi
call fcn.14000d380
mov rdi, rax
test rax, rax
je 0x14000d0fe
cmp qword [rbx + 8], 0
mov r8d, dword [rsp + 0x58]
mov rdx, rax
je 0x14000d0d5
mov rcx, rbx
call fcn.14000d230
mov dword [rsp + 0x48], eax
jmp 0x14000d0ec
mov rcx, qword [rbx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rcx, qword [0x14001e444]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov rdi, qword [rsp + 0x40]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rdx, rcx
mov rcx, qword [0x14001f2f0]
mov ebx, r8d
call fcn.14000fe58
test rax, rax
je 0x14000d18c
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000d000
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d1a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x48], ebx
test rdx, rdx
je 0x14000d218
test r8d, r8d
je 0x14000d218
mov rdx, rcx
mov rcx, qword [0x14001f2f0]
call fcn.14000fe58
test rax, rax
je 0x14000d214
mov r8d, edi
mov rdx, rsi
cmp qword [rax + 8], rbx
je 0x14000d201
mov rcx, rax
call fcn.14000d230
mov ebx, eax
cdqe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov ebx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000d230
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x50], ebp
cmp dword [rcx + 0x24], ebp
jne 0x14000d36e
cmp dword [rcx + 0x1c], 1
jne 0x14000d283
mov eax, dword [rcx + 0x14]
mov rcx, qword [rcx]
lea r9d, [rbp + 1]
neg eax
lea r8, [rsp + 0x6c]
cdqe
mov edx, eax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x1c], ebp
mov dword [rbx + 0x14], eax
mov ecx, dword [rbx + 0x14]
cmp ecx, edi
jle 0x14000d30f
mov eax, dword [rbx + 0x10]
mov edx, edi
sub eax, ecx
movsxd rcx, eax
add rcx, qword [rbx + 8]
dec edx
je 0x14000d2f7
dec edx
je 0x14000d2de
cmp edx, 2
je 0x14000d2c7
mov r8, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsi]
mov dword [rcx], eax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, word [rsi]
mov word [rcx], ax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [rsi]
mov byte [rcx], al
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.14000c930
mov eax, dword [rbx + 0x10]
mov rdx, rsi
cmp edi, eax
jl 0x14000d349
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.DLL_WriteFile]
movsxd rax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
sub eax, dword [rbx + 0x14]
mov r8, rdi
movsxd rcx, eax
add rcx, qword [rbx + 8]
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movsxd rax, ebp
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000d628
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov dword [rcx + 0x5c], edx
ret