joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800435e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180043658
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180043658
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180043645
nop
cmp rbx, rcx
jae 0x180043658
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x180043630
cmp rbx, rcx
jae 0x180043658
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18004365a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180055520
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180055548
xor eax, eax
lea r8, [0x180055140]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180068730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1800573c0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x180068786
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1800687dd
mov ebp, 0x4b0000
jmp 0x1800687eb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1800599a0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x180068801
mov eax, r12d
jmp 0x18006880a
mov edx, edi
mov ecx, ebp
call fcn.1800599a0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x180068826
shl esi, 0x10
mov ecx, esi
jmp 0x180068915
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x180068884
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1800573c0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x180068874
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.180059870
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1800573c0
add ebx, eax
jmp 0x18006891e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x180068891
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1800688d0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1800573c0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1800688d5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.180059870
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1800573c0
add ebx, eax
jmp 0x18006891e
cmp eax, r12d
jge 0x18006890e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1800573c0
sub ebp, eax
sub r15d, esi
je 0x18006890e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.180059870
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1800573c0
add ebx, eax
jmp 0x18006891e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1800573c0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1800573c0
Function at 0x1800b49d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1800f9040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1800b4b6c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1800b4b6c
cmp r10d, r14d
jne 0x1800b4a70
sub rbx, 0x10
jmp 0x1800b4bb4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1800b4ae2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1800b4aa4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1800b4aac
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1800b4acb
movzx edx, r11b
mov rcx, rsi
call fcn.1800b5b80
test al, al
jne 0x1800b4bc5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1800b61f0
test al, al
jne 0x1800b4bc5
mov edx, dword [rsi + 0x64]
lea r9, [0x1800b6550]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1800b4b0e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1800b4850
jmp 0x1800b4b62
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1800b4850
test dil, dil
je 0x1800b4b5a
cmp byte [rsi + 0x6a], 0
jne 0x1800b4b5a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1800b4bc5
sub rbx, 0x10
jmp 0x1800b4bb4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1800b4bc9
mov ebp, dword [rbx]
jmp 0x1800b4a30
mov al, 1
jmp 0x1800b4bd2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800c0390
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1800baf20
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1800baf3c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800baf90
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800bb0b5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1800bb0b5
test rax, rax
je 0x1800bb0b5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1800bb0b5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1800bb02a
lea rax, [0x1800bb110]
jmp 0x1800bb083
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1800bb0b5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800bb0a3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1800bb050
lea rax, [0x1800bb0e0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1800bb0ca
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1800bc6a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800bc6ab
xor eax, eax
ret
lea r11, [0x1800df140]
not ecx
cmp r8d, 8
jb 0x1800bc781
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800bc6d0
test r8d, r8d
je 0x1800bc7ad
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1800bc790
not ecx
mov eax, ecx
ret
Function at 0x1407210ad
Capabilities:
Encode data using xor

Disassembly:
call fcn.140728d7c
push 0x5cb0890a
call fcn.1406f7103
mov r10d, 0x7589f5ab
xor r10b, r10b
movsx ecx, r10b
mov r10, qword [r9 + r10 - 0x7589f500]
or ecx, 0xaf1f2aa8
mov rcx, qword [r9 + riz + 8]
adc r9, 8
push 0x37172f8f
or r10, rcx
jmp 0x1406e1442
mov qword [rsp], r8
mov r8d, 0x533fb991
btc r8d, 0x21
mov r9d, r8d
lea r9, [0x1406f01d0]
mov r8d, 0xc4316c98
ror r8w, 0x2b
sub r8b, r8b
movzx r8d, byte [rsi + riz]
xor r8d, eax
and r8d, 0xff
push 0xffffffffe705bc94
mov r8d, dword [r9 + r8*4]
shr eax, 8
sub byte [rsp + 6], 0xa5
push 0xffffffffadac6396
push 0x423df4b3
xor eax, r8d
and byte [rsp + 0xd], 0x84
inc rsi
xor eax, 0xd8b3c2ba
dec rcx
push 0x380d8595
lea rsp, [rsp + 0x20]
jne 0x1407210c7
pop r8
push 0x342b271f
mov r9d, 0x1b9f2c3f
mov r9, qword [rsp + r9 - 0x1b9f2c37]
lea rsp, [rsp + 0x10]
jmp 0x1406ef210
Function at 0x4011b0
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov rsi, qword [0x0041f178]
xor eax, eax
lock cmpxchg qword [rsi], rdi
sete bl
cmp rdi, rax
sete al
or al, bl
jne 0x401219
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
nop word cs:[rax + rax]
nop dword [rax]
mov ecx, 0x3e8
call r14
xor eax, eax
lock cmpxchg qword [rsi], rdi
sete bl
je 0x401219
cmp rdi, rax
jne 0x401200
mov rdi, qword [0x0041f180]
mov eax, dword [rdi]
cmp eax, 1
jne 0x401233
mov ecx, 0x1f
call fcn.00401ed0
jmp 0x40125a
cmp dword [rdi], 0
je 0x401241
mov byte [0x004260f0], 1
jmp 0x40125a
mov dword [rdi], 1
mov rcx, qword [0x0041f198]
mov rdx, qword [0x0041f1a0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov eax, dword [rdi]
cmp eax, 1
jne 0x40127a
mov rcx, qword [0x0041f188]
mov rdx, qword [0x0041f190]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rdi], 2
test bl, bl
je 0x401283
xor eax, eax
xchg qword [rsi], rax
mov rax, qword [0x0041f140]
mov rax, qword [rax]
test rax, rax
je 0x40129e
xor ecx, ecx
mov edx, 2
xor r8d, r8d
call rax
call fcn.00401700
lea rcx, [0x00401c20]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [0x0041f170]
mov qword [rcx], rax
lea rcx, [0x00401400]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.004016f0
movsxd r14, dword [0x004260dc]
lea rcx, [r14*8 + 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test r14, r14
jle 0x401335
mov r15, qword [0x004260e0]
xor r12d, r12d
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rdi, qword [r15 + r12*8]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rbx, [rax + 1]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsi + r12*8], rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call fcn.0041c770
add r12, 1
cmp r14, r12
jne 0x401300
jmp 0x401338
xor r14d, r14d
mov qword [rsi + r14*8], 0
mov qword [0x004260e0], rsi
call fcn.004014d0
mov r8, qword [0x004260e8]
mov rax, qword [0x0041f148]
mov rax, qword [rax]
mov qword [rax], r8
mov ecx, dword [0x004260dc]
mov rdx, qword [0x004260e0]
call fcn.00401000
mov dword [0x004260f4], eax
cmp dword [0x004260d4], 0
je 0x4013a4
cmp byte [0x004260f0], 0
jne 0x401395
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x004260f4]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x401bb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8, qword [rbp]
mov rcx, rax
mov rdx, rsi
call fcn.0041e520
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3
Function at 0x41e270
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
mov rax, qword [0x0041f138]
cmp word [rax], 0x5a4d
jne 0x41e2dd
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x41e2dd
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x41e2dd
movzx edx, word [rax + 6]
test edx, edx
je 0x41e2dd
sub rcx, qword [0x0041f138]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x41e2c9
add rax, 0x28
add edx, 0xffffffff
je 0x41e2dd
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x41e2c0
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x41e2c0
jmp 0x41e2df
xor eax, eax
pop rbp
ret

Function at 0x41e2f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [0x0041f138]
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x41e31f
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x41e31f
cmp word [rcx + rdx + 0x18], 0x20b
jne 0x41e31f
movzx eax, word [rcx + rdx + 6]
pop rbp
ret

Function at 0x41e390
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
mov rax, qword [0x0041f138]
cmp word [rax], 0x5a4d
jne 0x41e3b8
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x41e3b8
cmp word [rax + rcx + 0x18], 0x20b
je 0x41e3ba
xor eax, eax
pop rbp
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 0x100180000
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 0x401000
Capabilities:
Execute syscall

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
mov rcx, 0xffffffffffffffff
mov r10, rcx
movabs rdx, 0x4d5c97
xor r8, r8
mov qword [rsp + 0x18], 0xd2c97
lea r9, [rsp + 0x18]
mov qword [rsp + 0x28], 0x1000
mov qword [rsp + 0x30], 0x40
mov eax, 0x18
syscall
leave
ret
Function at 0x140006d90
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140006db4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140006e42
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006e10
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140006e10
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14005f5a0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140006e2d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140006e35
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140006dd1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140006f20
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140006e59
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006e5b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006e8d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14005f5a0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140006f1d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140006ec8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x140006efe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14004a924
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x140006f1d
cmp rsi, rax
ja 0x140006ed1
test rsi, rsi
je 0x140006f1d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14004a924
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret

Function at 0x14000bc90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000bcc4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14000bcb0
ret