joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e760
Capabilities:
Query environment variable

Disassembly:
push r15
mov eax, 0x10088
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1400a6730
sub rsp, rax
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov word [rsp + 0x80], dx
lea r15, [rsp + 0x30]
movzx eax, byte [rbp]
mov word [rsp + 0x30], cx
test al, al
je 0x14003e82d
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop word cs:[rax + rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400b79b4
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14003e80e
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14003e800
test rsi, rsi
je 0x1400b79b4
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14003e7c0
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14003e85c
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10088
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14003e870
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
movzx eax, byte [rcx]
mov qword [rsp + 0xd8], rdx
xor edx, edx
mov rbp, rcx
lea r15, [rsp + 0x30]
mov word [rsp + 0x30], dx
test al, al
je 0x14003e92d
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400b79ba
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14003e90e
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14003e900
test rsi, rsi
je 0x1400b79ba
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14003e8c0
mov rdx, qword [rsp + 0xd8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003e960
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor edx, edx
movzx eax, byte [rcx]
mov word [rsp + 0x30], dx
mov rbp, rcx
lea r15, [rsp + 0x30]
test al, al
je 0x14003ea1d
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop word cs:[rax + rax]
nop
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400b79c0
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14003e9fe
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14003e9f0
test rsi, rsi
je 0x1400b79c0
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14003e9b0
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140056b30
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, qword [0x1400dca10]
mov rsi, rcx
test rbx, rbx
je 0x140056bb0
mov rax, qword [0x1400caa00]
mov rcx, qword [rax + 0x48]
cmp rbx, rcx
je 0x140056ba0
mov rdx, qword [0x1400dcc48]
test rdx, rdx
je 0x140056ca8
mov rcx, rbx
mov rbx, qword [sym.imp.python39.dll_PyNumber_InPlaceAdd]
call rbx
mov rcx, rax
mov rdx, rsi
mov rax, rbx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rbx, qword [sym.imp.python39.dll_PyNumber_InPlaceAdd]
jmp 0x140056b81
lea r15, str.NUITKA_ONEFILE_BINARY
mov rcx, r15
call fcn.14003e760
test rax, rax
je 0x140056cc8
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python39.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r13, r14
lea r12, [r15 + 0x28]
mov word [rsp + 0x40], cx
lea rbp, [rsp + 0x3a]
lea rdi, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov eax, 0x4e
nop
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, r15
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400b7a32
cmp word [r13], 0
movzx edx, word [rsp + 0x3c]
mov rax, r13
je 0x140056c4e
nop word [rax + rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x140056c40
test rbx, rbx
je 0x1400b7a32
mov word [rax], dx
add r15, 1
xor edx, edx
add r13, 2
mov word [rax + 2], dx
movzx eax, byte [r15]
test al, al
jne 0x140056c00
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python39.dll__PyRuntime]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rax + 0x1f0]
call fcn.140056a50
mov rbx, rax
mov qword [0x1400dca10], rbx
jmp 0x140056b52
lea rcx, [0x1400c6cb8]
call qword [sym.imp.python39.dll_PyUnicode_FromString]
mov qword [0x1400dcc48], rax
mov rdx, rax
jmp 0x140056b72
mov rbx, qword [0x1400dca20]
test rbx, rbx
jne 0x140056c96
cmp byte [0x1400dcc42], 0
je 0x140056d06
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400dca40]
call qword [sym.imp.python39.dll_PyUnicode_FromWideChar]
mov qword [0x1400dca20], rax
mov rbx, rax
test rax, rax
je 0x140056d12
add qword [rax], 1
jmp 0x140056c96
mov ecx, 1
call fcn.14003f0d0
jmp 0x140056cdd
call qword [sym.imp.python39.dll_PyErr_Print]
call sub.msvcrt.dll_abort
nop
nop
Function at 0x140058c80
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.14003e760
test rax, rax
je 0x140058de0
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python39.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r15, r14
lea r12, [rsi + 0x28]
mov word [rsp + 0x40], cx
mov r13, rax
lea rbp, [rsp + 0x3a]
mov eax, 0x4e
lea rdi, [rsp + 0x3c]
nop word cs:[rax + rax]
nop dword [rax]
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, rsi
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400b7a46
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x140058d3e
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x140058d30
test rbx, rbx
je 0x1400b7a46
mov word [rax], dx
add rsi, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [rsi]
test al, al
jne 0x140058cf0
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python39.dll__PyRuntime]
mov rdx, qword [0x1400dd380]
mov rsi, qword [rax + 0x1f0]
mov rax, qword [0x1400caa00]
mov rbx, qword [rax + 0x1d0]
test rdx, rdx
je 0x140058e30
mov r8, rbx
mov rcx, rsi
call fcn.140042f80
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.1400546d0
sub qword [rbx], 1
jne 0x140058dcc
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [rdx + 0x30]
mov rax, qword [rsp + 0x28]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1400dca18]
lea rsi, [0x1400dca18]
test bl, bl
je 0x140058e00
mov rax, qword [0x1400dca20]
lea rsi, [0x1400dca20]
test rax, rax
jne 0x140058dcc
cmp byte [0x1400dcc42], 0
je 0x140058e5d
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400dca40]
call qword [sym.imp.python39.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x140058e67
add qword [rax], 1
jmp 0x140058dcc
mov rdx, qword [0x1400dd2f8]
mov rdi, qword [rax + 0x1c0]
test rdx, rdx
je 0x140058e72
mov r8, rdi
mov rcx, rsi
call fcn.140042f80
mov qword [0x1400dd380], rax
mov rdx, rax
jmp 0x140058d96
movzx ecx, bl
call fcn.14003f0d0
jmp 0x140058e0e
call qword [sym.imp.python39.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1400c2ee0]
call qword [sym.imp.python39.dll_PyImport_ImportModule]
mov qword [0x1400dd2f8], rax
mov rdx, rax
test rax, rax
jne 0x140058e43
lea r8, str._Unexpected_failure_of_hard_import_of_os_
lea rdx, str.IMPORT_HARD_OS
lea rcx, str._s_:__s_n
call fcn.1400404b0
call sub.msvcrt.dll_abort
nop
nop
Function at 0x14009ceb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400dca09], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x14009cf58
lea rdx, [0x1400c6502]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14009cfc0
mov rbx, qword [0x1400dc8a8]
jmp 0x14009cef5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, r12
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x14009cef0
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x14009cf47
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.1400928f0
mov r8, rax
cmp rdi, rbx
jne 0x14009cf30
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1400dc8a8], rax
mov ebx, dword [rax]
mov qword [0x1400dc8a8], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400dc8a8], rdx
call fcn.14009bf90
cmp eax, ebx
jne 0x14009d047
mov byte [0x1400dca09], 1
jmp 0x14009ced0
cmp byte [0x1400dca08], 0
jne 0x14009cee7
mov rbx, qword [sym.imp.python39.dll_PyDict_New]
call rbx
mov qword [0x1400dd588], rax
call rbx
mov qword [0x1400dd580], rax
call rbx
mov qword [0x1400dd578], rax
call rbx
mov qword [0x1400dd570], rax
call rbx
mov qword [0x1400dd568], rax
call rbx
mov qword [0x1400dd560], rax
call rbx
mov qword [0x1400dd558], rax
call rbx
mov byte [0x1400dca08], 1
mov qword [0x1400dd550], rax
mov rax, qword [sym.imp.python39.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xdc0
mov qword [0x1400dc8a0], rax
jmp 0x14009cee7
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400a5410
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400b69d0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400b69d0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1400a60e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400dd9e8]
test eax, eax
je 0x1400a617a
lea rax, [0x1400dd9c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400dd9f0]
mov qword [rbp - 8], rax
jmp 0x1400a615e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400a6152
cmp qword [rbp - 0x10], 0
je 0x1400a6152
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400a6118
lea rax, [0x1400dd9c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400a617b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400a6280
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400a62a8
mov eax, 0
jmp 0x1400a62f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400a62d1
mov eax, 0
jmp 0x1400a62f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400a62f1
mov eax, 0
jmp 0x1400a62f6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400a62fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400a637a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400a6371
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400a6371
mov rax, qword [rbp - 8]
jmp 0x1400a638f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400a6344
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001a226
Capabilities:
Write file on windows

Disassembly:
jmp 0x140043730
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400740f8]
call fcn.14001b48c
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140043788
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14004389a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140043833
cmp qword [rbp + 0x28], 0
jle 0x140043833
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400437d1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001b338
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140043889
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140043889
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14001abb3
Capabilities:
Terminate process

Disassembly:
jmp 0x14004a2e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001ad5c
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400442c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400442fd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001b469
add rsp, 0x58
ret
Function at 0x14001ae33
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004ae10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004ae30
xor al, al
jmp 0x14004aeb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14004ae43
xor al, al
jmp 0x14004aeb1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14004ae6d
xor al, al
jmp 0x14004aeb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14004ae81
xor al, al
jmp 0x14004aeb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14004ae93
xor al, al
jmp 0x14004aeb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14004aeaf
xor al, al
jmp 0x14004aeb1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001b441
Capabilities:
Write file on windows

Disassembly:
jmp 0x140034a60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140068040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x1400740f8]
call fcn.14001b48c
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140034ac7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140034ace
mov al, 1
jmp 0x140034c3e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14001a5b4
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14001a5b4
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14001b02c
movzx eax, al
test eax, eax
je 0x140034b31
xor al, al
jmp 0x140034c3e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140034ba4
cmp dword [rbp + 0x160], 1
je 0x140034baf
cmp dword [rbp + 0x160], 3
je 0x140034c2d
jmp 0x140034c3c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140034bff
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140034bff
xor al, al
jmp 0x140034c3e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140034c1a
mov dword [rbp + 0x154], 1
jmp 0x140034c24
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140034c3e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140034c3e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140057ca0]
call fcn.14001b0e5
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14001aa19
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400486c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001b54f
movzx eax, al
test eax, eax
jne 0x1400486e0
mov ecx, 7
call fcn.14001b0fe
nop
mov byte [rsp + 0x20], 0
call fcn.14001b167
mov byte [rsp + 0x21], al
cmp dword [0x140068a00], 1
jne 0x140048704
mov ecx, 7
call fcn.14001b0fe
nop
jmp 0x14004875c
cmp dword [0x140068a00], 0
jne 0x140048757
mov dword [0x140068a00], 1
lea rdx, [0x140054770]
lea rcx, [0x140054440]
call fcn.14001a9dd
test eax, eax
je 0x140048738
mov eax, 0xff
jmp 0x140048861
lea rdx, [0x140054330]
lea rcx, [section..rdata]
call fcn.14001b149
mov dword [0x140068a00], 2
jmp 0x14004875c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001b0c7
call fcn.14001aeab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400487b9
mov rcx, qword [rsp + 0x30]
call fcn.14001a802
movzx eax, al
test eax, eax
je 0x1400487b9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140075020]
nop
call fcn.14001af9b
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400487ed
mov rcx, qword [rsp + 0x38]
call fcn.14001a802
movzx eax, al
test eax, eax
je 0x1400487ed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001b3f1
nop
call fcn.140048910
mov dword [rsp + 0x28], eax
call fcn.14001ae33
movzx eax, al
test eax, eax
jne 0x14004880c
mov ecx, dword [rsp + 0x28]
call fcn.14001a195
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004881b
call fcn.14001b432
nop
xor edx, edx
mov cl, 1
call fcn.14001a77b
mov eax, dword [rsp + 0x28]
jmp 0x140048861
add rsp, 0x68
ret
Function at 0x140004e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x21]
mov dword [rsp + 0x40], 1
movdqa xmm0, xmmword [0x140026770]
movdqu xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x44], 1
mov dword [rsp + 0x30], 0x626f4a6e
mov dword [rsp + 0x34], 0x656a624f
mov word [rsp + 0x38], 0x7463
mov byte [rsp + 0x3a], 0
call fcn.140007600
test eax, eax
je 0x140004eae
mov r9d, 0x10
mov dword gs:[0x16b4], eax
lea r8, [rsp + 0x40]
mov edx, 0x12
mov rcx, rbx
call fcn.1400077b0
mov ebx, eax
test eax, eax
jns 0x140004edb
jmp 0x140004eb3
mov ebx, 0xffffffff
mov dword [0x140036030], 0x40000b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140036030]
mov dword [0x140036038], ebx
mov dword [0x140036034], eax
call fcn.1400078a0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140012ea0
add rsp, 0x60
pop rbx
ret