joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015140
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
cmp qword [rcx + 0x40], 0xffffffffffffffff
je 0x1400151d9
cmp byte [rcx + 0x4c], 0
je 0x1400151a1
cmp byte [rcx + 0x4d], 0
je 0x1400151a1
mov rdi, qword [rcx]
mov rax, qword [rcx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x14001519a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
sete al
or byte [rbx + 0x4c], al
add rdi, 8
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x140015174
movzx eax, byte [rbx + 0x4c]
mov byte [rbx + 0x4d], al
mov rdi, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x1400151ce
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 8
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x1400151b1
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbx + 0x20]
lea rax, [0x1400886d4]
cmp rcx, rax
je 0x1400151ff
mov r9d, 0x424
lea r8, str.C:_buildslaveunity_buildRuntimeCoreContainershash_set.h
mov edx, dword [rbx + 0x38]
call fcn.1400027a0
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140007a10
Function at 0x1400204f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r15, r8
mov rdi, rdx
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
cmp qword [rdx + 0x18], 8
jb 0x140020531
mov rdx, qword [rdx]
mov rcx, qword [rdi + 0x10]
lea rax, [rdx + rcx*2]
jmp 0x140020539
mov rax, qword [rdx + 0x10]
lea rax, [rdx + rax*2]
mov ecx, 0x5c
cmp rdx, rax
je 0x140020555
cmp word [rdx], 0x2f
jne 0x14002054c
mov word [rdx], cx
add rdx, 2
cmp rdx, rax
jne 0x140020543
mov rbx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140020562
mov rbx, qword [rdi]
mov edx, ecx
mov rcx, rbx
call fcn.1400451a8
mov rsi, rax
test rax, rax
je 0x14002057a
add rsi, 2
jmp 0x14002057d
mov rsi, rbx
mov r13, qword [r15 + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r13
cmp rax, 1
jb 0x140020702
cmp qword [r15 + 0x18], 8
jb 0x1400205a5
mov r15, qword [r15]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
lea rbp, [r13 + 1]
mov ebx, 7
lea r12, [rsp + 0x28]
cmp rbp, rbx
jbe 0x1400205f5
mov rbx, rbp
or rbx, 7
cmp rbx, rcx
jbe 0x1400205d3
mov rbx, rcx
jmp 0x1400205df
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x28]
call fcn.140014a40
mov r12, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
lea rbx, [r13*2]
mov r8, rbx
mov rdx, r15
mov rcx, r12
call fcn.140043570
mov eax, 0x5c
mov word [rbx + r12], ax
xor ebx, ebx
mov word [r12 + rbp*2], bx
mov dword [rsp + 0x20], 2
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], 0
jne 0x140020635
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.14002c3f0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x20], 7
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400206ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
cmp rdx, 0x1000
jb 0x1400206b5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140020708
mov rcx, r8
call fcn.14003f840
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400206c7
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400206df
test al, 0x10
jne 0x1400206df
mov rcx, r14
call fcn.140020710
nop
mov rcx, rdi
call fcn.1400123f0
mov rax, r14
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400119a0
int3
call fcn.14004dd7c
int3
Function at 0x1400213c0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, rdx
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140021419
xor dil, dil
jmp 0x14002149b
mov dword [rsp + 0x80], r14d
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp dword [rsp + 0x80], 0
je 0x140021443
xor dil, dil
jmp 0x14002149b
mov rsi, qword [rdi + 8]
sub rsi, qword [rdi]
lea rdx, [rsi + rbp]
mov rcx, rdi
call fcn.14002df70
mov dword [rsp + 0x88], r14d
mov rdx, qword [rdi]
add rdx, rsi
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x88]
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140021498
mov edx, dword [rsp + 0x88]
add rdx, rsi
mov rcx, rdi
call fcn.14002df70
xor dil, dil
jmp 0x14002149b
mov dil, 1
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400214ae
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140030a60
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rcx], rdx
mov rbx, rcx
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], r8
mov byte [rcx + 0x40], 0
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov r9, rbx
mov qword [rsp + 0x28], 0
lea r8, [0x140032780]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400318b0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x1400318d8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
cmp qword [rdi + 8], 0xffffffffffffffff
je 0x1400319d6
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [rdi + 0x40], 1
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
lea rdx, str.CancelSynchronousIo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140031988
mov rcx, qword [rdi + 8]
call rbx
test eax, eax
jne 0x140031960
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140031960
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140031960
mov edx, 0x3e8
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140031928
mov edx, 0xffffffff
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x1400319bb
mov edx, 0x3e8
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14003196f
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0xffffffffffffffff
lea rcx, [rdi + 0x18]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
retf 0xf022
movabs dword [0x4834153c2d71f801], eax
xor al, 0x48
std
fld dword [rax + 0x6c]
in eax, dx
push rdi
sub eax, dword [rsi]
movabs byte [0x5d36e4cd42afbf38], al
jge 0x140133ef7
jrcxz 0x140133ed0
mov ebx, 0x10364e25
and ecx, dword [rsi - 0x59]
and eax, 0x2310364e
adc byte ss:[rbx], ah
cmpsq qword [rsi], qword [rdi]
movsd dword [rdi], dword [rsi]
jno 0x140133f3c
ficom word [rax]
invalid
cmp byte [rbx + 0x6a6f6682], bl
sar byte [r15 - 0x6661c4d], cl
movsd dword [rdi], dword [rsi]
jne 0x140133f89
push rax
push rax
invalid
xor edi, dword [rcx + 0x22]
add ecx, ebp
adc al, byte [rsp + rcx - 0x57a00392]
invalid
and byte [rbp + 0x32], ah
sahf
adc r8b, r13b
invalid
fimul word [rsi - 0x541f7095]
mov gs, word [rbx - 0x71]
loopne 0x140133f13
jns 0x140133f63
stosd dword [rdi], eax
leave
push 0xffffffffb38a6ffe
push rsi
invalid
jbe 0x140133f39
dec dword [rsi - 0x2f]
invalid
sub al, 0xdd
sub al, 0xdd
xor eax, 0xcbbf2133
lodsb al, byte [rsi]
fdivr st(4)
imul ebx, dword [rdi - 0x6e], 0x73
call 0xef892a26
invalid
Function at 0x140032a00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x450
movaps xmmword [rax - 0x38], xmm6
mov r14, rcx
lea rdi, [rcx + 8]
mov qword [rax + 8], rdi
mov rcx, rdi
call fcn.140011d60
nop
mov rcx, qword [r14 + 0xa0]
call fcn.140033680
movaps xmm6, xmm0
lea rcx, [r14 + 0x40]
cmp qword [rcx + 0x18], 8
jb 0x140032a4f
mov rcx, qword [rcx]
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x140032a72
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebp, ebp
jmp 0x140032b7d
xor ebp, ebp
mov qword [rsp + 0x480], rbp
lea r9, [rsp + 0x480]
lea r8, [0x140033890]
lea edx, [rbp + 0xe]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov rdx, qword [rsp + 0x480]
mov rcx, rbx
test rdx, rdx
je 0x140032b77
lea r8d, [rbp + 0xe]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
test rax, rax
je 0x140032b77
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140032b74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140032b74
mov dword [rsp + 0x20], ebp
lea edx, [rbp + 1]
mov r9d, 0x100
mov r8d, r9d
mov rcx, rax
call qword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
movzx edx, ax
lea r8d, [rbp + 3]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r12, rax
mov rcx, rbx
test rax, rax
je 0x140032b77
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140032b74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
mov rcx, rbx
test rax, rax
je 0x140032b77
mulss xmm6, dword [0x14008b1c4]
cvttss2si esi, xmm6
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x30000
lea r8d, [rbp + 1]
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov rbp, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [r14 + 0x80]
cmp qword [rax + 0x18], 8
jb 0x140032b8e
mov rax, qword [rax]
lea r9, [r14 + 0x60]
cmp qword [r9 + 0x18], 8
jb 0x140032b9c
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
lea r8, str._s____s
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140014e00
lea r9, [rsp + 0x40]
mov r8, rbp
mov edx, 0x501
mov rcx, qword [r14 + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, rdi
call fcn.140011d70
nop
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140036cd0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x140036df2
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [rdi + 0x40], 1
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov qword [rsp + 0x28], rax
lea rdx, str.CancelSynchronousIo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140036da2
nop dword [rax]
mov rcx, qword [rdi + 8]
call rbx
test eax, eax
jne 0x140036d78
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140036d78
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140036d78
mov edx, 0x3e8
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140036d40
mov edx, 0xffffffff
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ebx, dword [rsp + 0x40]
jmp 0x140036dd7
mov edx, 0x3e8
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140036d87
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14003b0e0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
call fcn.140010780
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14003b115
mov edx, eax
lea rcx, str.CoInitializeEx_failed_with_code_0x_0x_n
call fcn.140002720
mov edi, 1
jmp 0x14003b1e1
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [0x1400339d0]
call fcn.14004ddf4
mov edx, 2
mov ecx, edx
call fcn.140048c18
lea rdx, [0x140032250]
mov ecx, 0x16
call fcn.14005107c
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, qword [str.__console]
call fcn.140021340
test al, al
je 0x14003b185
call fcn.140020470
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, qword [str.__wait_for_debugger]
call fcn.140021340
test al, al
je 0x14003b1a2
call fcn.140022ee0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, str.__attach
call fcn.140021340
mov rdx, rbx
mov ecx, dword [rsp + 0x20]
test al, al
je 0x14003b1da
call fcn.14001df50
mov edi, eax
test eax, eax
js 0x14003b1e1
mov rdx, rbx
mov ecx, dword [rsp + 0x20]
call fcn.140035d50
jmp 0x14003b1e1
call fcn.140035640
mov edi, eax
call fcn.140010670
nop
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000c9cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c9c4
cmp dword [rcx + 0x3c], edx
jl 0x14000c9c4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000c9c4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000c9cc
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14120f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14120f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14120f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14120f06f
add dl, dl
jne 0x14120f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14120f0f6
xor eax, eax
add dl, dl
jne 0x14120f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14120f1ad
add dl, dl
jne 0x14120f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14120f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14120f07e
mov eax, 1
add dl, dl
jne 0x14120f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14120f0fb
sub eax, ebx
mov ebx, 1
jne 0x14120f14c
mov ecx, 1
add dl, dl
jne 0x14120f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14120f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14120f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14120f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14120f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14120f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14120f15d
cmp eax, 0x7d00
jae 0x14120f19b
cmp eax, 0x500
jb 0x14120f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14120f07e
cmp eax, 0x7f
ja 0x14120f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14120f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14120f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14120f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.140166000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c
Function at 0x180001f2c
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1802b92d8]
syscall
ret

Function at 0x180001faf
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x4d
syscall
ret

Function at 0x180001fba
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x50
syscall
ret

Function at 0x180001fc5
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1082
syscall
ret

Function at 0x180001fdb
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1044
syscall
ret
Function at 0x18000ac40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1802b8380]
xor rax, rsp
mov qword [rbp - 8], rax
xor eax, eax
mov dword [rbp - 0x30], 0x2d73756c
xor ebx, ebx
mov dword [rbp - 0x2c], 0x460f552d
mov edx, ebx
mov word [rbp - 0x28], 0x484f
mov edi, ecx
mov byte [rbp - 0x26], al
nop
movsxd rax, edx
lea rcx, [rbp - 0x30]
add rcx, rax
lea eax, [rdx + 0x1b]
inc edx
xor byte [rcx], al
cmp edx, 0xa
jb 0x18000ac80
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x26], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
je 0x18000ad0d
movdqa xmm0, xmmword [0x180103110]
xor eax, eax
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0xa], al
mov edx, ebx
mov dword [rbp - 0x10], 0x4f597f52
mov word [rbp - 0xc], 0x555b
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x20]
add rcx, rax
lea eax, [rdx + 0x1b]
inc edx
xor byte [rcx], al
cmp edx, 0x16
jb 0x18000acd0
lea rdx, [rbp - 0x20]
mov byte [rbp - 0xa], bl
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1802b9680], rax
test rax, rax
jne 0x18000ad07
movzx eax, bx
jmp 0x18000ad5b
mov ecx, edi
call rax
jmp 0x18000ad5b
xor eax, eax
mov dword [rbp - 0x30], 0x6c786f6e
mov byte [rbp - 0x26], al
mov dword [rbp - 0x2c], 0x460f122c
mov word [rbp - 0x28], 0x484f
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rbp - 0x30]
add rcx, rax
lea eax, [rbx + 0x1b]
inc ebx
xor byte [rcx], al
cmp ebx, 0xa
jb 0x18000ad30
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, edi
call fcn.180001fdb
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180058370
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret