joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006bc94
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov rax, rdx
mov rdi, rcx
test rdx, rdx
je 0x14006be35
cmp word [rdx], bx
je 0x14006be35
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x14006bd11
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x40]
call qword [case.0x1400462a5.0]
mov esi, eax
test eax, eax
jns 0x14006bd00
mov rcx, qword [rbp + 0x18]
lea r8, str.minkernelmrtmrm_srcmrmex_filebuilder.cpp
mov r9d, eax
mov edx, 0x1b7
call fcn.140002980
mov eax, esi
jmp 0x14006be54
mov rcx, qword [rdi + 0x30]
mov rax, qword [rbp + 0x28]
test rcx, rcx
je 0x14006be29
cmp dword [rdi + 0x38], ebx
je 0x14006be29
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbp + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x14006bd6b
mov rcx, qword [rbp + 0x18]
lea r8, str.minkernelmrtmrm_srcmrmex_filebuilder.cpp
mov edx, 0x1bf
call fcn.1400029b8
mov ebx, eax
jmp 0x14006be0d
mov r8d, dword [rdi + 0x38]
lea rcx, [rbp + 0x38]
mov rdx, qword [rdi + 0x30]
lea r9, [rbp + 0x30]
mov qword [rbp - 0x20], rcx
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x18], rcx
mov rcx, rax
mov byte [rbp - 0x10], 1
mov dword [rbp + 0x30], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14006bdad
mov edx, 0x1c8
jmp 0x14006bded
mov eax, dword [rdi + 0x38]
cmp dword [rbp + 0x30], eax
je 0x14006bdd4
mov rcx, qword [rbp + 0x18]
lea r8, str.minkernelmrtmrm_srcmrmex_filebuilder.cpp
mov ebx, 0xdef00116
mov edx, 0x1c9
mov r9d, ebx
call fcn.140002980
jmp 0x14006be04
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
nop dword [rax + rax]
test eax, eax
jne 0x14006be01
mov edx, 0x1ca
mov rcx, qword [rbp + 0x18]
lea r8, str.minkernelmrtmrm_srcmrmex_filebuilder.cpp
call fcn.1400029b8
mov ebx, eax
jmp 0x14006be04
mov byte [rbp - 0x10], bl
lea rcx, [rbp - 0x20]
call fcn.14006be6c
mov rcx, qword [rbp + 0x38]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006be52
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14006be52
mov ebx, 0xdef00191
mov edx, 0x1ba
jmp 0x14006be3f
mov ebx, 0x80070057
mov edx, 0x1b1
mov rcx, qword [rbp + 0x18]
lea r8, str.minkernelmrtmrm_srcmrmex_filebuilder.cpp
mov r9d, ebx
call fcn.140002980
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006be6c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x10], 0
mov rdi, rcx
je 0x14006bedf
mov byte [rcx + 0x10], 0
mov rsi, qword [rcx]
mov rbp, qword [rsi]
lea rax, [rbp - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006bec8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
and qword [rsi], 0
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400719dc
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebx, 0x104
mov rdi, rdx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
test eax, eax
jne 0x140071a30
mov edx, ebx
mov rcx, qword [rsp + 0x268]
lea r8, str.minkernelmrtmrm_srcmrmexprimerge.cpp
call fcn.1400029b8
jmp 0x140071b31
lea rcx, [rsp + 0x28]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
test eax, eax
je 0x140071a4c
mov edx, 0x107
jmp 0x140071a17
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
je 0x140071a73
mov edx, 0x10a
jmp 0x140071a17
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x20]
lea r8, [0x1400ac45c]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001314
lea rcx, [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
test ebx, ebx
jns 0x140071ab9
mov eax, ebx
jmp 0x140071b31
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140001274
mov ebx, eax
test eax, eax
jns 0x140071aea
mov rcx, qword [rsp + 0x268]
lea r8, str.minkernelmrtmrm_srcmrmexprimerge.cpp
mov r9d, eax
mov edx, 0x114
call fcn.140002980
jmp 0x140071ab5
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140071b2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x140071b2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140071b31
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a0610
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140071b5c
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x20], 0
mov rdi, rcx
and dword [rax - 0x18], 0
mov rcx, rdx
and qword [rax - 0x10], 0
lea rax, [rax - 0x20]
mov qword [rsp + 0x20], rax
mov rsi, rdx
call fcn.14003d4d8
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140058b94
mov ebx, eax
test eax, eax
jns 0x140071bae
mov edx, 0x120
jmp 0x140071c38
mov r8d, 0x5c
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14003d7b8
mov ebx, eax
test eax, eax
jns 0x140071bce
mov edx, 0x121
jmp 0x140071c38
lea rcx, [rsp + 0x20]
call fcn.14003d4d8
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140071c1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x140071c1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140071c50
mov r8d, 0x5c
mov rdx, rdi
mov rcx, rsi
call fcn.14003d7b8
mov ebx, eax
test eax, eax
jns 0x140071c4e
mov edx, 0x127
mov rcx, qword [rsp + 0x48]
lea r8, str.minkernelmrtmrm_srcmrmexprimerge.cpp
mov r9d, eax
call fcn.140002980
jmp 0x140071c50
xor ebx, ebx
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140058c58
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400821c0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r15d, r15d
mov r14, r8
mov rsi, rcx
test rcx, rcx
je 0x1400823f7
cmp word [rcx], r15w
je 0x1400823f7
test rdx, rdx
je 0x1400823f7
cmp word [rdx], r15w
je 0x1400823f7
test r8, r8
je 0x1400823f7
lea rax, [rsp + 0x68]
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea r8d, [r15 + 0x5c]
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r15d
call fcn.14003d7b8
mov edi, eax
test eax, eax
jns 0x140082270
mov rcx, qword [rbp + 0x208]
lea r8, str.minkernelmrtmrm_srcmrmexprimergeutils.cpp
mov r9d, eax
lea edx, [r15 + 0x13]
call fcn.140002980
jmp 0x140082387
lea rcx, [rsp + 0x60]
call fcn.14003d4d8
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400822a2
call fcn.140001a5c
mov edi, eax
jmp 0x140082387
test byte [rbp - 0x80], 0x10
jne 0x140082355
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r15
lea rdx, [rbp - 0x54]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], rsi
call fcn.14003d5c4
mov edi, eax
test eax, eax
js 0x1400823c8
lea rcx, [rsp + 0x40]
call fcn.14003d4d8
mov r9d, dword [rbp - 0x60]
lea rcx, [0x1400a8698]
mov r8d, dword [rbp - 0x64]
mov edx, dword [rbp - 0x80]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp - 0x6c]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov qword [rsp + 0x38], r15
call fcn.140072b38
mov edi, eax
test eax, eax
js 0x1400823a1
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call fcn.140082500
mov edi, eax
test eax, eax
js 0x14008239a
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], r15
call fcn.140072fc0
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140058c58
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400822a2
mov edi, r15d
test rbx, rbx
je 0x140082387
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140058c58
mov eax, edi
jmp 0x140082419
mov edx, 0x2f
jmp 0x1400823a6
mov edx, 0x2d
mov rcx, qword [rbp + 0x208]
lea r8, str.minkernelmrtmrm_srcmrmexprimergeutils.cpp
mov r9d, eax
call fcn.140002980
lea rcx, [rsp + 0x30]
call fcn.140072fc0
jmp 0x1400823e3
mov rcx, qword [rbp + 0x208]
lea r8, str.minkernelmrtmrm_srcmrmexprimergeutils.cpp
mov r9d, eax
mov edx, 0x23
call fcn.140002980
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140058c58
jmp 0x140082373
mov rcx, qword [rbp + 0x208]
lea r8, str.minkernelmrtmrm_srcmrmexprimergeutils.cpp
mov ebx, 0x80070057
mov edx, 0xe
mov r9d, ebx
call fcn.140002980
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a0610
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008aa0c
Capabilities:
Encode data using base64

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 r13
push r14
lea r10d, [rdx + 2]
mov r11d, edx
mov eax, 0xaaaaaaab
xor r14d, r14d
mul r10d
mov rax, qword [rsp + 0x38]
mov rbx, r8
shr edx, 1
mov rdi, rcx
lea edx, [rdx*4 + 1]
test rax, rax
je 0x14008aa50
mov dword [rax], edx
test r9d, r9d
jne 0x14008aa5e
test rbx, rbx
je 0x14008ab6f
cmp r9d, edx
jae 0x14008aa6d
mov eax, 0x8007000e
jmp 0x14008ab71
mov r10d, r14d
mov r9d, r14d
test r11d, r11d
je 0x14008ab34
lea r13, [0x1400bf990]
mov eax, r9d
inc r9d
movzx ebp, byte [rax + rdi]
cmp r9d, r11d
jae 0x14008aa9e
lfence
mov dl, byte [r9 + rdi]
inc r9d
jmp 0x14008aaa1
mov dl, r14b
cmp r9d, r11d
jae 0x14008aab2
lfence
mov sil, byte [r9 + rdi]
inc r9d
jmp 0x14008aab5
mov sil, r14b
mov ecx, r10d
mov rax, rbp
shr rax, 2
inc r10d
movzx r8d, dl
mov rdx, rbp
and edx, 3
shl rdx, 4
movzx eax, word [r13 + rax*2]
mov word [rbx + rcx*2], ax
mov eax, r8d
shr rax, 4
and r8d, 0xf
or rdx, rax
shl r8d, 2
mov ecx, r8d
movzx eax, word [r13 + rdx*2]
mov word [rbx + r10*2], ax
inc r10d
movzx eax, sil
shr rax, 6
or rcx, rax
movzx ecx, word [r13 + rcx*2]
mov word [rbx + r10*2], cx
inc r10d
movzx ecx, sil
and ecx, 0x3f
movzx ecx, word [r13 + rcx*2]
mov word [rbx + r10*2], cx
inc r10d
cmp r9d, r11d
jb 0x14008aa83
mov eax, 0xaaaaaaab
mul r11d
shr edx, 1
lea eax, [rdx + rdx*2]
mov edx, 0x3d
sub r11d, eax
sub r11d, 1
je 0x14008ab57
cmp r11d, 1
je 0x14008ab5f
jmp 0x14008ab67
lea eax, [r10 - 2]
mov word [rbx + rax*2], dx
lea eax, [r10 - 1]
mov word [rbx + rax*2], dx
mov eax, r10d
mov word [rbx + rax*2], r14w
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r14
pop r13
ret
Function at 0x140092720
Capabilities:
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbp, rdx
mov rsi, rcx
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x30], rbx
mov r14, r8
call fcn.140016ecc
mov edi, eax
test eax, eax
js 0x140092849
cmp qword [rsi + 0x20], 8
lea rcx, [rsi + 8]
jb 0x140092762
mov rdx, qword [rcx]
jmp 0x140092765
mov rdx, rcx
mov rax, qword [rsi + 0x18]
lea r8, [rdx + rax*2]
jb 0x140092774
mov rax, qword [rcx]
jmp 0x140092777
mov rax, rcx
jb 0x14009277c
mov rcx, qword [rcx]
test rax, rax
jne 0x140092786
mov rdx, rbx
jmp 0x14009278f
mov rdx, rax
sub rdx, rcx
sar rdx, 1
test r8, r8
jne 0x140092799
mov r8, rbx
jmp 0x14009279f
sub r8, rax
sar r8, 1
mov rcx, rsi
call fcn.140007b84
mov rdx, rbp
mov rcx, rsi
call fcn.140006ec8
cmp qword [rsi + 0x48], 8
lea rcx, [rsi + 0x30]
jb 0x1400927c2
mov rdx, qword [rcx]
jmp 0x1400927c5
mov rdx, rcx
mov rax, qword [rsi + 0x40]
lea rax, [rdx + rax*2]
jb 0x1400927d4
mov r8, qword [rcx]
jmp 0x1400927d7
mov r8, rcx
jb 0x1400927dc
mov rcx, qword [rcx]
test r8, r8
jne 0x1400927e6
mov rdx, rbx
jmp 0x1400927ef
mov rdx, r8
sub rdx, rcx
sar rdx, 1
test rax, rax
je 0x1400927fd
mov rbx, rax
sub rbx, r8
sar rbx, 1
mov r8, rbx
lea rcx, [rsi + 0x28]
call fcn.140007b84
mov rdx, qword [rsp + 0x30]
lea rcx, [rsi + 0x28]
call fcn.140006ec8
cmp qword [rsi + 0x48], 8
lea rcx, [rsi + 0x30]
jb 0x140092825
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov r8d, eax
mov rdx, rbp
mov rcx, rsi
call fcn.140092868
mov edi, eax
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov eax, edi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14009dd30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea r8, str.RedirectedStorageRoot
lea rax, [rsp + 0x50]
mov rbx, rdx
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionMrt_Merged
and qword [rsp + 0x20], 0
mov r9d, 6
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14009ddb0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x50]
call fcn.140058b94
test eax, eax
js 0x14009ddb0
mov al, 1
jmp 0x14009ddb2
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a0610
add rsp, 0x270
pop rbx
ret

Function at 0x1400a0410
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400df1f0], rbx
je 0x1400a045c
cmp rax, rbx
jne 0x1400a044f
mov ebx, 1
mov esi, ebx
jmp 0x1400a0461
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400a0434
mov ebx, 1
mov eax, dword [0x1400df1f8]
cmp eax, ebx
jne 0x1400a0477
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400a04dc
mov eax, dword [0x1400df1f8]
test eax, eax
jne 0x1400a04d6
mov dword [0x1400df1f8], ebx
lea r15, [0x1400aa630]
lea rdi, [0x1400aa618]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400a04c8
test eax, eax
jne 0x1400a04cc
cmp qword [rdi], 0
je 0x1400a04bd
mov rax, qword [rdi]
mov rcx, qword [case.0x1400462a5.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400a049e
test eax, eax
je 0x1400a04dc
mov eax, 0xff
jmp 0x1400a05b8
mov dword [0x1400de664], ebx
mov eax, dword [0x1400df1f8]
cmp eax, ebx
jne 0x1400a0503
lea rdx, [0x1400aa610]
lea rcx, [0x1400aa5a8]
call sub.msvcrt.dll__initterm
mov dword [0x1400df1f8], 2
test esi, esi
jne 0x1400a0510
xor eax, eax
xchg qword [0x1400df1f0], rax
cmp qword [0x1400df210], 0
je 0x1400a0544
lea rcx, [0x1400df210]
call fcn.1400a0bc0
test eax, eax
je 0x1400a0544
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400df210]
mov r9, qword [case.0x1400462a5.0]
call r9
mov r8, qword [0x1400de678]
mov rdx, qword [0x1400de670]
mov ecx, dword [0x1400de668]
call fcn.140003ce4
mov dword [0x1400de660], eax
cmp dword [0x1400de680], 0
jne 0x1400a0574
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400de664], 0
jne 0x1400a0589
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400de660]
jmp 0x1400a05b8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14017e000
add rsp, 0x28
jmp 0x1400a0410
Function at 0x1400a0aac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400a0af8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a0af0
cmp dword [rcx + 0x3c], edx
jl 0x1400a0af0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400a0af0
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 0x1400a0af8
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400a0ec8
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a0ed4
push rbx
sub rsp, 0x540
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400a0f51
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x1400a0f71
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400a0610
add rsp, 0x540
pop rbx
ret

Function at 0x1400a0ed4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a0ed4
push rbx
sub rsp, 0x540
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400a0f51
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x1400a0f71
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400a0610
add rsp, 0x540
pop rbx
ret
Function at 0x10000124c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.100001180
add rsp, 0x28
jmp 0x100001270
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [section..data], rdi
jne 0x10000169f
mov eax, dword [0x100003014]
cmp eax, 1
je 0x1000016bf
mov eax, dword [0x100003014]
cmp eax, ebx
jne 0x1000016d6
mov dword [0x100003014], 1
lea r13, [0x100002168]
lea rdi, [0x100002150]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000131c
cmp eax, ebx
jne 0x10000131c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100001311
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1000012fa
cmp eax, ebx
jne 0x1000016cc
mov eax, dword [0x100003014]
cmp eax, 1
jne 0x10000134c
lea rdx, [0x100002148]
lea rcx, [0x100002138]
call fcn.100148000
mov dword [0x100003014], 2
cmp r12d, ebx
jne 0x10000135b
mov rax, rbx
xchg qword [section..data], rax
cmp qword [0x1000035d8], rbx
jne 0x1000016e5
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
je 0x10000170e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [rcx], 0x20
jbe 0x1000013ab
cmp word [rcx], 0x22
je 0x100001741
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100001390
cmp word [rcx], bx
je 0x1000013b4
cmp edx, ebx
jne 0x100001396
cmp word [rcx], bx
je 0x1000013ca
cmp word [rcx], 0x20
ja 0x1000013ca
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000013b4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100001400
nop
jmp 0x100001715
cmp rax, rdi
jne 0x1000016af
mov r12d, 1
jmp 0x1000012ba
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000012a9
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x100001324
mov eax, 0xff
jmp 0x100001780
mov dword [0x1000036e4], 1
jmp 0x100001324
lea rcx, [0x1000035d8]
call fcn.1000018fc
cmp eax, ebx
je 0x100001368
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1000035d8]
nop
jmp 0x100001368
mov eax, 0xff
jmp 0x100001780
mov dword [0x1000036e0], eax
cmp dword [0x100003008], ebx
jne 0x10000172b
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000036e4], ebx
jne 0x10000173f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000036e0]
jmp 0x100001780
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x1000013a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
Function at 0x14002c842
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14002c88a
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14002c893
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x14002c883
mov qword [rdi], rsi
call fcn.140043d50
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140043d50
mov rcx, qword [rdi]
call fcn.14003bb20
mov qword [rdi], 0
jmp 0x14002c868