joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026d40
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.140089f40
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 0x140026e05
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 0x14009ae58
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x140026de6
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x140026dd8
test rsi, rsi
je 0x14009ae58
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x140026d98
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 0x140026e34
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 0x140026e50
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 0x140026f0d
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 0x14009ae5e
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x140026eee
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x140026ee0
test rsi, rsi
je 0x14009ae5e
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x140026ea0
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 0x14003dc10
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 [0x1400bf190]
mov rsi, rcx
test rbx, rbx
je 0x14003dc90
mov rax, qword [0x1400adf10]
mov rcx, qword [rax + 0x48]
cmp rbx, rcx
je 0x14003dc80
mov rdx, qword [0x1400bf3c8]
test rdx, rdx
je 0x14003dd88
mov rcx, rbx
mov rbx, qword [sym.imp.python310.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.python310.dll_PyNumber_InPlaceAdd]
jmp 0x14003dc61
lea r15, str.NUITKA_ONEFILE_BINARY
mov rcx, r15
call fcn.140026d40
test rax, rax
je 0x14003dda8
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python310.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 0x14009af10
cmp word [r13], 0
movzx edx, word [rsp + 0x3c]
mov rax, r13
je 0x14003dd2e
nop word [rax + rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x14003dd20
test rbx, rbx
je 0x14009af10
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 0x14003dce0
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rax + 0x1f0]
call fcn.14003db50
mov rbx, rax
mov qword [0x1400bf190], rbx
jmp 0x14003dc32
lea rcx, [0x1400aa530]
call qword [sym.imp.python310.dll_PyUnicode_FromString]
mov qword [0x1400bf3c8], rax
mov rdx, rax
jmp 0x14003dc52
mov rbx, qword [0x1400bf1a8]
test rbx, rbx
jne 0x14003dd76
cmp byte [0x1400bf3c2], 0
je 0x14003dde6
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400bf1c0]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov qword [0x1400bf1a8], rax
mov rbx, rax
test rax, rax
je 0x14003ddf2
add qword [rax], 1
jmp 0x14003dd76
mov ecx, 1
call fcn.140027960
jmp 0x14003ddbd
call qword [sym.imp.python310.dll_PyErr_Print]
call sub.msvcrt.dll_abort
nop
nop
call sub.msvcrt.dll_abort
nop
Function at 0x14003f730
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.140026d40
test rax, rax
je 0x14003f890
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python310.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 [rax + 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 0x14009af2e
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x14003f7e6
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x14003f7d8
test rbx, rbx
je 0x14009af2e
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 0x14003f798
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rdx, qword [0x1400bfb00]
mov rsi, qword [rax + 0x1f0]
mov rax, qword [0x1400adf10]
mov rbx, qword [rax + 0x1c0]
test rdx, rdx
je 0x14003f8e0
mov r8, rbx
mov rcx, rsi
call fcn.140029dc0
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.14003b440
sub qword [rbx], 1
jne 0x14003f874
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 [0x1400bf1a0]
lea rsi, [0x1400bf1a0]
test bl, bl
je 0x14003f8b0
mov rax, qword [0x1400bf1a8]
lea rsi, [0x1400bf1a8]
test rax, rax
jne 0x14003f874
cmp byte [0x1400bf3c2], 0
je 0x14003f90d
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400bf1c0]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x14003f917
add qword [rax], 1
jmp 0x14003f874
mov rdx, qword [0x1400bfa78]
mov rdi, qword [rax + 0x1b0]
test rdx, rdx
je 0x14003f922
mov r8, rdi
mov rcx, rsi
call fcn.140029dc0
mov qword [0x1400bfb00], rax
mov rdx, rax
jmp 0x14003f83e
movzx ecx, bl
call fcn.140027960
jmp 0x14003f8be
call qword [sym.imp.python310.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1400a5f3e]
call qword [sym.imp.python310.dll_PyImport_ImportModule]
mov qword [0x1400bfa78], rax
mov rdx, rax
test rax, rax
je 0x14009af2e
jmp 0x14003f8f3
Function at 0x1400801b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400bf189], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x140080258
lea rdx, [0x1400a9cba]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400802c0
mov rbx, qword [0x1400bf028]
jmp 0x1400801f5
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 0x1400801f0
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x140080247
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.14006f5e0
mov r8, rax
cmp rdi, rbx
jne 0x140080230
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 [0x1400bf028], rax
mov ebx, dword [rax]
mov qword [0x1400bf028], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400bf028], rdx
call fcn.14007f2e0
cmp eax, ebx
jne 0x140080347
mov byte [0x1400bf189], 1
jmp 0x1400801d0
cmp byte [0x1400bf188], 0
jne 0x1400801e7
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x1400bfd08], rax
call rbx
mov qword [0x1400bfd00], rax
call rbx
mov qword [0x1400bfcf8], rax
call rbx
mov qword [0x1400bfcf0], rax
call rbx
mov qword [0x1400bfce8], rax
call rbx
mov qword [0x1400bfce0], rax
call rbx
mov qword [0x1400bfcd8], rax
call rbx
mov byte [0x1400bf188], 1
mov qword [0x1400bfcd0], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x1400bf020], rax
jmp 0x1400801e7
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140088c20
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.14009a3b0
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.14009a3b0
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 0x1400898f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400c01c8]
test eax, eax
je 0x14008998a
lea rax, [0x1400c01a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400c01d0]
mov qword [rbp - 8], rax
jmp 0x14008996e
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 0x140089962
cmp qword [rbp - 0x10], 0
je 0x140089962
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 0x140089928
lea rax, [0x1400c01a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14008998b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140089a90
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 0x140089ab8
mov eax, 0
jmp 0x140089b06
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 0x140089ae1
mov eax, 0
jmp 0x140089b06
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 0x140089b01
mov eax, 0
jmp 0x140089b06
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140089b0c
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 0x140089b8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140089b81
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 0x140089b81
mov rax, qword [rbp - 8]
jmp 0x140089b9f
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 0x140089b54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000d2b8
Capabilities:
Parse pe header

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

Function at 0x140019968
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 0x1400199d7
xor ecx, ecx
call qword [0x14002b0b8]
test rax, rax
je 0x1400199d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400199d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400199d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400199d7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400199d7
cmp dword [rcx + 0xf8], 0
je 0x1400199d7
mov ecx, ebx
call fcn.140019a88
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.140019864
nop
cmp dword [rbp + 0x20], 0
je 0x140019a25
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140019a30
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140019968

Function at 0x140019b6c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019968

Function at 0x140029bd0
Capabilities:
Parse pe header

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

Disassembly:
call fcn.140b9a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b9a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9a06f
add dl, dl
jne 0x140b9a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9a0f6
xor eax, eax
add dl, dl
jne 0x140b9a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9a1ad
add dl, dl
jne 0x140b9a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b9a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b9a07e
mov eax, 1
add dl, dl
jne 0x140b9a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9a0fb
sub eax, ebx
mov ebx, 1
jne 0x140b9a14c
mov ecx, 1
add dl, dl
jne 0x140b9a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b9a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b9a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b9a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9a15d
cmp eax, 0x7d00
jae 0x140b9a19b
cmp eax, 0x500
jb 0x140b9a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9a07e
cmp eax, 0x7f
ja 0x140b9a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b9a1d2
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 0x140b9a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140f8ca20
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f8ca2a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f8ca53
pop rbp
sub rbp, 0x33
sub rbp, 0xf8ca20
sub rsp, 0x20
jmp 0x140f8ca72
mov rax, 0xf8ca20
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x4b9d80ff
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f8ca91
jmp 0x140f8caa8
mov bh, 0x76
invalid
Function at 0x140001000
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x198
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140001070
add rsp, 0x1d8
ret

Function at 0x140001938
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbp, rcx
xor sil, sil
xor ebx, ebx
mov qword [rax + 0x18], rbx
lea r8, [rax + 0x18]
lea edx, [rbx + 1]
lea rcx, [0x140008238]
call fcn.140004de0
test al, al
je 0x1400052ac
mov qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x14000528a
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USERENV.dll_DeleteProfileW]
test eax, eax
je 0x14000527f
lea rdx, [0x140008238]
xor ecx, ecx
call sub.NETAPI32.dll_NetUserDel
test eax, eax
je 0x14000527c
cmp eax, 0x8ad
jne 0x14000527f
mov sil, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x1400052a3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test sil, sil
jne 0x140005356
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, str.An_error_occurred_while_deleting_the__1_user
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64__int_]
mov rdi, rax
mov dl, 0x20
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ebx, word [rax]
mov edx, 3
lea rcx, [0x14000788c]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.cpncfg.dll_class_QString___cdecl_CfgTransform::applicationName_class_QString_]
nop
mov word [rsp + 0x20], bx
xor r9d, r9d
mov r8, rax
lea rdx, [rsp + 0x88]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, sil
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x180593241
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
je 0x18056aa71
mov ebx, 0x9f9d3c90
push r8
add bx, bx
movzx r8d, bl
lea rbx, [0x180573630]
movzx r8d, byte [r10]
push 0x1595d7b7
xor r8d, r11d
and r8d, 0xff
mov r8d, dword [rbx + r8*4]
shr r11d, 8
xor r11d, r8d
sal dword [rsp + 4], 0xc3
inc r10
xor r11d, 0x2b0e0ba4
dec rcx
lea rsp, [rsp + 8]
jne 0x180593261
jmp 0x18056aa6f