joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010188
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 [0x140019760], eax
call fcn.140010b30
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 [0x140019760], 0
jne case.default.0x1400101de
mov ecx, 1
call fcn.140010b30
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]
xchg edi, eax
pushfq
sub al, 0xfe
mov ecx, 0xe7fe95
invalid
xchg ebp, eax
invalid
sar dword [rcx + 0x296b4941], 0xd8
jae 0x14002affa
test byte [rbx - 0x2c9a1e0c], dh
jmp 0x14002afff
Function at 0x14000c504
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 [0x140017850], eax
call fcn.14000c248
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 [0x140017850], 0
jne case.default.0x14000c55a
mov ecx, 1
call fcn.14000c248
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]
jmp rbp
Function at 0x1400017a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
sub rsp, 0x448
mov r8, rcx
lea r9, [rax + 0x10]
lea rcx, [rsp + 0x40]
mov edx, 0x200
call qword [sym.imp.ntdll.dll__vsnwprintf]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
add rsp, 0x448
ret
Function at 0x140001b50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.ntdll.dll_RtlNormalizeProcessParams]
mov rbx, qword [rax + 0x78]
test rbx, rbx
je 0x140001b85
cmp word [rbx], 0
jne 0x140001b89
mov rbx, qword [rax + 0x68]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call fcn.140001990
mov rax, qword gs:[0x30]
mov esi, dword [rsp + 0x48]
mov rcx, qword [rax + 0x60]
mov eax, dword [rsp + 0x50]
lea edx, [rsi*8 + 8]
mov rcx, qword [rcx + 0x30]
lea r8, [rdx + rax*2]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x140001be3
mov edx, 0xc0000017
jmp 0x140001c12
lea eax, [rsi + 1]
mov rdx, rdi
lea r8, [rdi + rax*8]
mov rcx, rbx
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.140001990
mov ecx, dword [rsp + 0x48]
mov rdx, rdi
call fcn.140001810
mov edx, eax
mov rcx, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ntdll.dll_NtTerminateProcess]
Function at 0x140001c30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov rax, rsp
push rsi
push r14
sub rsp, 0x158
mov r14, rdx
mov qword [rdx], 0
xor edx, edx
mov dword [rax + 0x10], 0
mov rsi, rcx
lea r9, [rax + 0x10]
xor r8d, r8d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001dcf
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x178]
mov qword [rsp + 0x180], rbp
add r8, r8
mov qword [rsp + 0x150], rdi
mov rdx, qword [rax + 0x60]
mov rcx, qword [rdx + 0x30]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x178]
xor r9d, r9d
add r8d, r8d
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebp, eax
test eax, eax
js 0x140001da1
mov qword [rsp + 0x170], rbx
xor ebx, ebx
cmp dword [rdi], ebx
jbe 0x140001d99
nop
mov ecx, ebx
lea rax, [rsp + 0x20]
imul rcx, rcx, 0x128
mov edx, 2
add rcx, 8
add rcx, rdi
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001d00
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x48]
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rax + 0x20], rcx
mov rcx, rsi
movzx eax, word [rsp + 0x46]
add rdx, rax
call qword [sym.imp.ntdll.dll__stricmp]
test eax, eax
je 0x140001d8f
inc ebx
cmp ebx, dword [rdi]
jb 0x140001ce0
jmp 0x140001d99
mov rax, qword [rsp + 0x30]
xor ebp, ebp
mov qword [r14], rax
mov rbx, qword [rsp + 0x170]
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x150]
mov eax, ebp
mov rbp, qword [rsp + 0x180]
add rsp, 0x158
pop r14
pop rsi
ret
Function at 0x140001de0
Capabilities:
Disable driver code integrity
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
xor edi, edi
mov eax, 0x5a4d
mov r15, rcx
mov qword [r8], rdi
mov dword [rsp + 0xb0], edi
cmp word [rcx], ax
jne 0x140001ebd
movsxd r9, dword [rcx + 0x3c]
add r9, rcx
cmp dword [r9], 0x4550
jne 0x140001ebd
mov ecx, 0x78
mov edx, 0x20b
cmp word [r9 + 0x18], dx
mov eax, 0x88
mov ebp, edi
cmovne eax, ecx
mov ecx, dword [rax + r9]
mov eax, dword [rax + r9 + 4]
lea r13, [r15 + rcx]
mov r12d, dword [r13 + 0x20]
mov esi, dword [r13 + 0x18]
add r12, r15
mov dword [rsp + 0x20], eax
mov eax, dword [r13 + 0x1c]
add rax, r15
mov dword [rsp + 0xc8], ecx
mov qword [rsp + 0x30], rax
mov eax, dword [r13 + 0x24]
add rax, r15
sub esi, 1
mov qword [rsp + 0x28], rax
js 0x140001ebd
nop dword [rax]
nop dword [rax + rax]
lea ebx, [rsi + rbp]
sar ebx, 1
lea rcx, str.CiInitialize
movsxd r14, ebx
mov edx, dword [r12 + r14*4]
add rdx, r15
call sub.ntdll.dll_strcmp
test eax, eax
jns 0x140001eb4
lea esi, [rbx - 1]
jmp 0x140001eb9
jle 0x140001ed0
lea ebp, [rbx + 1]
cmp esi, ebp
jge 0x140001e90
xor eax, eax
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp esi, ebp
jl 0x140001ebd
cmp ebx, dword [r13 + 0x14]
jge 0x140001ebd
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + r14*2]
mov ecx, dword [rcx + rax*4]
mov eax, dword [rsp + 0xc8]
cmp ecx, eax
jb 0x140001eff
add eax, dword [rsp + 0x20]
cmp ecx, eax
jb 0x140001ebd
mov rsi, rcx
add rsi, r15
je 0x140001ebd
mov rax, qword gs:[0x30]
mov ebx, edi
mov rcx, qword [rax + 0x60]
mov eax, 0x3fab
cmp word [rcx + 0x120], ax
jb 0x140001f70
mov ebp, edi
nop word [rax + rax]
lea eax, [rbp + 1]
mov ecx, ebx
add rcx, rsi
cmp byte [rcx], 0xe8
cmovne eax, ebp
mov ebp, eax
cmp eax, 1
ja 0x140001f9f
lea rdx, [rsp + 0x38]
call section..text
test dword [rsp + 0x59], 0x1000
jne 0x140001fa9
movzx eax, byte [rsp + 0x38]
add ebx, eax
cmp ebx, 0x100
jb 0x140001f30
jmp 0x140001fa9
mov ecx, ebx
add rcx, rsi
cmp byte [rcx], 0xe9
je 0x140001f9f
lea rdx, [rsp + 0x38]
call section..text
test dword [rsp + 0x59], 0x1000
jne 0x140001fa9
movzx eax, byte [rsp + 0x38]
add ebx, eax
cmp ebx, 0x100
jb 0x140001f70
jmp 0x140001fa9
mov eax, dword [rcx + 1]
mov dword [rsp + 0xb0], eax
movsxd rcx, dword [rsp + 0xb0]
add rbx, rsi
add rcx, 5
mov esi, 0xd89
add rbx, rcx
mov ecx, edi
add rcx, rbx
cmp word [rcx], si
je 0x140002021
lea rdx, [rsp + 0x38]
call section..text
test dword [rsp + 0x59], 0x1000
jne 0x140001fed
movzx eax, byte [rsp + 0x38]
add edi, eax
cmp edi, 0x100
jb 0x140001fc0
mov eax, dword [rsp + 0xb0]
movsxd rcx, eax
mov edx, edi
add rdx, rcx
mov rcx, qword [rsp + 0xb8]
sub rdx, r15
add rcx, 6
add rdx, rbx
add rcx, rdx
mov rdx, qword [rsp + 0xc0]
mov qword [rdx], rcx
jmp 0x140001ebf
mov eax, dword [rcx + 2]
jmp 0x140001ff4
Function at 0x140001000
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d8]
mov rax, qword [0x140009200]
xor rax, rbp
mov qword [rbp + 0x658], rax
lea rcx, [0x14000b0a4]
call fcn.140001ed0
lea rax, [rbp + 0x370]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x3f8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov edx, 0x68
lea rcx, [rbp + 0x370]
call fcn.1400014b0
mov edx, 0x18
lea rcx, [rbp + 0x3f8]
call fcn.1400014b0
mov dword [rbp + 0x370], 0x68
mov r8d, 0x104
lea rdx, [rbp + 0x240]
lea rcx, str.WINDIR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x1400010e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetEnvironmentVariableA_Failed_With_Error_:__d__n
call fcn.140001820
xor eax, eax
jmp 0x1400011e7
mov r9, qword [rbp + 0x680]
lea r8, [rbp + 0x240]
lea rdx, str._sSystem32_s
lea rcx, [rbp + 0x10]
call fcn.140001ac0
lea rdx, [rbp + 0x10]
lea rcx, str._n_i__Running_:___s__...
call fcn.140001820
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x370]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001179
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateProcessA_Failed_with_Error_:__d__n
call fcn.140001820
xor eax, eax
jmp 0x1400011e7
lea rcx, str.___DONE__n
call fcn.140001820
mov rax, qword [rbp + 0x688]
mov ecx, dword [rbp + 0x408]
mov dword [rax], ecx
mov rax, qword [rbp + 0x690]
mov rcx, qword [rbp + 0x3f8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x698]
mov rcx, qword [rbp + 0x400]
mov qword [rax], rcx
mov rax, qword [rbp + 0x688]
mov eax, dword [rax]
test rax, rax
je 0x1400011e5
mov rax, qword [rbp + 0x690]
cmp qword [rax], 0
je 0x1400011e5
mov rax, qword [rbp + 0x698]
cmp qword [rax], 0
je 0x1400011e5
mov eax, 1
jmp 0x1400011e7
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140006640]
call fcn.140001ca0
mov rax, rdi
mov rcx, qword [rbp + 0x658]
xor rcx, rbp
call fcn.140002060
lea rsp, [rbp + 0x668]
pop rdi
pop rbp
ret
Function at 0x140001220
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x14000b0a4]
call fcn.140001ed0
mov dword [rbp + 0x64], 6
call qword [sym.imp.ucrtbased.dll_clock]
mov dword [rbp + 4], eax
mov edx, dword [rbp + 0x64]
lea rcx, str._i__Sleeping_for__d_sec_n
call fcn.140001820
imul eax, dword [rbp + 0x64], 0x3e8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.ucrtbased.dll_clock]
mov dword [rbp + 0x24], eax
mov edx, dword [rbp + 0x24]
lea rcx, str._i__Sleep_ended__end_t___ld_cycles_n
call fcn.140001820
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x24]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x140006a28]
movsd xmm1, qword [0x140006a20]
comisd xmm1, xmm0
jbe 0x1400012ad
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x24]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x140006a28]
movsd qword [rbp + 0x48], xmm0
movsd xmm1, qword [rbp + 0x48]
movq rdx, xmm1
lea rcx, str.Total_time_taken_by_CPU:__f_n
call fcn.140001820
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400012f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x140009200]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14000b0a4]
call fcn.140001ed0
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
call fcn.140001220
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp + 0x130]
xor edx, edx
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rbp + 0x138]
mov qword [rcx], rax
mov rax, qword [rbp + 0x138]
cmp qword [rax], 0
jne 0x1400013b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_t____VirtualAllocEx_Failed_With_Error_:__d__n
call fcn.140001820
xor eax, eax
jmp 0x14000147d
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
lea rcx, str._n_i__Allocated_Memory_At_:_0x_p__n
call fcn.140001820
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x130]
mov r8, qword [rbp + 0x128]
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001407
mov rax, qword [rbp + 0x130]
cmp qword [rbp + 8], rax
je 0x14000141f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____WriteProcessMemory_Failed_With_Error_:__d__n
call fcn.140001820
xor eax, eax
jmp 0x14000147d
mov rdx, qword [rbp + 8]
lea rcx, str._i__Successfully_Written__d_Bytes_n
call fcn.140001820
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, qword [rbp + 0x130]
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140001478
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_t____VirtualProtectEx_Failed_With_Error_:__d__n
call fcn.140001820
xor eax, eax
jmp 0x14000147d
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140006510]
call fcn.140001ca0
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.140002060
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14000c3b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14000c493
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000c493
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000c4b1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000c483
cmp word [rax], 0x5c
jne 0x14000c47c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14000c47c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000c467
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14000c479
test r8b, 0x10
jne 0x14000c47c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14000c47c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400061d0
test edi, edi
jne 0x14000c3e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400061c0
int3

Function at 0x140011fcc
Capabilities:
Parse pe header

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

Function at 0x140021e48
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140021c38
Function at 0x14061f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14061f1df
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 0x14061f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061f06f
add dl, dl
jne 0x14061f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061f0f6
xor eax, eax
add dl, dl
jne 0x14061f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061f1ad
add dl, dl
jne 0x14061f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14061f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14061f07e
mov eax, 1
add dl, dl
jne 0x14061f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061f0fb
sub eax, ebx
mov ebx, 1
jne 0x14061f14c
mov ecx, 1
add dl, dl
jne 0x14061f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14061f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061f15d
cmp eax, 0x7d00
jae 0x14061f19b
cmp eax, 0x500
jb 0x14061f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061f07e
cmp eax, 0x7f
ja 0x14061f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14061f1d2
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 0x14061f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002757
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002d010]
jne 0x14000212a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002126
repz ret
ror rcx, 0x10
jmp 0x1400026b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002e6f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14002e7e8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002735
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14002e6f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140002757
mov rax, qword [rsp + 0x88]
mov qword [0x14002e7e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002e788], rax
mov rax, qword [0x14002e7e8]
mov qword [0x14002e660], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002e770], rax
mov dword [0x14002e650], 0xc0000409
mov dword [0x14002e654], 1
mov rax, qword [0x14002d010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002d018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002e6e8], eax
mov ecx, 1
call fcn.1400052e4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400260c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002e6e8], 0
jne 0x1400027de
mov ecx, 1
call fcn.1400052e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400018ec
Capabilities:
Parse pe header

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

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 rdx, qword [0x140003050]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010c9
mov rdx, qword [rbx]
mov rcx, qword [0x140003018]
test rcx, rcx
jne 0x1400010d8
mov rcx, qword [rbx]
mov r9, qword [0x140003040]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
lea rax, [0x140002200]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x1400021f0]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140003048]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400349f0
Capabilities:
Parse pe header

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

Function at 0x14003c174
Capabilities:
Parse pe header

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