joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005f9c
Capabilities:
Create directory
Delete directory
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov esi, r8d
mov r9, rcx
test edx, edx
je 0x14000608e
lea rdx, [rsp + 0x50]
call fcn.140005e64
test eax, eax
je 0x14000611b
lea rbx, [0x14000d610]
mov edi, 0x104
lea r8, [rsp + 0x50]
mov edx, edi
mov rcx, rbx
sub r8, rbx
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140006018
mov al, byte [r8 + rcx]
test al, al
je 0x140006018
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140005ff9
test rdx, rdx
jne 0x140006020
dec rcx
mov byte [rcx], 0
test byte [0x14000de64], 0x20
je 0x14000607b
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [rsp + 0x20]
test ecx, ecx
je 0x14000606a
sub ecx, 1
je 0x140006061
sub ecx, 1
je 0x140006058
cmp ecx, 1
jne 0x14000607b
lea r8, [0x140009888]
jmp 0x140006071
lea r8, str.alpha
jmp 0x140006071
lea r8, str.mips
jmp 0x140006071
lea r8, str.i386
mov edx, edi
mov rcx, rbx
call fcn.140007628
lea r8, [0x1400095f0]
mov edx, edi
mov rcx, rbx
call fcn.140007628
jmp 0x1400060ca
lea rbx, [0x14000d610]
mov edi, 0x104
mov rcx, rbx
sub r9, rbx
lea rax, [rdi + 0x7ffffefa]
test rax, rax
je 0x1400060bf
mov al, byte [r9 + rcx]
test al, al
je 0x1400060bf
mov byte [rcx], al
inc rcx
sub rdi, 1
jne 0x1400060a0
test rdi, rdi
jne 0x1400060c7
dec rcx
mov byte [rcx], 0
mov rcx, rbx
call fcn.1400065d4
test eax, eax
jne 0x1400060ef
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14000611f
mov dword [0x14000cbe0], 1
test esi, esi
je 0x14000613b
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140006738
test eax, eax
jne 0x14000613b
cmp dword [0x14000cbe0], eax
je 0x14000611b
and dword [0x14000cbe0], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
jmp 0x140006147
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [0x14000de7c], ecx
jmp 0x14000611b
and dword [0x14000de7c], 0
mov eax, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140007e20
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400065d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rdi + rcx], 0
jne 0x1400065ef
add edi, 0x14
mov ecx, 0x40
mov edx, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
jne 0x140006661
and dword [rsp + 0x28], eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], FDIDestroy
mov edx, 0x4b5
xor ecx, ecx
call fcn.140004b0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
xor eax, eax
mov dword [0x14000de7c], ecx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
lea rax, [rdi - 1]
mov edx, 0x7ffffffe
cmp rax, rdx
ja 0x1400066a4
sub rdx, rbx
mov r8, rbp
sub r8, rsi
mov rcx, rsi
lea rax, [rdx + rbx]
test rax, rax
je 0x140006697
mov al, byte [r8 + rcx]
test al, al
je 0x140006697
mov byte [rcx], al
inc rcx
sub rbx, 1
jne 0x14000667b
test rbx, rbx
jne 0x14000669f
dec rcx
mov byte [rcx], 0
jmp 0x1400066ab
test edi, edi
je 0x1400066ab
mov byte [rsi], 0
lea r8, str.TMP4351_.TMP
mov edx, edi
mov rcx, rsi
call fcn.140007628
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x4000080
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rbx, 0xffffffffffffffff
je 0x140006630
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140006630
test al, 0x10
je 0x140006630
and dword [0x14000de7c], 0
mov eax, 1
jmp 0x14000664c
Function at 0x140007188
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov r13, rcx
xor r9d, r9d
mov esi, 1
jmp 0x14000722b
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x140007269
mov r15d, dword [rax]
lea rbp, [rax + 8]
mov r12d, dword [rax + 4]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rax + rbp], 0
jne 0x1400071f2
mov rcx, r13
lea rbx, [rax + 1]
call qword [0x140009520]
lea r9, [rbx + rbp]
mov r8, rbp
mov edx, r12d
mov ecx, r15d
call r13
mov rcx, rdi
test eax, eax
je 0x14000725f
call qword [sym.imp.KERNEL32.dll_FreeResource]
add r14d, esi
mov r9d, r14d
lea r8, str.UPDFILE_lu
mov edx, reloc.Cabinet.dll_FDICreate
lea rcx, [rsp + 0x20]
call fcn.1400010c4
mov r8d, 0xa
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
jne 0x1400071c3
jmp 0x140007275
xor esi, esi
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x140007275
mov dword [0x14000de7c], 0x80070714
xor esi, esi
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007e20
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000742c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x148
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov edx, 0x104
lea r9, [0x14000d610]
lea rax, [rsp + 0x20]
mov r8d, edx
sub r9, rax
lea rcx, [rsp + 0x20]
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x140007480
mov al, byte [r9 + rcx]
test al, al
je 0x140007480
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x140007461
test r8, r8
jne 0x140007488
dec rcx
mov byte [rcx], 0
lea r8, str.advpack.dll
lea rcx, [rsp + 0x20]
call fcn.140007628
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400074c3
test al, 0x10
jne 0x1400074c3
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x1400074d0
lea rcx, str.advpack.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140007e20
add rsp, 0x148
ret
Function at 0x1400074f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [0x14000d548]
mov rbp, r8
mov rcx, rbx
mov r8d, 5
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140007573
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140007573
mov rax, qword [rsp + 0x60]
mov r9, rsi
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
test rax, rax
jne 0x140007556
and qword [rsp + 0x20], rax
jmp 0x14000755b
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp rbx, 0xffffffffffffffff
jne 0x140007597
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], FDIDestroy
mov edx, 0x4fb
xor ecx, ecx
call fcn.140004b0c
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400078c8
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp], rax
mov esi, dword [0x14000c20c]
mov dword [rsp + 0x30], InitCommonControls
cmp esi, 0xfffffffe
jne 0x140007a41
xor edi, edi
mov dword [rsp + 0x50], 0x94
lea rcx, [rsp + 0x50]
mov dword [0x14000c20c], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x140007a3b
lea esi, [rdi + 1]
cmp dword [rsp + 0x60], esi
jne 0x140007a3b
cmp dword [rsp + 0x54], 4
jne 0x140007a3b
cmp dword [rsp + 0x58], 0xa
jae 0x140007a3b
lea ecx, [rdi + 0x4a]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140007a3b
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelDesktopResourceLocale
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140007a3b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rbp - 0x10]
xor r8d, r8d
lea rdx, [0x1400095f0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400079d4
mov eax, dword [0x14000c20c]
jmp 0x140007a43
lea rdx, [rbp - 0x10]
mov cl, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400079ee
add edi, 0xfffffffd
movsx eax, cl
shl edi, 4
add edi, eax
jmp 0x140007a0d
cmp cl, 0x61
jl 0x1400079f6
add cl, 0xe0
movsx r8d, cl
sub r8d, 0x37
lea eax, [r8 - 0xa]
cmp eax, 5
ja 0x140007a1b
shl edi, 4
add edi, r8d
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
jmp 0x1400079d8
lea rax, [rbp - 0x10]
cmp rdx, rax
je 0x140007a3b
and edi, 0x3ff
cmp edi, esi
je 0x140007a33
cmp edi, 0xd
jne 0x140007a3b
mov dword [0x14000c20c], esi
jmp 0x140007a41
mov esi, dword [0x14000c20c]
mov eax, esi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140007e20
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007bb8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140008304
add rsp, 0x28
jmp 0x140007bb8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r15
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14000cb88], rbx
je 0x140007c15
cmp rax, rbx
jne 0x140007c08
mov esi, 1
jmp 0x140007c15
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007bef
mov eax, dword [0x14000cb90]
cmp eax, 1
jne 0x140007c2a
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140007c9b
mov eax, dword [0x14000cb90]
test eax, eax
jne 0x140007c91
mov dword [0x14000cb90], 1
lea r15, [0x140009560]
lea rbx, [0x140009548]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
cmp rbx, r15
jae 0x140007c83
test eax, eax
jne 0x140007c87
mov rdi, qword [rbx]
test rdi, rdi
je 0x140007c78
mov rcx, rdi
mov rax, qword [0x140009520]
call rax
call rdi
mov dword [rsp + 0x30], eax
add rbx, 8
mov qword [rsp + 0x38], rbx
jmp 0x140007c55
test eax, eax
je 0x140007c9b
mov eax, 0xff
jmp 0x140007df4
mov dword [0x14000c224], 1
mov eax, dword [0x14000cb90]
cmp eax, 1
jne 0x140007cc3
lea rdx, [0x140009540]
lea rcx, [0x140009530]
call sub.msvcrt.dll__initterm
mov dword [0x14000cb90], 2
test esi, esi
jne 0x140007cd0
xor eax, eax
xchg qword [0x14000cb88], rax
cmp qword [0x14000cb98], 0
je 0x140007d08
lea rcx, [0x14000cb98]
call fcn.140008270
test eax, eax
je 0x140007d08
mov rbx, qword [0x14000cb98]
mov rcx, rbx
mov rax, qword [0x140009520]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
ja 0x140007d93
cmp byte [rbx], 0
je 0x140007d29
test edi, edi
jne 0x140007d93
mov al, byte [rbx]
dec al
cmp al, 0x1f
ja 0x140007d3b
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140007d29
mov ecx, dword [rsp + 0x7c]
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
and cl, 1
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140002a68
mov dword [0x14000c220], eax
cmp dword [0x14000c240], 0
jne 0x140007d7c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000c224], 0
jne 0x140007d91
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000c220]
jmp 0x140007df4
cmp byte [rbx], 0x22
jne 0x140007da5
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x140007dba
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140007d1b
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r15
ret
Function at 0x14000816c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400081b8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400081b0
cmp dword [rcx + 0x3c], edx
jl 0x1400081b0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400081b0
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 0x1400081b8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x141092058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1410921df
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 0x141092089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109206f
add dl, dl
jne 0x141092096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410920f6
xor eax, eax
add dl, dl
jne 0x1410920a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410921ad
add dl, dl
jne 0x1410920b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410920c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410920d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410920dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410920ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14109207e
mov eax, 1
add dl, dl
jne 0x141092106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141092113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410920fb
sub eax, ebx
mov ebx, 1
jne 0x14109214c
mov ecx, 1
add dl, dl
jne 0x14109212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14109213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141092123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141092168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141092175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109215d
cmp eax, 0x7d00
jae 0x14109219b
cmp eax, 0x500
jb 0x141092196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109207e
cmp eax, 0x7f
ja 0x14109219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410921d2
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 0x14109207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x14082c000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x14082c00a
jmp 0x14082e00f
jmp fcn.1404ee058
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
movabs r12, 0xd119a000f16f3ccb
invalid
Function at 0x14000594c
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 0x14000597a
xor eax, eax
jmp 0x140005a60
cmp qword [rcx + 0x68], 0
je 0x14000598b
call fcn.140006bec
jmp 0x140005a60
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400059a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400059a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400059d6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140036f50
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 0x140005a5a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140005a0d
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 0x140005a36
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14003e4d0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140005a5a
cmp rsi, rbx
ja 0x140005a14
test rsi, rsi
je 0x140005a5a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14003e4d0
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 0x14001004c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400100d0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14006a980]
cmp byte [rcx + rax], 0
je 0x1400100d0
dec r8
sub rdx, 1
jne 0x1400100b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140029300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140012e9a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140012e7d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140012e68

Function at 0x140029314
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140012ed2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140012eb5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140012ea0
Function at 0x1400356d4
Capabilities:
Parse pe header

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

Function at 0x14004b690
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14004b480
Function at 0x14005171c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14005174e
call fcn.140041308
mov dword [rax], 0x16
call fcn.14003cb84
jmp 0x14005186d
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14005186d
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14005186d
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14005177d
lock or dword [rcx + 0x14], 0x10
jmp 0x14005186d
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140051791
call fcn.140051f64
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400502ac
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14005247c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14005185b
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140051826
mov rcx, rsi
call fcn.1400502ac
cmp eax, edi
je 0x140051811
mov rcx, rsi
call fcn.1400502ac
cmp eax, 0xfffffffe
je 0x140051811
mov rcx, rsi
call fcn.1400502ac
movsxd rbx, eax
lea r14, [0x1400e0410]
mov rcx, rsi
sar rbx, 6
call fcn.1400502ac
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140051818
lea rdx, [0x140087420]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140051826
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14005184a
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14005184a
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14005184a
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140051870
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140051ce4
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.140035380
sub rsp, rax
mov rax, qword [0x140087078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400502ac
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140051d33
mov rax, rbp
jmp 0x140051e3b
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 + 0xe0410]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140052c54
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xe0410]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140051e37
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 0x140051e37
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140052c54
test rax, rax
js 0x140051e37
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140051e37
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140051e29
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140051e29
cmp byte [rcx], 0xd
jne 0x140051e0f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140051e1e
cmp byte [rcx + 1], 0xa
jne 0x140051e1e
inc rcx
jmp 0x140051e1e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x87470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140051df1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140051e3b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400351a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret