joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041708
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140458aa0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140454e3c]
test eax, eax
je 0x140041753
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140454e3c]
test eax, eax
jne 0x14004175c
call fcn.140015c64
test eax, eax
je 0x140041778
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275330]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140041780
xor eax, eax
jmp 0x1400417e5
test rbx, rbx
jne 0x1400417a0
lea rcx, str.GetSaveFileNameA
call fcn.140035868
mov rbx, rax
test rax, rax
je 0x1400417b3
mov qword [0x140458aa0], rax
mov rcx, rbx
call fcn.1401ac794
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400417c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400417ca
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400417e3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14006b388
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x14006b3b9
call fcn.14000bcc8
mov rdi, qword [rax + 0x18]
lea r8, [0x1401ef908]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x14006b3d8
xor eax, eax
jmp 0x14006b424
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14006b3d4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14006b419
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14006b440
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14006e108
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1404593d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140454e3c]
test eax, eax
je 0x14006e153
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140454e3c]
test eax, eax
jne 0x14006e15c
call fcn.140015c64
test eax, eax
je 0x14006e178
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275330]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14006e180
xor eax, eax
jmp 0x14006e1e5
test rbx, rbx
jne 0x14006e1a0
lea rcx, str.ImageList_GetImageCount
call fcn.140015648
mov rbx, rax
test rax, rax
je 0x14006e1b3
mov qword [0x1404593d8], rax
mov rcx, rbx
call fcn.1401ac794
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14006e1c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14006e1ca
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14006e1e3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400f4638
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400f4808
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x1400f484a
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x1400f4cb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400f4d86
test rbx, rbx
je 0x1400f4d8c
test r9, r9
je 0x1400f4d92
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f4d6f
cmp dword [rsp + 0x48], 3
jne 0x1400f4d6f
test eax, eax
jne 0x1400f4d6f
cmp dword [rdi], eax
je 0x1400f4d6f
mov ecx, dword [rdi]
call fcn.140004fa8
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f4d63
cmp dword [rsp + 0x48], 3
jne 0x1400f4d63
test eax, eax
jne 0x1400f4d63
mov eax, 1
jmp 0x1400f4d71
mov rcx, qword [rbx]
call fcn.140004fb0
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140006f54
int3
call fcn.140006f54
int3
call fcn.140006f54
int3

Function at 0x1400f50b8
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f50c9
xor eax, eax
jmp 0x1400f50f7
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400f5100
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f5111
xor eax, eax
jmp 0x1400f5135
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140153db8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14045d140]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140454e3c]
test eax, eax
je 0x140153e03
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140454e3c]
test eax, eax
jne 0x140153e0c
call fcn.140015c64
test eax, eax
je 0x140153e28
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275330]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140153e30
xor eax, eax
jmp 0x140153e95
test rbx, rbx
jne 0x140153e50
lea rcx, str.ChooseColorA
call fcn.140035868
mov rbx, rax
test rax, rax
je 0x140153e63
mov qword [0x14045d140], rax
mov rcx, rbx
call fcn.1401ac794
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140153e78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140153e7a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140153e93
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140158adc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14045d290]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140454e3c]
test eax, eax
je 0x140158b27
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140454e3c]
test eax, eax
jne 0x140158b30
call fcn.140015c64
test eax, eax
je 0x140158b4c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275330]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140158b54
xor eax, eax
jmp 0x140158bb9
test rbx, rbx
jne 0x140158b74
lea rcx, str.PrintDlgA
call fcn.140035868
mov rbx, rax
test rax, rax
je 0x140158b87
mov qword [0x14045d290], rax
mov rcx, rbx
call fcn.1401ac794
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140158b9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140158b9e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140158bb7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401bfd1c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401bfaf0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401bfaf0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401bfaf0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401bfaf0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401bfaf0
cmp dword [rcx + 0x84], 0xe
jbe 0x1401bfaf0
cmp dword [rcx + 0xf8], esi
je 0x1401bfaf0
mov ecx, r14d
call fcn.1401bfc38
mov ecx, 2
call fcn.1401c6550
nop
cmp byte [0x14045f158], 0
jne 0x1401bfbba
mov r15d, 1
mov eax, r15d
xchg dword [0x14045f148], eax
test ebx, ebx
jne 0x1401bfb63
mov rdi, qword [0x140276748]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14045f150]
cmp rcx, rax
je 0x1401bfb5a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002c1c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14045f288]
jmp 0x1401bfb6f
cmp ebx, r15d
jne 0x1401bfb75
lea rcx, [0x14045f2a0]
call fcn.1401c07d0
nop
test ebx, ebx
jne 0x1401bfb8c
lea rdx, [0x1401db980]
lea rcx, [0x1401db960]
call fcn.1401c0b08
lea rdx, [0x1401db990]
lea rcx, [0x1401db988]
call fcn.1401c0b08
movzx eax, byte [0x14045f158]
test esi, esi
cmove eax, r15d
mov byte [0x14045f158], al
jmp 0x1401bfbba
mov ecx, 2
call fcn.1401c65a4
test esi, esi
jne 0x1401bfbd1
mov ecx, r14d
call fcn.1401bfbec
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401bfa80
Function at 0x1401c2d0c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1401c2ce9
call fcn.1401b3448
mov dword [rax], 0x16
call fcn.1401b3328
or eax, 0xffffffff
jmp 0x1401c2d06
sub dword [rcx + 0x10], 1
jns 0x1401c2cf8
add rsp, 0x28
jmp 0x1401c7ca8
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401c2cc8
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401c7b48
call fcn.1401b3448
mov dword [rax], 0x16
call fcn.1401b3328
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401c7b30
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401c7b30
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1401c7b7a
lock or dword [rax + 0x14], 0x10
jmp 0x1401c7b30
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401c7b97
mov rcx, qword [rbp + 0x10]
call fcn.1401cc0a0
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401be654
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401c7580
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401c7bee
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401c7b30
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401c7c5a
mov rcx, qword [rbp + 0x10]
call fcn.1401be654
cmp eax, 0xffffffff
je 0x1401c7c41
mov rcx, qword [rbp + 0x10]
call fcn.1401be654
cmp eax, 0xfffffffe
je 0x1401c7c41
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401be654
movsxd rdi, eax
lea rsi, [0x14045f310]
mov rcx, rbx
sar rdi, 6
call fcn.1401be654
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401c7c48
lea rax, [0x140276a40]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401c7c5a
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1401c7c90
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401c7c8c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401c7c8c
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401c7b33
jmp 0x1401c7b00
Function at 0x14000d3c8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400143c8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400064b8
xor ebx, ebx
cmp qword [0x1400163d0], rbx
mov rdi, rax
jne 0x14000d4db
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000d5b2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d5b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400163d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400163d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400163e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400163f0], rax
test rax, rax
je 0x14000d4d2
lea rdx, [0x140011c40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400163e8], rax
jmp 0x14000d4e2
mov rax, qword [0x1400163e8]
jmp 0x14000d4e9
mov rax, qword [0x1400163e8]
mov r11, qword [0x1400163f0]
cmp rax, rdi
je 0x14000d550
cmp r11, rdi
je 0x14000d550
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400163f0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000d550
test rax, rax
je 0x14000d550
call rsi
test rax, rax
je 0x14000d54a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000d54a
test byte [rsp + 0x40], 1
jne 0x14000d550
bts ebp, 0x15
jmp 0x14000d590
mov rcx, qword [0x1400163d8]
cmp rcx, rdi
je 0x14000d590
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d590
call rax
mov rbx, rax
test rax, rax
je 0x14000d590
mov rcx, qword [0x1400163e0]
cmp rcx, rdi
je 0x14000d590
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d590
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400163d0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d5b2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000d5b4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002000
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400abd06
Capabilities:
Encode data using xor

Disassembly:
movabs byte [0x16fe7ebb7f447d47], al
mov dl, 0x76
xor byte [rbp - 0x5c032eef], ch
lahf
sbb cl, 0xbe
sub byte [rdi - 0xb7b1d13], ch
invalid
mov eax, 0xbea9be87
stosb byte [rdi], al
jns 0x1400abc98
or dword [rdx], ebx
invalid
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 0x141556a91
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 0x20]
push qword [rsp + 0x28]
popfq
lea rsp, [rsp + 0x30]
call fcn.141683526
test dword [rax], edi
fadd qword [rdx]
scasb al, byte [rdi]
xchg dword [rax + 1], edi
out dx, eax
add edx, esi
cmp dword [rbx - 0x5e590430], 0x9ac44049
pop rax
sbb al, 0x5c
int1
popfq
enter 0xffffffffffff990f, 0xffffffffffffff95
adc ah, ah
scasd eax, dword [rdi]
pop rcx
mov fs, word [0x1294c726a]
sub al, 0xb8
pop rbx
add dword [rbx - 0x19c2c69b], 0xbe6f0bed
adc cl, ch
insb byte [rdi], dx
invalid
Function at 0x180011181
Capabilities:
Create thread

Disassembly:
jmp 0x1800117c0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x180021008]
call fcn.1800112f3
mov eax, dword [rbp + 0x108]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 1
je 0x1800117ff
jmp 0x180011832
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180011262]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1800111ae
Capabilities:
Terminate process

Disassembly:
jmp 0x180015060
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]
add rsp, 0x28
ret
Function at 0x1400316bc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031734
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031734
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031734
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031728
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031746
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031716
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031736

Function at 0x140033280
Capabilities:
Parse pe header

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

Function at 0x14003c014
Capabilities:
Parse pe header

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

Function at 0x140045f30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045f58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045f58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x403420
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x403460
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x403457
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x403462
add rax, 0x28
cmp rax, r9
jne 0x403444
xor eax, eax
repz ret

Function at 0x403520
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp word [0x00400000], 0x5a4d
lea rbx, [0x00400000]
mov rsi, rcx
je 0x403544
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.004033e0
test eax, eax
je 0x40353b
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00403420