joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800cbf60
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xa8
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18014b8b0]
test rax, rax
jne 0x1800cc18c
movups xmm0, xmmword [0x18012ad50]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x18012ad60]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x18012ad70]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x18012ad80]
movups xmmword [r11 - 0x28], xmm1
xor ecx, ecx
cmp dword [0x180149018], 2
jl 0x1800cc0ef
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f080]
movdqa xmm6, xmmword [0x18012efd0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [r11 - 0x54]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f070]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f070]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x1800cbff0
jmp 0x1800cc12b
lea r8, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x40
jl 0x1800cc100
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800cc150
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180016150
nop
lea rcx, [rsp + 0x30]
call fcn.1800c2b90
mov qword [0x18014b8b0], rax
lea rcx, [rsp + 0x30]
call fcn.18002d3d0
mov rax, qword [0x18014b8b0]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
ret
Function at 0x1800e6d10
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x120
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x180149040]
xor rax, rsp
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [0x18012e6a0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x18012e6b0]
movups xmmword [rsp + 0x80], xmm1
movups xmm0, xmmword [0x18012e6c0]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [str._a_XSbq]
movups xmmword [rsp + 0xa0], xmm1
movzx eax, word [0x18012e6e0]
mov word [r11 - 0x78], ax
movzx eax, byte [0x18012e6e2]
mov byte [r11 - 0x76], al
xor ecx, ecx
cmp dword [0x180149018], 2
jl 0x1800e6ec3
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f140]
movdqa xmm6, xmmword [0x18012efb0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x40]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f070]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f070]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x1800e6dc1
cmp ecx, 0x43
jge 0x1800e6efc
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x43
jl 0x1800e6ed0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800e6f20
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xf0], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0xe0]
call fcn.180016150
nop
cmp byte [0x18014ade8], 0
jne 0x1800e6f8e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.18002d2b0
mov rcx, rax
call fcn.180038990
jmp 0x1800e6f98
lea rcx, [rsp + 0x50]
call fcn.180036c30
mov rbx, rax
lea rcx, [rsp + 0xe0]
call fcn.18002d3d0
nop
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
mov rax, rbx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1800ed360
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
ret
Function at 0x1800e7d20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800e7d84
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800e7d72
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800e7d6b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800e7d3f
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18014af40]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800e7d94
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18014c9d0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800e7dca
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800e7e00
mov eax, 0xa
jmp 0x1800e7e8f
test esi, esi
je 0x1800e7e22
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800e7e43
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800e7e43
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800e7e3d
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800e7e43
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1800e8320
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800e8337
cmp r8b, 0x90
je 0x1800e8337
cmp r8b, 0xcc
jne 0x1800e8359
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800e8355
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800e8359
add edx, r10d
cmp edx, r9d
jb 0x1800e8345
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800e86c0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800e870a
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18014c9c8]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800e8743
cmp rbx, r14
jb 0x1800e8740
cmp rbx, r12
jae 0x1800e8740
cmp qword [rbx + 8], rsi
jne 0x1800e88a5
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800e872c
mov r15, rdi
cmp rdi, r14
jb 0x1800e885f
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800e878f
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e87c9
cmp dword [rbp - 0x10], 0x10000
je 0x1800e8799
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x1800e87c9
sub r15, r13
cmp r15, r14
jae 0x1800e8765
jmp 0x1800e87c9
test r15, r15
je 0x1800e87c9
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800e886a
cmp r15, r14
jae 0x1800e8754
test rbx, rbx
jmp 0x1800e885d
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x1800e88a5
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e88a5
cmp dword [rbp - 0x10], 0x10000
je 0x1800e8838
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800e87f5
jmp 0x1800e88a5
test rdi, rdi
je 0x1800e88a5
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800e886a
cmp rdi, r12
jbe 0x1800e87d1
jmp 0x1800e88a5
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800e8876
mov rax, qword [0x18014c9c8]
mov qword [rbx], rax
mov qword [0x18014c9c8], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800e9150
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800e9370
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800e9257
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800e91b4
mov rax, qword [0x180149008]
cmp qword [rsp + 0x20], rax
ja 0x1800e91b4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800e9176
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800e91e3
jmp 0x1800e9257
cmp dword [rsp + 0x50], 0x10000
jne 0x1800e923a
cmp qword [rsp + 0x48], 0x10000
jb 0x1800e923a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800e9228
mov rax, qword [rsp + 0x28]
jmp 0x1800e9259
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800e9252
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800e9370
mov qword [rsp + 0x20], rax
jmp 0x1800e9176
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800e9260
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800e93b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800e9363
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800e92bb
mov rax, qword [0x180149008]
cmp qword [rsp + 0x20], rax
ja 0x1800e92bb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800e927d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800e92ea
jmp 0x1800e9363
cmp dword [rsp + 0x50], 0x10000
jne 0x1800e9341
cmp qword [rsp + 0x48], 0x10000
jb 0x1800e9341
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800e932f
mov rax, qword [rsp + 0x28]
jmp 0x1800e9365
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800e935e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800e93b0
mov qword [rsp + 0x20], rax
jmp 0x1800e927d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800e9400
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800e9990
mov qword [rsp + 0x28], 0
cmp qword [0x18014a6e8], 0
jne 0x1800e9448
cmp qword [0x18014a6e0], 0
je 0x1800e9448
mov rax, qword [0x18014a6e0]
mov qword [0x18014a6e8], rax
cmp qword [0x18014a6e8], 0
je 0x1800e94ee
mov rax, qword [0x18014a6e8]
cmp qword [rax + 0x10], 0
je 0x1800e94ee
mov rax, qword [0x18014a6e8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800e94ee
mov rax, qword [0x18014a6e8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800e94ee
mov rax, qword [0x18014a6e8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800e94b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800e94bb
xor eax, eax
jmp 0x1800e9669
mov rax, qword [0x18014a6e8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800e9669
mov rax, qword [0x18014a6e0]
mov qword [0x18014a6e8], rax
jmp 0x1800e9510
mov rax, qword [0x18014a6e8]
mov rax, qword [rax + 8]
mov qword [0x18014a6e8], rax
cmp qword [0x18014a6e8], 0
je 0x1800e955d
cmp qword [0x18014a6e8], 0
je 0x1800e955b
mov rax, qword [0x18014a6e8]
cmp qword [rax + 0x10], 0
je 0x1800e955b
mov rax, qword [0x18014a6e8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800e955b
mov rax, qword [0x18014a6e8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800e955b
jmp 0x1800e948c
jmp 0x1800e94fe
mov rcx, qword [rsp + 0x60]
call fcn.1800eb5c0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800e9670
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800e9667
mov rax, qword [rsp + 0x48]
mov qword [0x18014a6e8], rax
mov rax, qword [0x18014a6e8]
mov dword [rax], 0x52727464
mov rax, qword [0x18014a6e8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18014a6e8]
mov rcx, qword [0x18014a6e0]
mov qword [rax + 8], rcx
mov rax, qword [0x18014a6e8]
mov qword [0x18014a6e0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18014a6e8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800e9618
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800e9652
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800e960e
mov rax, qword [0x18014a6e8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800e948c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800ed050
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 0x1800ed08a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800ed08f
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 0x1800ed0d8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800f7ef0]
cmp byte [rcx + rax], 0
je 0x1800ed0d8
dec r8
sub rdx, 1
jne 0x1800ed0be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x100411cf0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
lea rcx, [0x100412270]
call fcn.100411cb0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cd0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x100411ce0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x100411cf0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x100411d00
cdq
cmc
xor eax, 0x48093535
xor eax, 0x353d5135
xor eax, 0xec6531
mov al, cl
or esi, dword [rsi]
rcr byte [rbx + rbp*4 + 0x3adc9165], 1
in al, dx
add byte [rax - 0x2fc9f438], cl
pushfq
stosd dword [rdi], eax
xchg ecx, eax
fdivr qword [rdx]
jl 0x100411cee
fnstcw word [rax + 0x6dee389e]
stosb byte [rdi], al
xlatb
imul esi, dword [rsi], 0x40
cmp dword [0x135765255], esi
xor eax, 0x35353535
xor eax, 0x5140c75d
movsb byte [rdi], byte [rsi]
xor eax, 0x35353535
xor eax, 0x35353535
xor eax, 0x35353535
xor eax, 0x7d353535
xor eax, 0x35363541
jo 0x100411d7b
jo 0x100411d7d
invalid
xchg dword [rdi + 0x21], edx
invalid
and dword [rbx + 2], esp
xor eax, 0x35353535
pop rbp
xor eax, 0x35353540
xor rax, 0x7e35354e
movabs dword [0x96a8a89a8255a49b], eax
pushfq
invalid
Function at 0x14002953c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001cc04
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cc04
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002968c
cmp rax, 0xffffffffffffffff
je 0x14002968c
xor edi, edi
test rbp, rbp
jle 0x140029637
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f530
mov rbx, rax
test rax, rax
jne 0x1400295c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002962d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a538
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d8e0
cmp eax, 0xffffffff
je 0x14002960d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400295d4
mov edx, r15d
mov ecx, r14d
call fcn.14001a538
jmp 0x14002962d
cmp byte [rsi + 0x38], dil
je 0x140029624
cmp dword [rsi + 0x34], 5
jne 0x140029624
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002962d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b2cc
jmp 0x1400296a0
jns 0x1400296a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cc04
cmp rax, 0xffffffffffffffff
jne 0x140029658
cmp byte [rsi + 0x30], dil
je 0x1400296a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400296a0
mov ecx, r14d
call fcn.1400189f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400296a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400296a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029699
mov eax, dword [rsi + 0x2c]
jmp 0x14002969e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cc04
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001d48
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x20], r9
xchg rdx, r8
mov qword [rsp + 0x18], rdx
xchg r8, rdx
jmp 0x140133a85
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rax, [0x140133cb0]
mov qword [rsp + 0x18], rax
mov dword [rsp + 8], 0
mov rax, qword [rsp + 0x30]
jmp 0x140133ab0
xchg rdi, rax
mov qword [rsp + 0x10], rdi
xchg rdi, rax
jmp 0x140133aeb
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000ca60]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000ca70]
mov dword [rax], 1
mov rax, qword [0x14000ca80]
mov dword [rax], 1
mov rax, qword [0x14000ca00]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000ca50]
mov dword [0x140010020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14000cb60]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14000cb40]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14000c9b0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a