joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005c1c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140109340]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401bc858]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x14005c225
cmp byte [rbx + 0x4a9e], 0
jne 0x14005c225
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140049660
test dil, 1
je 0x14005c354
nop dword [rax]
jmp 0x14005c2af
vmovss xmm1, dword [rbx + 0x389c]
vmovss xmm0, dword [0x1400eec74]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x1400eeca0]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x47d4], 1
vmovss dword [rbx + 0x47e0], xmm2
vmovss dword [rbx + 0x47e4], xmm0
mov qword [rbx + 0x47e8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3904]
vmulss xmm1, xmm0, dword [0x1400eeacc]
or dword [rbx + 0x47d0], 0x41
mov edx, 0x10
vmovss dword [rbx + 0x4830], xmm1
call fcn.140049660
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14005c305
lea r11, [0x1400e59e0]
nop
cmp r9b, 0x23
jne 0x14005c2e3
cmp byte [r8], r9b
jne 0x14005c2e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14005c2d0
not ecx
call fcn.140052bc0
test rax, rax
je 0x14005c354
cmp byte [rax + 0xb6], 0
je 0x14005c354
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.140049660
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140055460
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d7440
mov rbx, qword ss:[rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140061e00
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140061ead
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140061e5a
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.140064360
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14004a300
mov eax, dword ds:[rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401bc7e7]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140061eb5
mov rcx, rbx
call fcn.14004a300
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140062380
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401bc858]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400623e3
mov qword [rsp], rbx
lea rbx, [0x1400e59e0]
cmp r9b, 0x23
jne 0x1400623c3
cmp byte [r8], r9b
jne 0x1400623c3
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 0x1400623b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140062417
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14006241e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140062404
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14009af00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, eax
and r11d, 7
je 0x14009af2f
cmp eax, r11d
jge 0x14009af1f
call fcn.14009a6a0
shrx eax, dword [rcx + 0x14], r11d
sub dword [rcx + 0x10], r11d
mov dword [rcx + 0x14], eax
mov eax, dword [rcx + 0x10]
xor r8d, r8d
mov r9d, eax
test eax, eax
jle 0x14009af72
mov ecx, dword [rcx + 0x14]
lea rdx, [rsp + 0x30]
movzx r10d, cl
nop word [rax + rax]
shr ecx, 8
lea eax, [r9 - 8]
mov byte [rdx], r10b
lea rdx, [rdx + 1]
inc r8d
mov dword [rbx + 0x14], ecx
mov r9d, eax
movzx r10d, cl
test eax, eax
jg 0x14009af50
mov dword [rbx + 0x10], eax
jns 0x14009af98
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14009afd2
mov r8, qword [rbx + 8]
nop word [rax + rax]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14009afbc
xor dl, dl
jmp 0x14009afc5
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14009afb0
movzx eax, byte ds:[rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14009af74
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14009b045
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14009b05f
mov rcx, rbx
call fcn.14009a7f0
test eax, eax
je 0x14009b038
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400a4900
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, rdx
mov dword [rsp + 0x28], 1
lea rdx, str.open
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x1400ce940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ebx, dword [rcx + 0x14]
mov rsi, rcx
call fcn.1400ce670
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1400ce670
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1400ceacb
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
cmp ebx, 2
mov qword [rsp + 0x20], r15
lea r14, [rsp + 0x40]
setne al
lea r15, [rsp + 0x40]
add r14, rax
xor rax, 1
add r15, rax
movzx edi, byte [r14]
movzx eax, byte [r15]
shl edi, 8
or edi, eax
lea eax, [rdi - 0xdc00]
cmp eax, 0x3ff
ja 0x1400ce9d5
lea rcx, [rsi + 0x18]
mov edx, 0xfffd
call fcn.1400ce710
jmp 0x1400ceabc
lea eax, [rdi - 0xd800]
mov qword [rsp + 0x48], rbp
cmp eax, 0x3ff
ja 0x1400ceaa9
mov rcx, rsi
call fcn.1400ce670
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1400ce670
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
lea rbp, [rsi + 0x18]
test al, al
je 0x1400cea89
nop
movzx eax, byte [r15]
movzx ebx, byte [r14]
shl ebx, 8
or ebx, eax
lea eax, [rbx - 0xdc00]
cmp eax, 0x3ff
jbe 0x1400cea90
lea rbp, [rsi + 0x18]
mov edx, 0xfffd
mov rcx, rbp
call fcn.1400ce710
lea eax, [rbx - 0xd800]
cmp eax, 0x7ff
ja 0x1400ceaad
mov rcx, rsi
mov edi, ebx
call fcn.1400ce670
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1400ce670
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x1400cea20
mov edx, 0xfffd
jmp 0x1400ceaaf
and edi, 0x3ff
and ebx, 0x3ff
shl edi, 0xa
or edi, ebx
add edi, 0x10000
jmp 0x1400ceaad
lea rbp, [rsi + 0x18]
mov edx, edi
mov rcx, rbp
call fcn.1400ce710
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x1400d6b9c
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 0x1400d6bd6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400d6bdb
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 0x1400d6c24
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400e4ac0]
cmp byte [rcx + rax], 0
je 0x1400d6c24
dec r8
sub rdx, 1
jne 0x1400d6c0a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400d82dc
Capabilities:
Parse pe header

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

Function at 0x5a7180
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor rax, rax
xor rcx, rcx
sub edx, 1
cmp ecx, edx
jg 0x5a71c2
add edx, 1
mov r9d, eax
and r9w, 0xf800
movzx r9d, r9w
shr r9d, 0xb
shl eax, 5
or r9w, ax
mov eax, r9d
movzx r9w, byte [r8]
xor ax, r9w
add r8, 1
add ecx, 1
cmp ecx, edx
jne 0x5a7193
nop
ret
Function at 0x180001000
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x140
mov rax, qword [0x180184040]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea eax, [rdx - 0x10]
Function at 0x180003870
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
lea rbx, [0x180184bc0]
mov byte [0x180184ac7], 0
mov r9, rbx
lea rdi, [0x180000000]
xor r8d, r8d
mov dl, 1
mov r11d, pe_nt_image_headers64
nop
movzx eax, dl
movzx ecx, dl
sar cl, 7
mov byte [r9], dl
lea r9, [r9 + 1]
and cl, 0x1b
mov byte [rax + rdi + 0x184ac0], r8b
movzx eax, dl
add al, al
inc r8d
xor cl, al
xor dl, cl
cmp r8d, r11d
jb 0x1800038b0
mov byte [0x180184ac1], 0
lea r8, [0x180184ec0]
mov dl, 1
mov r9d, 0xa
nop dword [rax]
nop word [rax + rax]
movzx eax, dl
movzx ecx, dl
mov dword [r8], eax
lea r8, [r8 + 4]
movzx eax, dl
sar cl, 7
and cl, 0x1b
add al, al
movzx edx, cl
xor dl, al
sub r9, 1
jne 0x180003900
xor r8d, r8d
lea r10, [0x180184cbf]
nop dword [rax]
Function at 0x180004110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x70]
mov rbp, rcx
mov ecx, dword [rcx + 0x38]
mov rbx, r9
movsxd rdi, r8d
mov rsi, rdx
lea r14d, [rcx + rdi]
mov dword [r15], r14d
cmp r14d, 0x10
ja 0x180004165
add rcx, 0x28
mov r8, rdi
add rcx, rbp
call fcn.18010c9a0
add dword [rbp + 0x38], edi
mov dword [r15], 0
jmp 0x1800042e6
cmp rsi, rbx
jne 0x180004174
mov eax, 0x1001
jmp 0x1800042e8
mov eax, 0x10
mov qword [rsp + 0x50], r13
sub eax, ecx
add rcx, 0x28
add rcx, rbp
movsxd r8, eax
mov edi, eax
call fcn.18010c9a0
mov eax, dword [rbp + 0x28]
lea rcx, [rbp + 0x3c]
mov dword [rbx], eax
add rsi, rdi
mov eax, dword [rbp + 0x2c]
lea edi, [r14 - 0x10]
mov dword [rbx + 4], eax
mov rdx, rbx
mov eax, dword [rbp + 0x30]
mov dword [rbx + 8], eax
mov eax, dword [rbp + 0x34]
mov dword [rbx + 0xc], eax
call fcn.1800013a0
mov eax, dword [rbp + 0x18]
xor dword [rbx], eax
mov eax, dword [rbp + 0x1c]
xor dword [rbx + 4], eax
mov eax, dword [rbp + 0x20]
xor dword [rbx + 8], eax
mov eax, dword [rbp + 0x24]
xor dword [rbx + 0xc], eax
cmp edi, 0x10
ja 0x180004200
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x34]
jmp 0x1800042bf
mov eax, dword [rsi]
lea rdx, [rbx + 0x10]
mov dword [rbx + 0x10], eax
lea rcx, [rbp + 0x3c]
mov eax, dword [rsi + 4]
mov dword [rbx + 0x14], eax
mov eax, dword [rsi + 8]
mov dword [rbx + 0x18], eax
mov eax, dword [rsi + 0xc]
mov dword [rbx + 0x1c], eax
call fcn.1800013a0
mov eax, dword [rbp + 0x28]
add rsi, 0x10
xor dword [rbx + 0x10], eax
add edi, 0xfffffff0
mov eax, dword [rbp + 0x2c]
xor dword [rbx + 0x14], eax
mov eax, dword [rbp + 0x30]
xor dword [rbx + 0x18], eax
mov eax, dword [rbp + 0x34]
xor dword [rbx + 0x1c], eax
add rbx, 0x20
cmp edi, 0x10
jbe 0x1800042aa
lea r14d, [rdi - 0x11]
shr r14d, 4
inc r14d
nop word [rax + rax]
mov eax, dword [rsi]
lea rcx, [rbp + 0x3c]
mov dword [rbx], eax
mov rdx, rbx
mov eax, dword [rsi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rsi + 8]
mov dword [rbx + 8], eax
mov eax, dword [rsi + 0xc]
mov dword [rbx + 0xc], eax
call fcn.1800013a0
mov eax, dword [rsi - 0x10]
add edi, 0xfffffff0
xor dword [rbx], eax
mov eax, dword [rsi - 0xc]
xor dword [rbx + 4], eax
mov eax, dword [rsi - 8]
xor dword [rbx + 8], eax
mov eax, dword [rsi - 4]
add rsi, 0x10
xor dword [rbx + 0xc], eax
add rbx, 0x10
sub r14, 1
jne 0x180004260
mov eax, dword [rsi - 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rsi - 0xc]
mov dword [rbp + 0x1c], eax
mov eax, dword [rsi - 8]
mov dword [rbp + 0x20], eax
mov eax, dword [rsi - 4]
movsxd r8, edi
lea rcx, [rbp + 0x28]
mov rdx, rsi
mov dword [rbp + 0x24], eax
call fcn.18010c9a0
mov eax, dword [rbp + 0x38]
mov r13, qword [rsp + 0x50]
and eax, 0xf0000000
add eax, edi
mov dword [rbp + 0x38], eax
sub dword [r15], edi
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180050f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
invalid
movzx eax, byte [rdi]
inc rdi
cmp al, 0x28
jne fcn.180050f20
cmp byte [rdi], 0x29
je 0x180050fb1
mov rdx, rdi
mov rcx, rbx
call 0x17fed1c10
test eax, eax
je 0x180050fb1
mov qword [rsp + 0x30], rsi
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x180050f1c
push rbx

Function at 0x1800afbb0
Capabilities:
Encode data using xor

Disassembly:
mov r9d, edx
mov r10, rcx
mov r8d, 0xffff
test edx, edx
je 0x1800afc0f
lea r11, [0x180326080]
nop word [rax + rax]
movzx edx, byte [r10]
movzx eax, r8w
shr r8w, 4
xor rax, rdx
shr rdx, 4
lea r10, [r10 + 1]
and eax, 0xf
movzx ecx, word [r11 + rax*2]
xor cx, r8w
movzx eax, cx
shr cx, 4
xor rdx, rax
and edx, 0xf
movzx r8d, word [r11 + rdx*2]
xor r8w, cx
dec r9d
jne 0x1800afbd0
movzx eax, r8w
not eax
ret

Function at 0x18010a7a0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x78
mov r13, r8
mov r15, rdx
mov r8, rcx
test rcx, rcx
je 0x18010b756
mov r12, qword [rcx + 0x28]
test r12, r12
je 0x18010b756
xor edx, edx
mov qword [rax - 0x28], rbx
mov qword [rax - 0x30], rsi
mov qword [rcx + 0x20], rdx
mov qword [r12], 0xb
mov dword [r12 + 0x30], edx
mov r10, qword [rcx]
mov qword [rax - 0x38], rdi
mov qword [rax - 0x40], r14
mov qword [rbp - 0x40], r10
test r10, r10
je 0x18010a814
mov edi, dword [rcx + 8]
jmp 0x18010a816
mov edi, edx
mov eax, dword [r12]
mov rbx, qword [r12 + 0x38]
mov r9d, dword [r12 + 0x2c]
sub eax, 0xb
mov r14d, edx
mov esi, edx
mov qword [rbp - 0x38], rbx
mov dword [rbp - 0x48], r9d
cmp eax, 0x12
ja 0x18010b723
cdqe
lea rcx, [fcn.1800375c0]
mov r11d, 1
mov ecx, dword [rcx + rax*4 + 0xd41a8]
lea rax, [fcn.1800375c0]
add rcx, rax
jmp rcx
mov edx, eax
push rbp
mov byte [rbx + rcx*4 + 0x44], al
and al, 0x70

Function at 0x18010b440
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x2a8
mov rax, qword [0x180184040]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov eax, dword [0x180117308]
lea rcx, [rsp + 0x2d]
lea ecx, [rsp + 0x2d]

Function at 0x18010b5d0
Capabilities:
Get file size
Read file on windows

Disassembly:
in al, dx
xor byte [rax + rax], al
add byte [rax - 0x75], cl
add eax, 0x78a64
xor rax, rsp
mov qword [rbp + 0x320], rax
xor esi, esi
mov dword [rsp + 0x58], 0x80000000
xor edx, edx
mov qword [rsp + 0x50], rsi
mov r8d, 0x208
mov dword [rsp + 0x70], esi
lea rcx, [rbp + 0x110]
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x60], rsi

Function at 0x18010b610
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x5c], 1
mov dword [rsp + 0x64], 3
mov qword [rsp + 0x68], 0xffffffffffffffff
mov dword [rsp + 0x74], 0x1000
mov dword [rsp + 0x78], 0x40
mov qword [rbp - 0x6c], 0x40
add byte [rax], al
add al, ch
or dword [rdx], ebx
add byte [rax], al
Function at 0x18010b680
Capabilities:
Get file size
Read file on windows

Disassembly:
add byte [rax], al
add al, ch
or dword [rdx], ebx
add byte [rax], al
mov r8d, 0x104
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x110]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rbp + 0x110]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x18010b674
mov eax, dword [0x180117320]
mov dword [rcx], eax
lea rcx, [rbp + 0x110]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x18010b691
mov eax, dword [0x180117330]
movsd xmm0, qword [str.cache]
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
lea rcx, [rbp + 0x110]
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov r9d, eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x18010b8cf
xor edx, edx
mov rcx, rax
mov ecx, eax
Function at 0x18010b770
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [rsp + 0x7c]
mov rdx, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x70]
add rdx, rcx
sub r8d, ecx
mov qword [rbp - 0x78], rdx
mov dword [rsp + 0x70], r8d
je 0x18010b787
mov rcx, qword [rsp + 0x50]
and al, 0x50
lea r9, [rsp + 0x7c]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0xc0850000
jne 0x18010b750
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x7c], 0xffffffff
je 0x18010b8cf
mov qword [rsp + 0x440], rbx
mov qword [rsp + 0x448], rdi
movsxd rdi, dword [rbp - 0x70]
mov rcx, rdi
call fcn.18010b9a0
mov rbx, rax
test rax, rax
je 0x18010b7d4
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.18010d050
mov qword [rbp - 0x60], rbx
jmp 0x18010b7d8
mov qword [rbp - 0x60], rsi
mov edi, dword [rbp - 0x70]
xorps xmm0, xmm0
mov rsi, qword [rbp - 0x80]
mov ecx, 1
movups xmmword [rbp + 0x100], xmm0
lea edx, [rdi + 2]
call fcn.18010def8
mov rbx, rax
test rax, rax
je 0x18010b897
mov edx, 2
mov dword [rsp + 0x40], edi
lea r9, [rbp - 0x50]
lea r8, [rbp + 0x100]
lea ecx, [rdx - 1]
call fcn.1800040f0
lea r8, [rbp - 0x50]
mov edx, 0x20
lea rcx, section..data
call section..text
push rdi
out dx, eax
invalid
test eax, eax
jne 0x18010b88f
lea rcx, [rbp - 0x50]
call fcn.180003e50
test eax, eax
jne 0x18010b88f
lea rax, [rsp + 0x40]
mov r9, rbx
mov r8d, edi
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.180003e70
test eax, eax
jne 0x18010b88f
movsxd rdi, dword [rsp + 0x40]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x50]
mov r8b, 0x48
lea edx, [rbx + rdi]
call fcn.180003bf0
test eax, eax
jne 0x18010b88f
mov ecx, dword [rsp + 0x40]
add ecx, edi
mov qword [rbp - 0x60], rbx
mov dword [rsp + 0x70], ecx
jmp 0x18010b897
mov rcx, rbx
call fcn.18010df00
mov edx, dword [rsp + 0x70]
lea r9, [rbp - 0x68]
mov r8d, dword [rbp - 0x6c]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x448]
mov rbx, qword [rsp + 0x440]
test eax, eax
je 0x18010b8cf
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x18010b8cf
mov rcx, rax
call rax
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.18010b980
mov rsi, qword [rsp + 0x450]
add rsp, 0x430
pop rbp
ret
Function at 0x180110300
Capabilities:
Enumerate files on windows

Disassembly:
sal byte [rbx], 0xd2
mov rcx, rsi
call fcn.1801100b4
jmp 0x180110520
jge 0x1801102ba
sbb r13, r13
mov qword [rbp - 0x40], rdi
and r13, rdx
mov byte [rbp - 0x38], dil
xor edx, edx
call fcn.18010ee74
mov rax, qword [rsp + 0x38]
mov r15d, 0xfde9
cmp dword [rax + 0xc], r15d
jne 0x180110340
cmp byte [rsp + 0x48], dil
je 0x18011033b
mov rax, qword [rsp + 0x30]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, r15d
jmp 0x18011037a
call fcn.18011176c
test eax, eax
jne 0x180110364
cmp byte [rsp + 0x48], dil
je 0x18011035c
mov rax, qword [rsp + 0x30]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, 1
jmp 0x18011037a
cmp byte [rsp + 0x48], dil
je 0x180110377
mov rax, qword [rsp + 0x30]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.18010fba4
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x30]
test eax, eax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
cmovne rcx, rdi
xor r9d, r9d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1801103c8
mov r9, r12
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1801100b4
mov edi, eax
jmp 0x18011050f
mov r14, qword [r12 + 8]
sub r14, qword [r12]
sar r14, 3

Function at 0x180116980
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1801169a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1801169a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret