joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a698
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
and qword [rax - 0x30], 0
lea r9, [rax - 0x28]
and dword [rax + 8], 0
and dword [rax - 0x38], 0
mov qword [rax - 0x28], rcx
xor ecx, ecx
mov qword [rax - 0x20], rdx
xor edx, edx
mov qword [rax - 0x18], r8
lea r8, [0x14000a9e0]
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000a737
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop dword [rax + rax]
test eax, eax
jne 0x14000a722
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14000a71e
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x60], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rsp + 0x60]
jmp 0x14000a74f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14000a74f
movzx eax, ax
or eax, 0x80070000
add rsp, 0x50
pop rbx
ret
Function at 0x14000bd88
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x14000be63
mov esi, 0x10000
lea rax, [rbx - 0x50000000]
cmp rax, 0x30000000
ja 0x14000bdd8
mov ebx, 0x4fff0000
jmp 0x14000be5a
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [rax + rax]
test rax, rax
je 0x14000be63
cmp dword [rsp + 0x40], esi
jne 0x14000be3e
cmp qword [rsp + 0x38], rsi
jb 0x14000be3e
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop dword [rax + rax]
test rax, rax
jne 0x14000be65
sub rbx, rsi
jmp 0x14000be5a
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x14000bdbf
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14000be7c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
mov esi, 0x10000
test rax, rax
je 0x14000bea4
sub rbx, rax
add rbx, rsi
cmp rbx, rdi
jae 0x14000bf4e
lea rax, [rbx - 0x50000000]
cmp rax, 0x30000000
ja 0x14000bec3
mov ebx, 0x80010000
jmp 0x14000bea4
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [rax + rax]
test rax, rax
je 0x14000bf4e
mov rcx, qword [rsp + 0x38]
cmp dword [rsp + 0x40], esi
jne 0x14000bf2c
cmp rcx, rsi
jb 0x14000bf2c
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop dword [rax + rax]
test rax, rax
jne 0x14000bf50
jmp 0x14000bea1
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14000bea4
mov rax, rsi
sub rax, rcx
add rbx, rax
jmp 0x14000bea4
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000bf68
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
cmp rcx, 0x7ff80000
jbe 0x14000bfaa
lea rsi, [rcx - 0x7ff80000]
cmp rcx, 0xffffffff80000000
jb 0x14000bfaf
mov rbp, 0xfffffffffff80000
jmp 0x14000bfb6
mov esi, 0x10000
lea rbp, [rcx + 0x7ff80000]
mov rdx, qword [0x140018848]
xor edi, edi
mov rax, qword [0x140018838]
test rdx, rdx
jne 0x14000bfda
test rax, rax
je 0x14000bff0
mov rdx, rax
mov qword [0x140018848], rax
cmp qword [rdx + 0x10], rdi
je 0x14000bff0
cmp qword [rdx + 0x10], rsi
jb 0x14000bff0
cmp qword [rdx + 0x10], rbp
jbe 0x14000c13b
mov qword [0x140018848], rax
mov rdx, rax
test rax, rax
je 0x14000c033
mov rcx, rax
test rax, rax
je 0x14000c01d
cmp qword [rcx + 0x10], rdi
je 0x14000c01d
cmp qword [rcx + 0x10], rsi
jb 0x14000c01d
cmp qword [rcx + 0x10], rbp
jbe 0x14000c13b
mov rdx, qword [rdx + 8]
mov qword [0x140018848], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x14000c002
movzx eax, bx
movabs r13, 0xffffffff40000000
sub rbx, rax
lea r14, [rbx - 0x40000000]
cmp rbx, 0x40000000
jbe 0x14000c078
mov rdx, r14
mov rcx, rsi
call fcn.14000bd88
mov rdx, rax
test rax, rax
jne 0x14000c0ec
cmp rbx, r13
jb 0x14000c078
lea r15, [rbx + 0x40000000]
jmp 0x14000c09b
lea r15, [rbx + 0x40000000]
mov rdx, rbp
mov rcx, r15
call fcn.14000be7c
mov rdx, rax
test rax, rax
jne 0x14000c0ec
cmp rbx, 0x40000000
jbe 0x14000c0ae
mov rdx, rbx
mov rcx, r14
call fcn.14000be7c
mov rdx, rax
test rax, rax
jne 0x14000c0ec
cmp rbx, r13
jae 0x14000c0c6
mov rdx, r15
mov rcx, rbx
call fcn.14000bd88
mov rdx, rax
test rax, rax
jne 0x14000c0ec
mov rdx, rbx
mov rcx, rsi
call fcn.14000bd88
mov rdx, rax
test rax, rax
jne 0x14000c0ec
mov rdx, rbp
mov rcx, rbx
call fcn.14000be7c
mov rdx, rax
test rax, rax
je 0x14000c167
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
mov qword [rdx + 0x10], rdi
mov r8d, 0x2a7
mov rax, qword [0x140018838]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x140018838], rdx
mov qword [0x140018848], rdx
mov qword [rcx], rdi
mov rdi, rax
sub rax, 0x60
lea rcx, [rcx - 0x60]
sub r8, 1
jne 0x14000c123
mov qword [rdx + 0x10], rdi
mov rbx, qword [rdx + 0x10]
cmp rbx, rsi
jb 0x14000c167
cmp rbx, rbp
ja 0x14000c167
mov rcx, qword [rbx + 0x48]
mov qword [rdx + 0x10], rcx
mov edx, 0xcc
mov rcx, rbx
lea r8d, [rdx - 0x6c]
call sub.msvcrt.dll_memset
mov rax, rbx
jmp 0x14000c169
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x14000c190
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [rax + rax]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x14000c1c4
xor al, al
jmp 0x14000c202
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x14000c1d5
xor al, al
jmp 0x14000c202
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x14000c1fc
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x14000c1fc
mov al, 1
jmp 0x14000c202
xor al, al
jmp 0x14000c202
add rsp, 0x50
pop rbx
ret
Function at 0x14000c62c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
cmp dword [0x140018858], eax
je 0x14000c65c
mov eax, 0x10dd
jmp 0x14000c76e
mov eax, dword [0x14001885c]
test eax, eax
jne 0x14000c76e
test rbp, rbp
jne 0x14000c677
lea eax, [rbp + 0x57]
jmp 0x14000c76e
test rsi, rsi
jne 0x14000c684
lea eax, [rsi + 6]
jmp 0x14000c76e
cmp qword [rsi], 0
jne 0x14000c69a
mov eax, 6
mov dword [0x14001885c], eax
jmp 0x14000c767
mov ecx, 0x30
call fcn.140001bec
mov rdi, rax
test rax, rax
jne 0x14000c6b4
lea ebx, [rax + 8]
jmp 0x14000c752
mov rcx, qword [rsi]
call fcn.14000c588
mov rcx, rbp
mov rbx, rax
call fcn.14000c588
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
sub rbp, rdx
test dl, dl
je 0x14000c744
cmp rdx, 0x1e
ja 0x14000c744
cmp qword [rbx + 0x50], rax
jne 0x14000c744
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax + rax]
test eax, eax
jne 0x14000c715
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x14000c752
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x28], eax
mov rax, qword [0x140018818]
mov qword [rdi], rax
xor eax, eax
mov qword [0x140018818], rdi
jmp 0x14000c76e
cmp dword [0x140018820], 0
mov ebx, 9
jne 0x14000c75d
mov dword [0x14001885c], ebx
test rdi, rdi
je 0x14000c765
mov rcx, rdi
call fcn.140001c24
mov eax, ebx
mov qword [0x140018840], rsi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c784
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
cmp dword [0x140018858], eax
je 0x14000c7b1
mov eax, 0x10dd
jmp 0x14000c8b3
mov rbx, qword [0x140018850]
jmp 0x14000c7cd
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000c7ba
mov rdi, qword [0x140018828]
test rdi, rdi
je 0x14000c815
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14000c7de
mov rdi, qword [0x140018828]
test rdi, rdi
je 0x14000c815
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140001c24
mov rdi, rbx
test rbx, rbx
jne 0x14000c802
and qword [0x140018828], 0
and qword [0x140018850], 0
mov rdi, qword [0x140018818]
test rdi, rdi
je 0x14000c89d
mov rax, qword [rdi + 0x20]
lea r9, [rsp + 0x30]
mov r8d, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x18]
movzx edx, byte [rax + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax + rax]
cmp dword [rdi + 8], 0
jne 0x14000c88a
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x14000c88a
xor edx, edx
mov rbx, rsi
mov rcx, rsi
and rbx, 0xffffffffffff0000
lea r8d, [rdx + 0x60]
call sub.msvcrt.dll_memset
mov rax, qword [rbx + 0x10]
mov qword [rsi + 0x48], rax
mov qword [rbx + 0x10], rsi
and qword [rdi + 0x20], 0
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140001c24
mov rdi, rbx
test rbx, rbx
jne 0x14000c831
and qword [0x140018818], 0
call fcn.14000c210
and dword [0x140018858], 0
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000c8cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140018858], 0
jne 0x14000c951
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x140018858], ecx
jne 0x14000c951
and qword [0x140018818], 0
and qword [0x140018828], 0
and qword [0x140018850], 0
and dword [0x14001885c], 0
and qword [0x140018840], 0
mov rbx, qword [0x140018838]
jmp 0x14000c948
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax + rax]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14000c925
xor eax, eax
jmp 0x14000c956
mov eax, 0x10dd
add rsp, 0x20
pop rbx
ret
Function at 0x14000cc5c
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x14001885c]
mov rsi, rcx
test eax, eax
jne 0x14000cd01
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
nop dword [rax + rax]
cmp rsi, rax
je 0x14000ccff
mov ecx, 0x10
call fcn.140001bec
mov rdi, rax
test rax, rax
jne 0x14000cca4
lea ebx, [rax + 8]
jmp 0x14000ccd8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000ccd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov ebx, eax
call fcn.140001c24
jmp 0x14000ccd4
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x14000ccea
and qword [0x140018840], 0
mov eax, ebx
mov dword [0x14001885c], ebx
jmp 0x14000cd01
mov rax, qword [0x140018828]
mov qword [rdi], rax
mov qword [rdi + 8], rsi
mov qword [0x140018828], rdi
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d604
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov dword [r11 + 0x18], r8d
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x78]
mov rdi, rdx
mov rsi, qword [rsp + 0x70]
mov r8, rdx
lea rdx, [0x1400143f0]
mov r9d, 0x18
mov rcx, 0xffffffff80000001
test rbx, rbx
je 0x14000d651
mov eax, dword [rbx]
mov dword [rsp + 0x60], eax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
jmp 0x14000d65c
and dword [rsp + 0x60], 0
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rsi
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
lea eax, [rax - 2]
cmp eax, 1
jbe 0x14000d68a
test rbx, rbx
je 0x14000d6bf
mov eax, dword [rsp + 0x60]
mov dword [rbx], eax
jmp 0x14000d6bf
mov qword [rsp + 0x30], rbx
lea rdx, [0x1400143f0]
mov qword [rsp + 0x28], rsi
mov r9d, 0x18
and qword [rsp + 0x20], 0
mov r8, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
mov rbx, qword [rsp + 0x50]
mov eax, ecx
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x181ae5000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x181ae500a
jmp 0x181ae700f
jmp fcn.1816f0058
Function at 0x140001ae8
Capabilities:
Parse pe header

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

Function at 0x14000626c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006068
Function at 0x14000932c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000935c
xor eax, eax
jmp 0x14000941f
mov rbp, rbx
cmp word [rax], si
je 0x140009381
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009368
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140009364
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000924c
movsxd r14, eax
test eax, eax
jne 0x1400093bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140009355
mov rcx, r14
call fcn.14000a208
mov rdi, rax
test rax, rax
jne 0x1400093d8
xor ecx, ecx
call fcn.1400078ac
jmp 0x1400093b4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000924c
test eax, eax
jne 0x140009409
mov rcx, rdi
call fcn.1400078ac
jmp 0x140009413
xor ecx, ecx
call fcn.1400078ac
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000c910
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000831c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c99a
cmp byte [rbp - 0x21], r15b
je 0x14000c995
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c9d0
call fcn.14000aa18
test eax, eax
jne 0x14000c9bc
cmp byte [rbp - 0x21], r15b
je 0x14000c9b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c9d0
cmp byte [rbp - 0x21], r15b
je 0x14000c9cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400078fc
test eax, eax
jne 0x14000ca70
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000831c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000ca0f
cmp byte [rbp - 0x21], r15b
je 0x14000ca44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000ca44
call fcn.14000aa18
test eax, eax
jne 0x14000ca30
cmp byte [rbp - 0x21], r15b
je 0x14000ca29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000ca44
cmp byte [rbp - 0x21], r15b
je 0x14000ca41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400078fc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000ca70
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000ca73
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000ca81
mov rcx, rdi
call fcn.1400078ac
cmp byte [rbp + 0x3f], r15b
je 0x14000ca90
mov rcx, qword [rbp + 0x27]
call fcn.1400078ac
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000f8c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f8e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f8e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
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 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 0x1400045bc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400045ea
xor eax, eax
jmp 0x1400046d0
cmp qword [rcx + 0x68], 0
je 0x1400045fb
call fcn.1400046ec
jmp 0x1400046d0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004612
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004614
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004646
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14001fe60
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400046ca
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000467d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400046a6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000d21c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400046ca
cmp rsi, rbx
ja 0x140004684
test rsi, rsi
je 0x1400046ca
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000d21c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000635c
Capabilities:
Parse pe header

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

Function at 0x14000feac
Capabilities:
Parse pe header

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