joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e808
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.140057770
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 0x14005e8a9
cmp ebx, dword [rsp + 0x30]
je 0x14005e8a2
test esi, esi
je 0x14005e8a2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14005e87d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14005e88a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14005e867
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14005e88e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14005e8ab
mov eax, 1
jmp 0x14005e8ab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005f704
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 0x14005f773
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005f773
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005f773
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005f773
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005f773
cmp dword [rcx + 0x84], 0xe
jbe 0x14005f773
cmp dword [rcx + 0xf8], 0
je 0x14005f773
mov ecx, ebx
call fcn.14005f824
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.14005f600
nop
cmp dword [rbp + 0x20], 0
je 0x14005f7c1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005f7cc
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14005f704

Function at 0x14005f908
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005f704
Function at 0x1400609cc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400609e2
mov al, 1
jmp 0x140060a42
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400609f3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140060a40
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400632f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140060a40
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140060a40
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140060a40
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140060a42
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140064a20
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
lea r9, [0x140348070]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140064a77
cmp word [rdx], r13w
jne 0x140064a77
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140064a7c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140064ba1
mov r11d, SafeArrayDestroy
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140064bc2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140064ab5
mov rdx, r9
mov word [rbx], cx
jmp 0x140064adc
cmp r9, r8
jae 0x140064aec
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140064a96
jmp 0x140064ba1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140064b96
cmp dword [rsp + 0x80], esi
je 0x140064b96
lea r8, [0x140348070]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140064b6e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140064b3e
mov word [rbx], r13w
jmp 0x140064b9e
mov ecx, SafeArrayDestroy
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140064b4b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140064b9e
cmp word [rsp + 0x70], r13w
jne 0x140064b7b
cmp rbx, r14
je 0x140064b38
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140064940
cmp word [rsp + 0x70], r13w
je 0x140064ba1
mov ecx, SafeArrayDestroy
mov word [rbx], cx
add rbx, r12
sub rbx, r14
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
lea r8, [0x140348070]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140064b9b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140064ba1
Function at 0x140067a5c
Capabilities:
Parse pe header

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

Function at 0x14006e974
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14006e9a2
xor eax, eax
jmp 0x14006ea88
cmp qword [rcx + 0x68], 0
je 0x14006e9b3
call fcn.140004a90
jmp 0x14006ea88
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14006e9ca
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006e9cc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006e9fe
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14007e530
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14006ea82
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14006ea35
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14006ea5e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14007b4f0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14006ea82
cmp rsi, rbx
ja 0x14006ea3c
test rsi, rsi
je 0x14006ea82
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14007b4f0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14006eb64
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 0x14006eb9e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14006eba3
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 0x14006ebec
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b9d70]
cmp byte [rcx + rax], 0
je 0x14006ebec
dec r8
sub rdx, 1
jne 0x14006ebd2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14007c9d4
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 0x14007ca04
xor eax, eax
jmp 0x14007cac7
mov rbp, rbx
cmp word [rax], si
je 0x14007ca29
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14007ca10
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14007ca0c
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.14006117c
movsxd r14, eax
test eax, eax
jne 0x14007ca67
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14007c9fd
mov rcx, r14
call fcn.140057f74
mov rdi, rax
test rax, rax
jne 0x14007ca80
xor ecx, ecx
call fcn.1400572c8
jmp 0x14007ca5c
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.14006117c
test eax, eax
jne 0x14007cab1
mov rcx, rdi
call fcn.1400572c8
jmp 0x14007cabb
xor ecx, ecx
call fcn.1400572c8
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 0x14007d568
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.140067b30
sub rsp, rax
mov rax, qword [0x140346ac0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140059420
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14007d5b7
mov rax, rbp
jmp 0x14007d6bf
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x348070]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140064938
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x348070]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14007d6bb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007d6bb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140064938
test rax, rax
js 0x14007d6bb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14007d6bb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14007d6ad
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14007d6ad
cmp byte [rcx], 0xd
jne 0x14007d693
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14007d6a2
cmp byte [rcx + 1], 0xa
jne 0x14007d6a2
inc rcx
jmp 0x14007d6a2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x346980]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14007d675
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14007d6bf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140066f10
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 0x14007e3f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14007e418
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14007e418
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x11ec108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011ec28f
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 0x11ec139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11ec11f
add dl, dl
jne 0x11ec146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11ec1a6
xor eax, eax
add dl, dl
jne 0x11ec155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11ec25d
add dl, dl
jne 0x11ec166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ec173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ec180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ec18d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x11ec19a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x11ec12e
mov eax, 1
add dl, dl
jne 0x11ec1b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ec1c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x11ec1ab
sub eax, ebx
mov ebx, 1
jne 0x11ec1fc
mov ecx, 1
add dl, dl
jne 0x11ec1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ec1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x11ec1d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x11ec12e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x11ec218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ec225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x11ec20d
cmp eax, 0x7d00
jae 0x11ec24b
cmp eax, 0x500
jb 0x11ec246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x11ec12e
cmp eax, 0x7f
ja 0x11ec24e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x11ec12e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x11ec282
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 0x11ec12e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400055e8], rbx
je 0x14000196c
cmp rax, rbx
jne 0x14000195f
mov ebx, 1
mov esi, ebx
jmp 0x140001971
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001944
mov ebx, 1
mov eax, dword [0x1400055f0]
cmp eax, ebx
jne 0x140001987
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400019ec
mov eax, dword [0x1400055f0]
test eax, eax
jne 0x1400019e6
mov dword [0x1400055f0], ebx
lea r15, [0x140003468]
lea rdi, [0x140003450]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400019d8
test eax, eax
jne 0x1400019dc
cmp qword [rdi], 0
je 0x1400019cd
mov rax, qword [rdi]
mov rcx, qword [0x140003430]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400019ae
test eax, eax
je 0x1400019ec
mov eax, 0xff
jmp 0x140001ac8
mov dword [0x140005024], ebx
mov eax, dword [0x1400055f0]
cmp eax, ebx
jne 0x140001a13
lea rdx, [0x140003448]
lea rcx, [0x140003438]
call sub.msvcrt.dll__initterm
mov dword [0x1400055f0], 2
test esi, esi
jne 0x140001a20
xor eax, eax
xchg qword [0x1400055e8], rax
cmp qword [0x1400055f8], 0
je 0x140001a54
lea rcx, [0x1400055f8]
call fcn.140001cd0
test eax, eax
je 0x140001a54
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400055f8]
mov r9, qword [0x140003430]
call r9
mov r8, qword [0x140005038]
mov rdx, qword [0x140005030]
mov ecx, dword [0x140005028]
call fcn.140001008
mov dword [0x140005020], eax
cmp dword [0x140005040], 0
jne 0x140001a84
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005024], 0
jne 0x140001a99
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005020]
jmp 0x140001ac8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140001d64
add rsp, 0x28
jmp 0x140001920

Function at 0x140001bbc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001c08
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001c00
cmp dword [rcx + 0x3c], edx
jl 0x140001c00
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001c00
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001c08
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140009000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor r15d, r15d
mov dword [rbp - 0x10], 0x6376736d
mov byte [rbp - 6], r15b
mov dword [rbp - 0xc], 0x642e7472
mov word [rbp - 8], 0x6c6c
call fcn.140009160
mov edx, 0x666395b
mov rcx, rax
call fcn.1400091f4
lea rcx, [rbp - 0x10]
call rax
mov edx, 0xa5b50f0b
mov rcx, rax
mov rbx, rax
call fcn.1400091f4
mov edx, 0xd39ad3d
mov rcx, rbx
mov rdi, rax
call fcn.1400091f4
mov edx, 0x1c93bb9d
mov rcx, rbx
mov r13, rax
call fcn.1400091f4
mov rsi, rax
mov word [rbp + 0x40], 0x6425
mov byte [rbp + 0x42], r15b
call fcn.140009158
cmp dword [rax], 0xffccccff
jne 0x14000909f
mov ecx, 0x6d64
cmp word [rax + 4], cx
je 0x1400090a4
inc rax
jmp 0x14000908c
lea r14, [rax + 6]
movzx r8d, word [r14 + 1]
lea rdx, [rbp + 0x40]
mov r12b, byte [r14]
lea rcx, [rbp + 0x48]
call rdi
lea rbx, [r14 + 3]
mov rcx, rbx
call rsi
mov rdi, rax
lea rcx, [rax + 1]
call r13
mov rsi, rax
test rdi, rdi
je 0x1400090ef
mov rdx, rax
sub rbx, rax
mov rax, rdi
mov cl, r12b
xor cl, byte [rbx + rdx]
mov byte [rdx], cl
inc rdx
sub rax, 1
jne 0x1400090de
lea ecx, [rdi + 4]
mov byte [rdi + rsi], r15b
movsxd rax, ecx
movzx r15d, word [rax + r14]
lea eax, [rcx + 2]
movsxd rbx, eax
mov ecx, r15d
add rbx, r14
mov edi, r15d
call r13
test r15, r15
je 0x14000912c
mov rdx, rax
sub rbx, rax
mov cl, r12b
xor cl, byte [rbx + rdx]
mov byte [rdx], cl
inc rdx
sub rdi, 1
jne 0x14000911b
mov r9d, r15d
lea rdx, [rbp + 0x48]
mov r8, rax
mov rcx, rsi
call fcn.140009f44
mov rbx, qword [rsp + 0x80]
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140009160
Capabilities:
Access peb ldr_data
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x20]
mov r8, qword [rcx]
lea rax, [r8 - 0x10]
mov rdx, qword [rax]
mov rdi, rax
jmp 0x1400091dc
mov r11, qword [rax + 8]
mov r10d, 0x1505
mov rbx, qword [r11 + 0x60]
movzx r9d, word [rbx]
test r9d, r9d
je 0x1400091d1
lea eax, [r9 - 0x41]
cmp eax, 0x19
lea ecx, [r9 + 0x20]
lea rbx, [rbx + 2]
cmova ecx, r9d
movzx r9d, word [rbx]
imul r10d, r10d, 0x21
add r10d, ecx
test r9d, r9d
jne 0x1400091a5
cmp r10d, 0x7040ee75
je 0x1400091ee
cmp rdx, rdi
je 0x1400091e1
mov rax, rdx
mov rdx, qword [rdx]
cmp rdx, r8
jne 0x14000918e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov rax, qword [r11 + 0x30]
jmp 0x1400091e3
Function at 0x1400091f4
Capabilities:
Hash data using djb2
Resolve function by parsing pe exports

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 r13
push r14
push r15
movsxd rax, dword [rcx + 0x3c]
xor r12d, r12d
mov r15d, edx
mov r9, rcx
movzx edx, r12w
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x20]
add rdi, rcx
mov esi, dword [r8 + 0x24]
add rbp, rcx
mov r14d, dword [r8 + 0x18]
add rsi, rcx
test r14d, r14d
je 0x140009294
lea r13d, [r12 + 1]
movzx ebx, dx
mov r11d, 0x1505
mov r8d, dword [rbp + rbx*4]
add r8, r9
jmp 0x14000927a
add r8, r13
lea eax, [r10 - 0x41]
cmp eax, 0x19
lea ecx, [r10 + 0x20]
cmova ecx, r10d
imul r11d, r11d, 0x21
add r11d, ecx
movsx r10d, byte [r8]
test r10d, r10d
jne 0x140009261
cmp r11d, r15d
je 0x1400092b3
add dx, r13w
movzx eax, dx
cmp eax, r14d
jb 0x14000924e
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, word [rsi + rbx*2]
mov eax, dword [rdi + rax*4]
add rax, r9
jmp 0x140009296
Function at 0x1832ed0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1832ed237
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 0x1832ed0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1832ed0c7
add dl, dl
jne 0x1832ed0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1832ed14e
xor eax, eax
add dl, dl
jne 0x1832ed0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1832ed205
add dl, dl
jne 0x1832ed10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1832ed11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1832ed128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1832ed135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1832ed142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1832ed0d6
mov eax, 1
add dl, dl
jne 0x1832ed15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1832ed16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1832ed153
sub eax, ebx
mov ebx, 1
jne 0x1832ed1a4
mov ecx, 1
add dl, dl
jne 0x1832ed186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1832ed193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1832ed17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1832ed0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1832ed1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1832ed1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1832ed1b5
cmp eax, 0x7d00
jae 0x1832ed1f3
cmp eax, 0x500
jb 0x1832ed1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1832ed0d6
cmp eax, 0x7f
ja 0x1832ed1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1832ed0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1832ed22a
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 0x1832ed0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20