joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cb010
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rdx, [0x1402b7820]
mov rcx, qword [rsp + 0x40]
call fcn.14001f4d0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14007c510
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140013ae0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x400
mov r9d, 0xff
mov r8d, 6
mov edx, 0x40000003
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x58]
call fcn.140026cc0
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret

Function at 0x1400cd960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea r8, [0x140262d08]
mov rdx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.14023dff0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
mov ecx, SafeArrayPutElement
call fcn.1400cc790
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400cda69
mov r8d, 0x26200a
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call fcn.1400cc0e0
mov qword [rsp + 0x40], rax
jmp 0x1400cda72
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rsp, 0x88
ret

Function at 0x1400d0290
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400d02d0
xor eax, eax
jmp 0x1400d02f2
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1400d0ca0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rcx, qword [rsp + 0x280]
call fcn.140013ae0
lea rdx, [rsp + 0x3c]
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400d0d0a
lea rdx, [0x1402630e0]
mov rcx, qword [rsp + 0x288]
call fcn.140029e00
lea rdx, [0x1402630e4]
mov rcx, qword [rsp + 0x290]
call fcn.140029e00
xor al, al
jmp 0x1400d0e9e
mov eax, dword [rsp + 0x20]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400d0e9c
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x280]
call fcn.140013ae0
mov r9, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoW
nop
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rdx, [0x1402630e8]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d0d8e
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x48], eax
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d0e90
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
mov r9d, eax
mov r8d, ecx
lea rdx, str.StringFileInfo_04x_04xFileDescription
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
mov r9d, eax
mov r8d, ecx
lea rdx, str.StringFileInfo_04x_04xProductVersion
lea rcx, [rsp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d0e5d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x290]
call fcn.140029e00
nop
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d0e90
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x288]
call fcn.140029e00
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov al, 1
add rsp, 0x278
ret
Function at 0x1400d0eb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.unknown
mov rcx, qword [rsp + 0x48]
call fcn.1400220a0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14007cf20
nop
lea rdx, [0x140262f88]
lea rcx, [rsp + 0x28]
call fcn.14001f5f0
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1400d0fa2
mov dword [rsp + 0x90], 0x238
lea rax, [rsp + 0x94]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400d0f96
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x98], eax
jne 0x1400d0f80
lea rdx, [rsp + 0x28]
mov ecx, dword [rsp + 0xb0]
call fcn.1400d13e0
nop
jmp 0x1400d0f96
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400d0f5f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x28]
call fcn.140037340
movzx eax, al
test eax, eax
je 0x1400d100e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.14001f4d0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x2e0]
call fcn.14007c510
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x40]
call fcn.140026cc0
nop
mov rax, qword [rsp + 0x2e0]
jmp 0x1400d1048
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x2e0]
call fcn.14001f4d0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x40]
call fcn.140026cc0
mov rax, qword [rsp + 0x2e0]
add rsp, 0x2d0
pop rdi
ret
Function at 0x1400d8560
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2a8
mov rax, qword [rsp + 0x2c0]
cmp qword [rax + 8], 0
jne 0x1400d8587
jmp 0x1400d86d7
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov r8d, 0x100
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x48]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400d86d7
mov eax, 3
mov word [rsp + 0x68], ax
mov dword [rsp + 0x70], 0xc354
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov rax, qword [rax + 0xb8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, SafeArrayPutElement
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x80]
mov edx, 0x7533
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x58]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400d86c6
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x2c8]
mov r8, qword [rsp + 0x30]
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x10]
nop
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
nop
add rsp, 0x2a8
pop rdi
pop rsi
ret
Function at 0x1400df940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rdx, [0x14029e13c]
mov rcx, qword [rsp + 0x68]
call fcn.14021c510
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400df971
jmp 0x1400dfa9c
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1402217ac
mov rcx, qword [rsp + 0x28]
call fcn.1402235b4
cdqe
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
call fcn.140223738
mov rcx, qword [rsp + 0x60]
call fcn.1400e03e0
mov qword [rsp + 0x48], rax
mov r8d, 0xffffffff
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400f8ef0
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x30], rax
jle 0x1400df9ee
mov edx, 0x12
mov rcx, qword [rsp + 0x60]
call fcn.1400e07e0
mov rcx, qword [rsp + 0x28]
call fcn.14021c640
nop
jmp 0x1400dfa9c
cmp qword [rsp + 0x30], 0
je 0x1400dfa02
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
jmp 0x1400dfa0b
mov qword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x40]
call fcn.1400f7cf0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400dfa39
mov rcx, qword [rsp + 0x60]
call fcn.1400e07a0
mov rcx, qword [rsp + 0x28]
call fcn.14021c640
nop
jmp 0x1400dfa9c
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.14021c938
cmp qword [rsp + 0x30], rax
jne 0x1400dfa77
lea r9, [fcn.1400f7d90]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1400e0610
nop
jmp 0x1400dfa91
mov edx, 0xa
mov rcx, qword [rsp + 0x60]
call fcn.1400e07e0
mov rcx, qword [rsp + 0x38]
call fcn.1400f7d90
nop
mov rcx, qword [rsp + 0x28]
call fcn.14021c640
nop
add rsp, 0x58
ret

Function at 0x1400dfcc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x8000
mov r8d, 0x8000
xor edx, edx
lea rcx, [0x1402b7b00]
call fcn.14023e690
mov r8d, dword [rsp + 0x20]
lea rdx, [0x1402b7b00]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400dfd11
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jbe 0x1400dfd17
xor eax, eax
jmp 0x1400dfd1e
lea rax, [0x1402b7b00]
add rsp, 0x38
ret
Function at 0x140131530
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x1c], 1
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x58]
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rcx, qword [rsp + 0x50]
call fcn.140162cc0
cmp dword [rsp + 0x60], 0
jne 0x1401315b1
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, qword [rsp + 0x50]
call fcn.140162cc0
nop
add rsp, 0x48
ret
Function at 0x1401c14a0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.14002a910
movzx eax, al
test eax, eax
je 0x1401c14d2
jmp 0x1401c15e5
mov rax, qword [rsp + 0x80]
mov byte [rax + 0xc0], 0
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov rcx, rax
call fcn.140013ae0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rcx, rax
call fcn.1401c3640
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rcx, rax
call fcn.1401c2a70
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rcx, rax
call fcn.1401c2a90
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
add rsp, 0x78
ret
Function at 0x1401d7e50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x1401d7eb4
xor r8d, r8d
lea rdx, [0x14026d2c0]
mov rcx, qword [rsp + 0x60]
call fcn.1401d0670
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
jmp 0x1401d7efa
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400096d0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1400bae10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140029a10
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x1401eb92c
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 0x1401eb966
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401eb96b
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 0x1401eb9b4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14026e640]
cmp byte [rcx + rax], 0
je 0x1401eb9b4
dec r8
sub rdx, 1
jne 0x1401eb99a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

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

Function at 0x14020c94c
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.140225098
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14020c99e
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14020c99e
sub ecx, 1
je 0x14020c997
cmp ecx, 1
je 0x14020c990
xor eax, eax
jmp 0x14020c9a3
mov eax, 3
jmp 0x14020c9a3
mov eax, 1
jmp 0x14020c9a3
mov eax, 2
add rsp, 0x28
ret

Function at 0x14020dda8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14021bfab
call fcn.1402135f0
mov dword [rax], SafeArrayPutElement
call fcn.140213484
xor eax, eax
jmp 0x14021c039
mov rdx, r9
mov rcx, r8
call fcn.14021be48
mov rbx, rax
test rax, rax
je 0x14021c036
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14021bd04]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14021c023
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140213564
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14021c00a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14021c019
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14022b27c
jmp 0x14021c036
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14021c033
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1402208b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x1402208eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140213564
call fcn.1402135f0
mov eax, dword [rax]
jmp 0x140220962
cmp rdi, qword [rbx + 0x18]
ja 0x1402208f7
mov qword [rbx + 0x20], rdi
jmp 0x140220960
cmp byte [rbx + 0x28], 0
lea rsi, [rdi + 1]
je 0x14022090e
mov rcx, qword [rbx + 0x10]
call fcn.14022b27c
mov byte [rbx + 0x28], 0
lea rcx, [rdi*2 + 2]
call fcn.14022b2b8
mov qword [rbx + 0x10], rax
mov r8, rax
neg rax
mov edx, 0
sbb eax, eax
not eax
and eax, 0xc
cmove rdx, rsi
test eax, eax
sete cl
mov byte [rbx + 0x28], cl
mov qword [rbx + 0x18], rdx
test eax, eax
jne 0x140220962
mov ecx, dword [rbx + 0x18]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x1402208d5
mov qword [rbx + 0x20], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140222b54
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 0x140222bc3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140222bc3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140222bc3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140222bc3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140222bc3
cmp dword [rcx + 0x84], 0xe
jbe 0x140222bc3
cmp dword [rcx + 0xf8], 0
je 0x140222bc3
mov ecx, ebx
call fcn.140222c74
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.140222a50
nop
cmp dword [rbp + 0x20], 0
je 0x140222c11
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140222c1c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140222b54

Function at 0x140222d58
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140222b54
Function at 0x140223334
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.14020d5e0
sub rsp, rax
mov rax, qword [0x1402b1300]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140222f64
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140223383
mov rax, rbp
jmp 0x14022348b
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 + 0x2c2230]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140231aec
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2c2230]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140223487
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 0x140223487
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140231aec
test rax, rax
js 0x140223487
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140223487
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140223479
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140223479
cmp byte [rcx], 0xd
jne 0x14022345f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14022346e
cmp byte [rcx + 1], 0xa
jne 0x14022346e
inc rcx
jmp 0x14022346e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2b1740]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140223441
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14022348b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14020d720
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret