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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fc0], 0
lea rbx, [rcx + 0x5fc8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400472d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004728a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140049b20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400307d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fd0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140287141]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400472df
mov rcx, rbx
call fcn.1400307d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140047540
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1402871b8]
xor ebp, ebp
cmp byte [rbx + 0x5f18], bpl
jne 0x14004761f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140047618
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.14002fda0
mov rsi, rax
test rax, rax
je 0x140047618
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400475a4
mov rcx, rax
call fcn.140047770
mov r8, qword [0x1402871b8]
test r8, r8
je 0x14004760f
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140047604
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f18], 1
movss xmm0, dword [rbx + 0x5f1c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400476ae
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f1c], xmm0
jb 0x1400476ae
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400476a1
mov rax, qword [0x1402871b8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f1c], ebp
call fcn.1400479c0
lea rdx, [0x14027781c]
mov rcx, rdi
mov rsi, rax
call fcn.14002fcb0
mov rdi, rax
test rax, rax
je 0x1400476a8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400476a8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f1c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400476d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402871b8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140047733
mov qword [rsp], rbx
lea rbx, [0x140084de0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140047713
cmp byte [r8], r9b
jne 0x140047713
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140047700
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14004775f
cmp dword [r8 + 8], eax
je 0x140047766
add r8, 0x48
cmp r8, rcx
jne 0x140047750
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14005f1e0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140285040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1402871b8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14005f3fe
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14005f3fe
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1402871b8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14005f2b4
movsx rdx, word [r8 + 0x6078]
lea rax, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14005f2a9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rax, [rax*8 + 0x607c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6070]
test rdi, rdi
je 0x14005f2d1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14005f2d4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140277f00]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14005f317
mov rsi, qword [r8 + 0x90]
jmp 0x14005f31a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14005f345
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1402871b8]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14005f3be
inc rbx
cmp rbx, 5
jl 0x14005f3a0
jmp 0x14005f3ea
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14005f400
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14007d130
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140079e80
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
call fcn.14007af70
mov qword [0x140287230], rax
test rax, rax
je 0x14007a03c
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140079f37
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140079f37
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb7746fa7
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140079f32
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140079f10
cmp r8d, 0x2a9fe288
je 0x140079f3c
test r9d, r9d
jne 0x140079ef0
mov rax, qword [rax]
jmp 0x140079ec0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x140287240]
mov rcx, qword [0x140287230]
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140079ff7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140079ff7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb2722931
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140079ff2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140079fd0
cmp r8d, 0x9da832d6
je 0x140079ffc
test r9d, r9d
jne 0x140079fb0
mov rax, qword [rax]
jmp 0x140079f80
mov ecx, dword [rbx + 0x24]
lea r8, [0x140287240]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov r9d, 2
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
mov rcx, qword [0x140287230]
add rax, r10
call rax
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov byte [0x140287142], 1
add rsp, 0x28
ret
Function at 0x14007af70
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140285040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov dword [rsp + 0x40], ecx
movabs rdx, 0xcd02f956512d85fb
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0x1f4428cb625bd408
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14007b020
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x14007b052
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x48], di
jmp 0x14007b05c
lea r9, [rsp + 0x30]
call fcn.14007be10
mov qword [rsp + 0x68], rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14007b0f6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14007b0f6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x8212c5fd
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14007b0f1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x14007b0d0
cmp r8d, 0x7441d0d5
je 0x14007b0fb
test r9d, r9d
jne 0x14007b0b0
mov rax, qword [rax]
jmp 0x14007b080
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x40]
lea rcx, [0x14007ac00]
call r8
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14007b16c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b167
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b167
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d3d4
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14007d130
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x14007cb74
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007cbae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007cbb3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007cbfc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140082890]
cmp byte [rcx + rax], 0
je 0x14007cbfc
dec r8
sub rdx, 1
jne 0x14007cbe2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007de48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007de92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007de92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007de92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007de92
cmp dword [rcx + 0x84], 0xe
jbe 0x14007de92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007de94
xor al, al
add rsp, 0x28
ret
Function at 0x14001b720
Capabilities:
Encode data using xor

Disassembly:
add eax, 0xe3de99b
invalid
push r15
push r14
push r13
push r12
push rsi
push rdi
mov al, 0x53
sub rsp, 0x28
mov r12d, r9d
mov r15d, r8d
mov r14d, edx
mov rsi, rcx
test edx, edx
jne 0x14001b74d
cmp dword [rsi + 0x619201d0], 0
je 0x14001bb5c
xor r13d, r13d
mov eax, r15d
sub eax, r14d
add eax, 1
test byte [rbp + 0x48880fde], 2
add byte [rax], al
cmp dword [rsp + rax*2 + 0xf], r8d
loopne 0x14001b7af
test dword [rdi + 0xf], eax
mov cs, word [rdx - 0x68]
add byte [rax], al
lea rdx, [rbx + 0xef008c]
jmp 0x14001b792
xor cl, byte [rbx - 0x76bbefb2]
cmc
call 0x157041a70
mov rdi, rax
test r13b, r13b
je 0x14001b792
cmp dword [rsi + 0x17c], 0
jle 0xfd01b8a0
in eax, dx
add byte [rax], al
mov ebp, 0x84e8b48
mov rcx, qword [rsi + 8]
call 0x140aebb60
mov ebx, eax
cmp ecx, ecx
jl 0x14001b7c3
out dx, eax
add byte [rdx - 0x7b], cl
wait
add byte [rax], al
add byte [rbx - 0x27b7006c], al
or byte [rcx], r14b
shr al, cl
cwde
invalid
leave
lodsb al, byte [rsi]
and al, 0x90
add byte [rax], al
add cl, ch
jp 0x14001bb62
add byte [rax], al
jmp 0x14001b6e3
invalid

Function at 0x140052e40
Capabilities:
Encode data using xor

Disassembly:
push rsi
mov dword [rbx + 0x48], edx
sub esp, 0x40
mov dword [rax + 0x4ccb8948], edx
mov rbx, rcx
lodsb al, byte [rsi]
and al, 0x70
mov qword [rax + rdx*2 + 0x48], r9
mov rax, qword [0x14012c040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xf3000401
mov edx, 0xdd000068
xor r8d, r8d
call fcn.14003f75e
mov rsi, rax
lea rdx, [rbx - 0x42]
jb 0x140052e51
adc cl, byte [r8 - 0x75]
invalid

Function at 0x1400535d0
Capabilities:
Encode data using xor

Disassembly:
int1
push r14
add byte [r14 + 0x57], dl
push rbp
push rbx
and qword [rcx], 0x10
movaps xmmword [rsp + 0x30], xmm6
mov dword [r15 + 0x4ac78945], r9d
mov esi, edx
mov rbx, rcx
add dl, byte [rax]
mov ah, 0x24
test al, 0
add byte [rax], al
mov r12, qword [rbp + rcx*8 + 0xa0]
xor ebp, ebp
mov ecx, 0xec669d
mov edx, 0xc668
xor r8d, r8d
jnp 0x14005367d
sar dh, 0xff
mov rdi, rax
lea rdx, [rbx + 0x28]
mov cl, byte [rbx - 0x11b703b5]
xor r14b, al
and al, 0x28
invalid
add byte [rax], al
test rsi, rsi
je 0x14005368f
ror byte [rcx + 0x33e821dc], 0xd8
dec dword [rax - 0x77]
movsb byte [rdi], byte [rsi]
int1
outsd dx, dword [rsi]
or byte [rax + rcx*4 + 0x7f], al
invalid

Function at 0x14007c480
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
nop
push rbx
sub rsp, 0xffffffffffffff80
xchg r8, rax
invalid
Function at 0x1400018d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd rdi, dword [rcx + 0x3c]
mov ebp, edx
add rdi, rcx
mov r12, rcx
mov r8d, edx
mov rcx, rdi
xor ebx, ebx
mov eax, dword [rdi + 0x8c]
mov r13d, dword [rdi + 0x88]
mov edx, r13d
mov dword [rsp + 0x70], eax
call fcn.140002968
test eax, eax
je 0x140001a21
mov esi, eax
mov r8d, ebp
add rsi, r12
mov rcx, rdi
mov edx, dword [rsi + 0x1c]
call fcn.140002968
mov r15d, eax
test eax, eax
je 0x140001a21
mov edx, dword [rsi + 0x24]
mov r8d, ebp
mov rcx, rdi
call fcn.140002968
mov r14d, eax
test eax, eax
je 0x140001a21
mov edx, dword [rsi + 0x20]
mov r8d, ebp
mov rcx, rdi
call fcn.140002968
test eax, eax
je 0x140001a21
add r15, r12
mov eax, eax
add r14, r12
mov qword [rsp + 0x20], r15
mov r15d, dword [rsi + 0x18]
add rax, r12
mov qword [rsp + 0x88], r14
mov r14d, ebx
mov qword [rsp + 0x28], rax
test r15d, r15d
je 0x140001a21
mov esi, r14d
mov r8d, ebp
mov rcx, rdi
mov edx, dword [rax + rsi*4]
call fcn.140002968
test eax, eax
je 0x140001a02
mov rdx, qword [rsp + 0x20]
mov ecx, eax
mov rax, qword [rsp + 0x88]
add rcx, r12
movzx eax, word [rax + rsi*2]
mov r9d, dword [rdx + rax*4]
cmp r9d, r13d
jb 0x1400019e0
mov eax, dword [rsp + 0x70]
add eax, r13d
cmp r9d, eax
jb 0x140001a02
mov r8, qword [rsp + 0x80]
sub r8, rcx
movzx eax, byte [rcx]
movzx edx, byte [rcx + r8]
sub eax, edx
jne 0x1400019fe
inc rcx
test edx, edx
jne 0x1400019eb
test eax, eax
je 0x140001a11
inc r14d
cmp r14d, r15d
jae 0x140001a21
mov rax, qword [rsp + 0x28]
jmp 0x1400019a0
mov r8d, ebp
mov edx, r9d
mov rcx, rdi
call fcn.140002968
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
xor r8d, r8d
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov esi, dword [rdx + 0x1c]
mov r10d, dword [rdx + 0x20]
add rsi, rcx
mov r9d, dword [rdx + 0x24]
add r10, rcx
add r9, rcx
test ebp, 0xffff0000
jne 0x140001b7b
movzx eax, bp
sub eax, dword [rdx + 0x10]
jmp 0x140001bb9
mov edx, dword [rdx + 0x18]
jmp 0x140001baf
mov eax, dword [r10]
dec edx
add rax, rcx
mov rdi, rbp
sub rdi, rax
movzx r11d, byte [rax]
movzx ebx, byte [rax + rdi]
sub r11d, ebx
jne 0x140001ba2
inc rax
test ebx, ebx
jne 0x140001b8e
test r11d, r11d
je 0x140001bb5
add r10, 4
add r9, 2
test edx, edx
jne 0x140001b80
jmp 0x140001bc0
movzx eax, word [r9]
mov r8d, dword [rsi + rax*4]
add r8, rcx
mov rbx, qword [rsp + 8]
mov rax, r8
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140002080
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov ebp, edx
mov ecx, 0xc0000001
test rdi, rdi
je 0x14000213a
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14000213a
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
je 0x14000213a
cmp dword [rax], 0x4550
jne 0x14000213a
mov rax, qword [rax + 0x90]
test eax, eax
je 0x14000213a
mov ebx, eax
add rbx, rdi
jmp 0x14000211d
mov r14d, dword [rbx]
mov ecx, 0xc0000001
mov esi, dword [rbx + 0x10]
add r14, rdi
add rsi, rdi
mov rax, qword [r14]
test rax, rax
je 0x140002119
sub r14, rsi
lea rcx, [rdi + 2]
add rcx, rax
call fcn.140001f64
cmp eax, ebp
je 0x140002125
add rsi, 8
mov rax, qword [r14 + rsi]
test rax, rax
jne 0x1400020f7
mov ecx, 0xc0000001
add rbx, 0x14
cmp dword [rbx + 0xc], 0
jne 0x1400020db
jmp 0x14000213a
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14000280c
xor ecx, ecx
mov rbx, qword [rsp + 0x40]
mov eax, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400026bc
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
and qword [rax - 0x58], 0
lea r9, [rbp + 0x17]
and qword [rbp + 0x6f], 0
lea r8, [rbp + 0x27]
and qword [rbp + 0x67], 0
xorps xmm0, xmm0
and qword [rbp + 0x2f], 0
mov edx, 0x110000
mov dword [rax - 0x60], 0x100
and qword [rax - 0x68], 0
and dword [rax - 0x70], 0
and dword [rax - 0x78], 0
and qword [rax - 0x80], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov qword [rbp + 0x37], rcx
lea rcx, [rbp + 0x6f]
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
mov dword [rbp + 0x27], 0x30
mov dword [rbp + 0x3f], 0x240
movdqu xmmword [rbp + 0x47], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
mov ebx, eax
test eax, eax
js 0x1400027d5
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x67]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x6f]
mov edx, 0x110000
mov qword [rsp + 0x28], rax
mov r8, qword [r8]
mov dword [rsp + 0x20], 0x454c4946
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
mov ebx, eax
test eax, eax
js 0x1400027c9
mov rax, qword [rbp + 0x67]
xor edx, edx
mov rcx, qword [rax + 0x28]
and qword [rcx + 0x10], 0
mov rcx, qword [rbp + 0x67]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
test al, al
je 0x1400027bf
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov ebx, eax
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x6f]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rbp
ret
Function at 0x140002968
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movzx r10d, word [rcx + 0x14]
xor r9d, r9d
movzx ebx, word [rcx + 6]
add r10, 0x18
add r10, rcx
mov edi, r8d
movzx r11d, r9w
cmp r9w, bx
jae 0x1400029c7
mov r8d, dword [r10 + 0xc]
cmp r8d, edx
ja 0x1400029a6
mov ecx, dword [r10 + 8]
add ecx, r8d
cmp ecx, edx
ja 0x1400029b6
add r10, 0x28
inc r11w
cmp r11w, bx
jb 0x140002992
jmp 0x1400029c7
mov eax, dword [r10 + 0x14]
sub eax, r8d
add edx, eax
cmp edx, edi
sbb r9d, r9d
and r9d, edx
mov rbx, qword [rsp + 8]
mov eax, r9d
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400029d8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r13d, r13d
mov ebp, r9d
mov r15, r8
mov r12, rdx
mov rdi, rcx
mov r10d, r13d
test rcx, rcx
je 0x140002aac
test rdx, rdx
je 0x140002aac
test r8, r8
je 0x140002aac
test r9d, r9d
je 0x140002aac
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002aac
movsxd rbx, dword [rcx + 0x3c]
add rbx, rcx
cmp dword [rbx], 0x4550
jne 0x140002aac
movzx r14d, word [rbx + 0x14]
mov esi, r13d
add r14, rbx
cmp r13w, word [rbx + 6]
jae 0x140002aa7
mov eax, esi
lea rdx, [rax + rax*4]
test dword [r14 + rdx*8 + 0x3c], 0x20000000
je 0x140002a9d
cmp dword [r14 + rdx*8 + 0x18], 0x7865742e
jne 0x140002a9d
cmp byte [r14 + rdx*8 + 0x1c], 0x74
jne 0x140002a9d
mov ecx, dword [r14 + rdx*8 + 0x24]
mov r9, r15
mov edx, dword [r14 + rdx*8 + 0x20]
add rcx, rdi
mov r8, r12
mov dword [rsp + 0x20], ebp
call fcn.140002d5c
mov r10, rax
test rax, rax
jne 0x140002aa7
movzx ecx, word [rbx + 6]
inc esi
cmp esi, ecx
jb 0x140002a55
mov rax, r10
jmp 0x140002aae
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret