joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025480
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011c71
movzx eax, al
test eax, eax
jne 0x1400254a0
mov ecx, 7
call fcn.140011a46
nop
mov byte [rsp + 0x20], 0
call fcn.140011a87
mov byte [rsp + 0x21], al
cmp dword [0x140038730], 1
jne 0x1400254c4
mov ecx, 7
call fcn.140011a46
nop
jmp 0x14002551c
cmp dword [0x140038730], 0
jne 0x140025517
mov dword [0x140038730], 1
lea rdx, [0x14002f770]
lea rcx, [0x14002f440]
call fcn.1400115aa
test eax, eax
je 0x1400254f8
mov eax, 0xff
jmp 0x140025621
lea rdx, [0x14002f330]
lea rcx, [section..rdata]
call fcn.140011a6e
mov dword [0x140038730], 2
jmp 0x14002551c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011a19
call fcn.1400118c0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140025579
mov rcx, qword [rsp + 0x30]
call fcn.14001148d
movzx eax, al
test eax, eax
je 0x140025579
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140042020]
nop
call fcn.14001194c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400255ad
mov rcx, qword [rsp + 0x38]
call fcn.14001148d
movzx eax, al
test eax, eax
je 0x1400255ad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011bb3
nop
call fcn.1400256d0
mov dword [rsp + 0x28], eax
call fcn.140011875
movzx eax, al
test eax, eax
jne 0x1400255cc
mov ecx, dword [rsp + 0x28]
call fcn.1400110e1
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400255db
call fcn.140011be0
nop
xor edx, edx
mov cl, 1
call fcn.140011442
mov eax, dword [rsp + 0x28]
jmp 0x140025621
add rsp, 0x68
ret
Function at 0x141468058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414681df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141468089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14146806f
add dl, dl
jne 0x141468096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414680f6
xor eax, eax
add dl, dl
jne 0x1414680a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414681ad
add dl, dl
jne 0x1414680b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414680c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414680d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414680dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414680ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14146807e
mov eax, 1
add dl, dl
jne 0x141468106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141468113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414680fb
sub eax, ebx
mov ebx, 1
jne 0x14146814c
mov ecx, 1
add dl, dl
jne 0x14146812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14146813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141468123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141468168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141468175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14146815d
cmp eax, 0x7d00
jae 0x14146819b
cmp eax, 0x500
jb 0x141468196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146807e
cmp eax, 0x7f
ja 0x14146819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414681d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14146807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000e590
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [0x14002b650]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x20], rax
lea rdx, str.VirtualAlloc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400364a0], rax
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 8
lea rcx, [0x1400364a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x14000e628]
mov qword [0x1400364a0], rax
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, 8
lea rcx, [0x1400364a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140023750
add rsp, 0x48
ret
Function at 0x14000eb74
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp qword [0x1400364a0], 0
je 0x14000ebd5
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [0x1400364a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [0x1400364a0], 0
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov edx, 8
mov rcx, qword [0x1400364a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140023750
add rsp, 0x38
ret
Function at 0x1400152d0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x400000
test eax, eax
je 0x14001533a
mov rax, qword [rsp + 0x20]
mov al, byte [rax + 0x78]
mov byte [rsp + 4], al
cmp byte [rsp + 4], 0x44
je 0x14001532c
cmp byte [rsp + 4], 0x53
je 0x14001532c
cmp byte [rsp + 4], 0x57
je 0x14001532c
cmp byte [rsp + 4], 0x63
je 0x14001532c
cmp byte [rsp + 4], 0x64
je 0x14001532c
cmp byte [rsp + 4], 0x73
je 0x14001532c
cmp byte [rsp + 4], 0x77
je 0x14001532c
jmp 0x140015333
xor al, al
jmp 0x140015413
mov al, 1
jmp 0x140015413
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax + 0x78]
mov dword [rsp], eax
cmp dword [rsp], 0x2f
jg 0x140015389
cmp dword [rsp], 0x2f
je 0x1400153e5
cmp dword [rsp], 0x22
je 0x1400153e5
cmp dword [rsp], 0x24
je 0x1400153b5
cmp dword [rsp], 0x28
je 0x1400153b9
cmp dword [rsp], 0x29
je 0x1400153b9
cmp dword [rsp], 0x2a
je 0x1400153b5
cmp dword [rsp], 0x2b
je 0x1400153b9
cmp dword [rsp], 0x2e
je 0x1400153b5
jmp 0x140015411
cmp dword [rsp], 0x3f
je 0x1400153b9
cmp dword [rsp], 0x5b
je 0x1400153b5
cmp dword [rsp], 0x5c
je 0x1400153b5
cmp dword [rsp], 0x5e
je 0x1400153b5
cmp dword [rsp], 0x7b
je 0x1400153b9
cmp dword [rsp], 0x7c
je 0x1400153b5
cmp dword [rsp], 0x7d
je 0x1400153b9
jmp 0x140015411
mov al, 1
jmp 0x140015413
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x800000
test eax, eax
je 0x1400153d7
mov dword [rsp + 8], 1
jmp 0x1400153df
mov dword [rsp + 8], 0
mov al, byte [rsp + 8]
jmp 0x140015413
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x1000000
test eax, eax
je 0x140015403
mov dword [rsp + 0xc], 1
jmp 0x14001540b
mov dword [rsp + 0xc], 0
mov al, byte [rsp + 0xc]
jmp 0x140015413
xor al, al
add rsp, 0x18
ret
Function at 0x14001a190
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x478
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Download
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14001a1e7
xor al, al
jmp 0x14001a307
mov rcx, qword [rsp + 0x480]
call fcn.140017e64
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14001a238
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14001a307
mov rcx, qword [rsp + 0x488]
call fcn.140017e64
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x14001a299
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14001a307
lea r9, [rsp + 0x58]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14001a2e4
cmp dword [rsp + 0x58], 0
jbe 0x14001a2e4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14001a299
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140023750
add rsp, 0x478
ret

Function at 0x14001d920
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.14000a554
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140023750
add rsp, 0x148
ret
Function at 0x14001da50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x14001da84
xor eax, eax
jmp 0x14001dc30
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14001daac
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14001dc44
jmp 0x14001dc30
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.140014780
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14001db48
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1400089d8
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.14001add4
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140019a98
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.14001ab44
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x14001dc20
mov rcx, qword [rsp + 0x70]
call fcn.140016cd4
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x14001dbe8
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_fread
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x14001dbe6
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14001dc30
jmp 0x14001db6e
cmp qword [rsp + 0x40], 0
jbe 0x14001dc20
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_fread
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140023750
add rsp, 0x68
ret
Function at 0x140021350
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8395cb5a
call fcn.140020e00
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140024380
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140024d20
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140024d20
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140024d20
mov ecx, dword [0x140037568]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.140026080
call fcn.140024d20
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x140027310
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14002734c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140023bf4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140027408
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14002746e
test ebx, ebx
jne 0x14002746e
lea ecx, [rax + 2]
call fcn.140023bf4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140023750
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1400279f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x140027a5c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x140027a5c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x140027aaf
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x140027a40
mov rcx, qword [0x1400374a0]
test rcx, rcx
jne 0x140027a92
call fcn.140028990
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x1400374a0], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x140027b93
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x140027b95
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x140027bba
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x140027a5c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x140027a5c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x140027a5c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x140027b83
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x140027b61
jmp 0x140027a5c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x140027a5c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140023750
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140023f1c
int3

Function at 0x140028010
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140028072
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140028072
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140028072
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140028072
cmp dword [rdx + 0x84], 0xe
jbe 0x140028072
cmp dword [rdx + 0xf8], 0
je 0x140028072
mov ecx, ebx
call fcn.140027ed0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1400374b8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140027d50
cmp dword [rsp + 0x60], 0
jne 0x1400280b5
mov ecx, ebx
call fcn.140027e80
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140028100
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002815c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002815c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002815c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002815c
cmp dword [rcx + 0x84], 0xe
jbe 0x14002815c
cmp dword [rcx + 0xf8], 0
je 0x14002815c
mov ecx, ebx
call fcn.140027ed0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1400374b8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140027d50
cmp dword [rsp + 0x60], 0
jne 0x14002819f
mov ecx, ebx
call fcn.140027e80
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140004210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140041a64], 0
lea rdi, [0x140041a60]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400042e8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140004240
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000431e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140004300
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000435f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140004343
cmp byte [r8], r9b
jne 0x140004343
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 [rdi + rdx*4]
test r9b, r9b
jne 0x140004330
not eax
pop rdi
ret
Function at 0x140004560
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140004579
mov qword [r8], 0
lea rdx, [0x14003a530]
call fcn.140004370
mov rbx, rax
test rax, rax
jne 0x140004598
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004658
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140004658
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004658
mov rax, qword [0x140041928]
mov rbp, rsi
test rax, rax
je 0x1400045f5
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004658
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140004645
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140041928]
test rax, rax
je 0x14000463a
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004661
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140004653
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140004663
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret