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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18024d000]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
lea rax, vtable.Int64Tag.0
mov qword [rcx], rax
mov rax, qword [0x180252668]
test rax, rax
jne 0x1800e347f
lea rdx, str.48_8D_05_________48_89_47_40_48_89_77_48_C6_47_68_04_48_8B_CD_E8________
lea rcx, [0x1800f77b8]
call fcn.1800e6c00
mov rcx, rax
movsxd rax, dword [rax + 3]
add rax, 7
add rax, rcx
mov qword [0x180252668], rax
jne 0x1800e347f
mov byte [rbp - 0x38], 0xf5
mov byte [rbp - 0x37], 0xd3
mov byte [rbp - 0x36], 0xca
mov byte [rbp - 0x35], 0x89
mov byte [rbp - 0x34], 0xf4
mov byte [rbp - 0x33], 0x95
mov byte [rbp - 0x32], 0xa3
mov byte [rbp - 0x31], 0xa4
mov byte [rbp - 0x30], 0x92
mov byte [rbp - 0x2f], 0xb1
mov byte [rbp - 0x2e], 0xa7
mov byte [rbp - 0x2d], 0xa5
mov byte [rbp - 0x2c], 0xa4
mov byte [rbp - 0x2b], 0xac
mov byte [rbp - 0x2a], 0xea
mov byte [rbp - 0x29], 0xb8
mov byte [rbp - 0x28], 0xa5
mov byte [rbp - 0x27], 0xaa
mov byte [rbp - 0x26], 0xa0
mov byte [rbp - 0x25], 0xae
mov byte [rbp - 0x24], 0xa4
mov byte [rbp - 0x23], 0xa4
mov byte [rbp - 0x22], 0xa0
mov byte [rbp - 0x21], 0xb6
mov byte [rbp - 0x20], 0xf4
mov byte [rbp - 0x1f], 0xbb
mov byte [rbp - 0x1e], 0xb9
mov byte [rbp - 0x1d], 0xa3
mov byte [rbp - 0x1c], 0xf8
mov byte [rbp - 0x1b], 0xae
mov byte [rbp - 0x1a], 0xb5
mov byte [rbp - 0x19], 0xa9
mov byte [rbp - 0x18], 0xb7
mov byte [rbp - 0x17], 0xb4
mov byte [rbp - 0x16], 0xb0
mov byte [rbp - 0x15], 0xb8
mov byte [rbp - 0x14], 0xc1
mov byte [rbp - 0x13], 0xc0
mov byte [rbp - 0x12], 0xc3
xor eax, eax
mov byte [rbp - 0x11], al
movzx eax, byte [rbp - 0x38]
xor edx, edx
lea r8, [rbp - 0x38]
nop dword [rax]
lea ecx, [rdx - 0x44]
movzx eax, byte [r8]
xor cl, al
movsxd rax, edx
mov byte [rbp + rax - 0x38], cl
inc edx
lea r8, [r8 + 1]
cmp edx, 0x27
jb 0x1800e3450
mov byte [rbp - 0x11], 0
lea rcx, [rbp - 0x38]
call fcn.1800e5ab0
mov rax, qword [0x180252668]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800eb8d0
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
Function at 0x1800e34b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18024d000]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, edx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
lea rax, vtable.IntTag.0
mov qword [rcx], rax
mov rax, qword [0x180252670]
test rax, rax
jne 0x1800e35ff
lea rdx, str.48_8D_15_________48_89_10_89_48_08_48_89_03_48_8B_C3_48_8B_5C_24__
lea rcx, [0x1800f77b8]
call fcn.1800e6c00
mov rcx, rax
movsxd rax, dword [rax + 3]
add rax, 7
add rax, rcx
mov qword [0x180252670], rax
jne 0x1800e35ff
mov byte [rbp - 0x38], 0xf5
mov byte [rbp - 0x37], 0xd3
mov byte [rbp - 0x36], 0xca
mov byte [rbp - 0x35], 0xeb
mov byte [rbp - 0x34], 0xa1
mov byte [rbp - 0x33], 0xa6
mov byte [rbp - 0x32], 0x94
mov byte [rbp - 0x31], 0xb7
mov byte [rbp - 0x30], 0xa5
mov byte [rbp - 0x2f], 0xa7
mov byte [rbp - 0x2e], 0xaa
mov byte [rbp - 0x2d], 0xa2
mov byte [rbp - 0x2c], 0xe8
mov byte [rbp - 0x2b], 0xba
mov byte [rbp - 0x2a], 0xa3
mov byte [rbp - 0x29], 0xac
mov byte [rbp - 0x28], 0xa2
mov byte [rbp - 0x27], 0xac
mov byte [rbp - 0x26], 0xba
mov byte [rbp - 0x25], 0xba
mov byte [rbp - 0x24], 0xa2
mov byte [rbp - 0x23], 0xb4
mov byte [rbp - 0x22], 0xf2
mov byte [rbp - 0x21], 0xbd
mov byte [rbp - 0x20], 0xbb
mov byte [rbp - 0x1f], 0xa1
mov byte [rbp - 0x1e], 0xf6
mov byte [rbp - 0x1d], 0xa0
mov byte [rbp - 0x1c], 0xb7
mov byte [rbp - 0x1b], 0xab
mov byte [rbp - 0x1a], 0xb1
mov byte [rbp - 0x19], 0xb2
mov byte [rbp - 0x18], 0xb2
mov byte [rbp - 0x17], 0xba
mov byte [rbp - 0x16], 0xff
mov byte [rbp - 0x15], 0xfe
mov byte [rbp - 0x14], 0xc1
xor eax, eax
mov byte [rbp - 0x13], al
movzx eax, byte [rbp - 0x38]
xor edx, edx
lea r8, [rbp - 0x38]
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rdx - 0x44]
movzx eax, byte [r8]
xor cl, al
movsxd rax, edx
mov byte [rbp + rax - 0x38], cl
inc edx
lea r8, [r8 + 1]
cmp edx, 0x25
jb 0x1800e35d0
mov byte [rbp - 0x13], 0
lea rcx, [rbp - 0x38]
call fcn.1800e5ab0
mov rax, qword [0x180252670]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rax
mov dword [rbx + 8], edi
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800eb8d0
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
Function at 0x1800e3630
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18024d000]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x40], rcx
lea rax, vtable.ListTag.0
mov qword [rcx], rax
mov rax, qword [0x1802526a0]
test rax, rax
jne 0x1800e377f
lea rdx, str.48_8D_0D_________48_89_08_33_C9_48_89_48_08_48_89_48_10_48_89_48_18_88_48_20_48_89_03
lea rcx, [0x1800f77b8]
call fcn.1800e6c00
mov rcx, rax
movsxd rax, dword [rax + 3]
add rax, 7
add rax, rcx
mov qword [0x1802526a0], rax
jne 0x1800e377f
mov byte [rbp - 0x38], 0xf0
mov byte [rbp - 0x37], 0xd4
mov byte [rbp - 0x36], 0xcd
mov byte [rbp - 0x35], 0xcb
mov byte [rbp - 0x34], 0x94
mov byte [rbp - 0x33], 0xa0
mov byte [rbp - 0x32], 0xa5
mov byte [rbp - 0x31], 0x95
mov byte [rbp - 0x30], 0xb0
mov byte [rbp - 0x2f], 0xa4
mov byte [rbp - 0x2e], 0xa4
mov byte [rbp - 0x2d], 0xab
mov byte [rbp - 0x2c], 0xad
mov byte [rbp - 0x2b], 0xe9
mov byte [rbp - 0x2a], 0xb9
mov byte [rbp - 0x29], 0xa2
mov byte [rbp - 0x28], 0xab
mov byte [rbp - 0x27], 0xa3
mov byte [rbp - 0x26], 0xaf
mov byte [rbp - 0x25], 0xbb
mov byte [rbp - 0x24], 0xa5
mov byte [rbp - 0x23], 0xa3
mov byte [rbp - 0x22], 0xb7
mov byte [rbp - 0x21], 0xf3
mov byte [rbp - 0x20], 0xba
mov byte [rbp - 0x1f], 0xba
mov byte [rbp - 0x1e], 0xa2
mov byte [rbp - 0x1d], 0xf7
mov byte [rbp - 0x1c], 0xaf
mov byte [rbp - 0x1b], 0xb6
mov byte [rbp - 0x1a], 0xa8
mov byte [rbp - 0x19], 0xb0
mov byte [rbp - 0x18], 0xb5
mov byte [rbp - 0x17], 0xb3
mov byte [rbp - 0x16], 0xb9
mov byte [rbp - 0x15], 0xfe
mov byte [rbp - 0x14], 0xc1
mov byte [rbp - 0x13], 0xc0
xor eax, eax
mov byte [rbp - 0x12], al
movzx eax, byte [rbp - 0x38]
xor edx, edx
lea r8, [rbp - 0x38]
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx - 0x44]
movzx eax, byte [r8]
xor cl, al
movsxd rax, edx
mov byte [rbp + rax - 0x38], cl
inc edx
lea r8, [r8 + 1]
cmp edx, 0x26
jb 0x1800e3750
mov byte [rbp - 0x12], 0
lea rcx, [rbp - 0x38]
call fcn.1800e5ab0
mov rax, qword [0x1802526a0]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rcx
mov qword [rbx], rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800eb8d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x1800e37b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18024d000]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx edi, dx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
lea rax, vtable.ShortTag.0
mov qword [rcx], rax
mov rax, qword [0x180252680]
test rax, rax
jne 0x1800e38ff
lea rdx, str.48_8D_15_________48_89_10_66_89_48___48_89_03_48_8B_C3_48_8B_5C_24__
lea rcx, [0x1800f77b8]
call fcn.1800e6c00
mov rcx, rax
movsxd rax, dword [rax + 3]
add rax, 7
add rax, rcx
mov qword [0x180252680], rax
jne 0x1800e38ff
mov byte [rbp - 0x38], 0xef
mov byte [rbp - 0x37], 0xd5
mov byte [rbp - 0x36], 0xd1
mov byte [rbp - 0x35], 0xcd
mov byte [rbp - 0x34], 0xb4
mov byte [rbp - 0x33], 0x95
mov byte [rbp - 0x32], 0xa3
mov byte [rbp - 0x31], 0xa4
mov byte [rbp - 0x30], 0x92
mov byte [rbp - 0x2f], 0xb1
mov byte [rbp - 0x2e], 0xa7
mov byte [rbp - 0x2d], 0xa5
mov byte [rbp - 0x2c], 0xa4
mov byte [rbp - 0x2b], 0xac
mov byte [rbp - 0x2a], 0xea
mov byte [rbp - 0x29], 0xb8
mov byte [rbp - 0x28], 0xa5
mov byte [rbp - 0x27], 0xaa
mov byte [rbp - 0x26], 0xa0
mov byte [rbp - 0x25], 0xae
mov byte [rbp - 0x24], 0xa4
mov byte [rbp - 0x23], 0xa4
mov byte [rbp - 0x22], 0xa0
mov byte [rbp - 0x21], 0xb6
mov byte [rbp - 0x20], 0xf4
mov byte [rbp - 0x1f], 0xbb
mov byte [rbp - 0x1e], 0xb9
mov byte [rbp - 0x1d], 0xa3
mov byte [rbp - 0x1c], 0xf8
mov byte [rbp - 0x1b], 0xae
mov byte [rbp - 0x1a], 0xb5
mov byte [rbp - 0x19], 0xa9
mov byte [rbp - 0x18], 0xb7
mov byte [rbp - 0x17], 0xb4
mov byte [rbp - 0x16], 0xb0
mov byte [rbp - 0x15], 0xb8
mov byte [rbp - 0x14], 0xc1
mov byte [rbp - 0x13], 0xc0
mov byte [rbp - 0x12], 0xc3
xor eax, eax
mov byte [rbp - 0x11], al
movzx eax, byte [rbp - 0x38]
xor edx, edx
lea r8, [rbp - 0x38]
nop dword [rax]
lea ecx, [rdx - 0x44]
movzx eax, byte [r8]
xor cl, al
movsxd rax, edx
mov byte [rbp + rax - 0x38], cl
inc edx
lea r8, [r8 + 1]
cmp edx, 0x27
jb 0x1800e38d0
mov byte [rbp - 0x11], 0
lea rcx, [rbp - 0x38]
call fcn.1800e5ab0
mov rax, qword [0x180252680]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rax
mov word [rbx + 8], di
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800eb8d0
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
Function at 0x1800e7ce0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
mov rbx, rcx
xor esi, esi
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1800e7d1e
xorps xmm0, xmm0
mov rax, rbx
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
mov ecx, 1
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
jne 0x1800e7d67
mov rdi, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov rax, rbx
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm0, xmm0
mov r8, 0xffffffffffffffff
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
inc r8
cmp byte [rdi + r8], sil
jne 0x1800e7d82
mov rdx, rdi
mov rcx, rbx
call fcn.180002200
mov rdi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret

Function at 0x1800e7e80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
lea r9, [rsp + 0x38]
mov edx, edx
mov r8d, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov edx, 0x90
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800e7ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
lea r9, [rsp + 0x40]
mov rbx, rdx
mov r8d, 0x40
mov edx, edi
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800e8fc0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1800e9072
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x1800e901d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [rdi + 0x18], 0xf
jbe 0x1800e9027
mov rdi, qword [rdi]
mov rbx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800e995c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x180253060]
mov r8b, byte [rbx + 0x20]
mov rdx, qword [rbx]
mov rdi, rdx
and r8b, 1
je 0x1800e9993
lea rdi, [rdx - 5]
movzx eax, r8b
lea rcx, [rdx - 5]
test r8b, r8b
lea r9, [rsp + 0x30]
mov r8d, 0x40
cmove rcx, rdx
lea rbp, [rax*2 + 5]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800e99cc
mov eax, 0xa
jmp 0x1800e9a58
test esi, esi
je 0x1800e99ee
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800e9a0f
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800e9a0f
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800e9a09
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800e9a0f
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800e9e88
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbx, rcx
test r8, r8
je 0x1800e9eee
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800e9edf
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800e9ed5
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 0x1800e9ea9
mov r8, qword [rbx]
mov rcx, qword [0x1802529e8]
xor edx, edx
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 0x1800ea01c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
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 0x1800ea066
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x180253058]
lea r15, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r15
cmovbe r15, qword [rbp - 0x50]
sub r15, 0xfff
test rbx, rbx
je 0x1800ea0a3
cmp rbx, r14
jb 0x1800ea09e
cmp rbx, r15
jae 0x1800ea09e
cmp qword [rbx + 8], 0
jne 0x1800ea1f8
mov rbx, qword [rbx]
jmp 0x1800ea084
mov rsi, rdi
cmp rdi, r14
jb 0x1800ea120
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, rsi
div r12
sub rsi, rdx
jmp 0x1800ea0e6
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800ea0ee
cmp dword [rbp - 0x10], 0x10000
je 0x1800ea0f0
mov rsi, qword [rbp - 0x28]
cmp rsi, r12
jb 0x1800ea0ee
sub rsi, r12
cmp rsi, r14
jae 0x1800ea0bc
xor esi, esi
test rsi, rsi
je 0x1800ea120
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800ea1b9
cmp rsi, r14
jae 0x1800ea0ab
test rbx, rbx
jmp 0x1800ea1ac
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov esi, r14d
div r14
mov eax, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800ea185
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800ea185
cmp dword [rbp - 0x10], 0x10000
je 0x1800ea187
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jbe 0x1800ea148
xor edi, edi
test rdi, rdi
je 0x1800ea1f8
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 0x1800ea1b9
cmp rdi, r15
jbe 0x1800ea128
jmp 0x1800ea1f8
and qword [rbx + 8], 0
lea rcx, [rbx + 0x40]
and dword [rbx + 0x10], 0
mov edx, 0x40
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x1800ea1cb
mov rax, qword [0x180253058]
mov qword [rbx], rax
mov qword [0x180253058], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800ea584
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800ea59b
cmp r8b, 0x90
je 0x1800ea59b
cmp r8b, 0xcc
jne 0x1800ea5bd
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800ea5b9
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800ea5bd
add edx, r10d
cmp edx, r9d
jb 0x1800ea5a9
mov eax, r10d
ret
xor eax, eax
ret

Function at 0x1800eac78
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 0x1800eacb2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800eacb7
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 0x1800ead00
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.d2d1.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x1800ead00
dec r8
sub rdx, 1
jne 0x1800eace6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400cc6f0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400cc700]
mov dword [rax], 1
mov rax, qword [0x1400cc710]
mov dword [rax], 1
mov rax, qword [0x1400cc6e0]
mov dword [rax], 1
mov rax, qword [0x1400cc5a0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400cc6d0]
mov dword [0x1400cf00c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400cc690]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400cc670]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400cc550]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140001599
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor eax, eax
mov rbx, rcx
mov edi, edx
mov rbp, r8
mov dl, byte [rbx + rax + 6]
lea r12, [rsp + 0x2d]
mov byte [rsp + rax + 0x2d], dl
inc rax
cmp rax, 0x32
jne 0x1400015b3
lea rcx, str.PPF1.0_patch_information:_n
mov byte [rsp + 0x5f], 0
sub edi, 0x38
mov esi, 0x38
call sym.printf
mov rdx, r12
lea rcx, str.Description_:__s_n
lea r12, [0x1400d0860]
call sym.printf
lea rcx, str.File_id.diz_:_no_n
call sym.printf
lea rcx, str.Patching...
call sym.printf
mov ecx, 1
mov r13, qword [dbg.__acrt_iob_func]
call r13
mov rcx, rax
call sym.fflush
lea rcx, str.reading..._b_b_b_b_b_b_b_b_b_b
call sym.printf
mov ecx, 1
call r13
mov rcx, rax
call sym.fflush
lea eax, [rsi + 1]
mov edx, esi
movzx eax, byte [rbx + rax]
movzx ecx, byte [rbx + rdx]
shl eax, 8
add ecx, eax
lea eax, [rsi + 2]
movzx edx, byte [rbx + rax]
shl edx, 0x10
lea eax, [rcx + rdx]
lea edx, [rsi + 3]
movzx edx, byte [rbx + rdx]
lea ecx, [rsi + 5]
shl edx, 0x18
add edx, eax
lea eax, [rsi + 4]
movzx r15d, byte [rbx + rax]
xor eax, eax
mov r14d, r15d
cmp r15d, eax
jle 0x140001694
lea r8d, [rcx + rax]
mov r8b, byte [rbx + r8]
mov byte [r12 + rax], r8b
inc rax
jmp 0x14000167e
xor r8d, r8d
mov rcx, rbp
lea esi, [rsi + r15 + 5]
call dbg.fseeko64
mov r9, rbp
movzx r8d, r14b
mov rcx, r12
mov edx, 1
call sym.fwrite
mov eax, 0xfffffffb
sub eax, r15d
add edi, eax
jne 0x140001627
lea rcx, str.successful._n
call sym.printf
nop
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret