joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400387a8
Capabilities:
Get disk information

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 r15
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
call fcn.140032b08
cmp qword [rbx + 8], rsi
je 0x140038992
mov rcx, rbx
call fcn.140032b08
lea r15d, [rsi + 1]
cmp qword [rbx + 8], r15
jne 0x140038805
xor edx, edx
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x1400387fd
cmp ax, 0x5c
jne 0x140038805
mov eax, r15d
jmp 0x140038994
mov rcx, rbx
call fcn.140032b08
cmp qword [rbx + 8], 3
mov edi, 2
jne 0x140038876
xor edx, edx
mov rcx, rbx
call fcn.1400319c8
movzx ecx, ax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x140038876
mov rdx, r15
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x3a
jne 0x140038876
mov edx, edi
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x140038857
cmp ax, 0x5c
jne 0x140038876
mov rcx, rbx
call fcn.140032b08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, r15d
seta sil
mov eax, esi
jmp 0x140038994
mov rcx, rbx
call fcn.140032b08
cmp qword [rbx + 8], rdi
jbe 0x14003886f
xor edx, edx
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x14003889a
cmp ax, 0x5c
jne 0x14003886f
mov rdx, r15
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x1400388b1
cmp ax, 0x5c
jne 0x14003886f
mov rdx, rdi
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x140038992
cmp ax, 0x5c
je 0x140038992
mov rcx, rbx
add edi, r15d
call fcn.140032b08
mov ebp, edi
cmp rbp, qword [rbx + 8]
jae 0x1400388f9
mov edx, ebp
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x1400388f9
cmp ax, 0x5c
jne 0x1400388d0
mov rcx, rbx
call fcn.140032b08
cmp qword [rbx + 8], rbp
je 0x140038992
mov rcx, rbx
add edi, r15d
call fcn.140032b08
mov edx, edi
cmp qword [rbx + 8], rdx
je 0x140038992
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x140038992
cmp ax, 0x5c
je 0x140038992
mov rcx, rbx
add edi, r15d
call fcn.140032b08
mov edx, edi
cmp rdx, qword [rbx + 8]
jae 0x140038959
mov rcx, rbx
call fcn.1400319c8
cmp ax, 0x2f
je 0x140038959
cmp ax, 0x5c
jne 0x140038932
mov rcx, rbx
call fcn.140032b08
lea ecx, [rdi + 1]
cmp qword [rbx + 8], rcx
ja 0x140038992
mov rcx, rbx
call fcn.140032b08
mov eax, edi
cmp qword [rbx + 8], rax
jne 0x140038857
movzx edx, word [0x14004d298]
mov rcx, rbx
call fcn.140031ed4
jmp 0x140038857
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x1400389b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400359b3
call fcn.1400384b0
and qword [rbx + 8], 0
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400389b0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140032b08
xor ebx, ebx
cmp qword [rdi + 8], rbx
je 0x1400389ee
mov rcx, rdi
call fcn.140032b08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400389ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne bl
mov eax, ebx
jmp 0x1400389f0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140039438
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
and dword [rbp - 0x60], 0
and qword [rbp - 0x58], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
call fcn.140032b08
cmp qword [rdi + 8], 0
je 0x140039555
mov rcx, rdi
call fcn.140032b08
mov rsi, rax
movzx edx, word [0x14004d298]
mov rcx, rdi
call fcn.140032758
test eax, eax
je 0x14003953b
mov rcx, rdi
call fcn.140032b08
mov r9, qword [rdi + 8]
dec r9
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140032eec
nop
or r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140031ff0
nop
mov rax, qword [rbp - 0x10]
xor ecx, ecx
mov qword [rbp - 0x10], rcx
test rax, rax
je 0x1400394e6
mov rcx, rax
call fcn.140039610
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400394f5
mov edx, 2
call fcn.140039610
mov rax, qword [rbp - 0x20]
xor ecx, ecx
mov qword [rbp - 0x20], rcx
test rax, rax
je 0x140039510
mov rcx, rax
call fcn.140039610
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14003951f
mov edx, 1
call fcn.140039610
lea rcx, [rbp - 0x60]
call fcn.140032b08
cmp qword [rbp - 0x58], 0
je 0x140039555
lea rcx, [rbp - 0x60]
call fcn.140032b08
mov rsi, rax
test rsi, rsi
je 0x140039555
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edi, edi
test eax, eax
sete dil
jmp 0x14003955a
mov edi, 1
mov rax, qword [rbp - 0x40]
xor ecx, ecx
mov qword [rbp - 0x40], rcx
test rax, rax
je 0x140039575
mov rcx, rax
call fcn.140039610
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140039584
mov edx, 2
call fcn.140039610
mov rax, qword [rbp - 0x50]
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test rax, rax
je 0x14003959f
mov rcx, rax
call fcn.140039610
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400395ae
mov edx, 1
call fcn.140039610
mov eax, edi
lea r11, [rsp + 0x80]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14003a4bc
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14002813d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002814d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140028135
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140028165
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140028152
sub eax, 3
jb 0x14002817f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400281b6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400281a6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400281a4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140028193
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400280f2
jmp 0x14002813d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x26000]
mov eax, dword [rdi]
or eax, eax
je 0x140028212
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x281dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400281c2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14002820c
mov qword [rbx], rax
add rbx, 8
jmp 0x1400281e2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14002824c
cmp al, 0xef
ja 0x14002823e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002821e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14002822d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400282a0
sub rsp, 0xffffffffffffff80
jmp 0x14001128a
Function at 0x1800024e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002587
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002587
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x82a46747
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002582
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002560
cmp r8d, 0x6faeeea5
je 0x18000258c
test r9d, r9d
jne 0x180002540
mov rax, qword [rax]
jmp 0x180002510
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
mov rcx, rbp
add rax, r10
call rax
mov rcx, 0xffffffffffffffff
lea rsi, [rax + 1]
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.180013a40
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002655
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002655
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0x3b2a9e4
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002650
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x180002630
cmp edx, 0x51e05c00
je 0x18000265a
test r9d, r9d
jne 0x180002610
mov rcx, qword [rcx]
jmp 0x1800025e0
mov ecx, dword [r11 + 0x24]
mov r8, rsi
add rcx, r10
mov rdx, rbp
movzx r9d, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + r9*4]
mov rcx, rdi
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800026a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002747
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002747
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xfae30b0d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002742
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002720
cmp r8d, 0xc2217e31
je 0x18000274c
test r9d, r9d
jne 0x180002700
mov rax, qword [rax]
jmp 0x1800026d0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800027a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002877
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002877
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xf3a6f18f
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002872
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002850
cmp r8d, 0xfbad2ded
je 0x18000287c
test r9d, r9d
jne 0x180002830
mov rax, qword [rax]
jmp 0x180002800
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180036280]
addsd xmm8, qword [0x180036280]
movups xmm9, xmmword [0x180036170]
movups xmm10, xmmword [0x18003f918]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.1800024e0
cmp word [rax], 0
je 0x1800028f6
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800028e0
xor edx, edx
add ecx, 1
je 0x1800028fa
mov rdx, rax
jmp 0x1800028fa
xor edx, edx
mov ecx, edx
mov rax, qword [0x18003bde0]
movaps xmm0, xmmword [0x1800364c0]
mov rbx, qword [0x18003be60]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18003fdc8]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x100
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x18000299f
xor r9d, r9d
lea r8, str.Canvas.K2_DrawText
xor edx, edx
xor ecx, ecx
call qword [0x18003bf88]
mov qword [0x18003fdc8], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x1800029f0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rbp, rdx
movaps xmmword [rax - 0x38], xmm8
mov rsi, rcx
movaps xmmword [rax - 0x48], xmm9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov ebx, dword [r9 + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002ab7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002ab7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x728be2ff
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002ab2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002a90
cmp r8d, 0x7fb8a3fd
je 0x180002abc
test r9d, r9d
jne 0x180002a70
mov rax, qword [rax]
jmp 0x180002a40
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r10
call rax
movsd xmm6, qword [rbp]
mov rcx, rsi
movsd xmm7, qword [rbp + 8]
addsd xmm6, qword [0x180036280]
addsd xmm7, qword [0x180036280]
movups xmm8, xmmword [0x180036170]
movups xmm9, xmmword [0x18003f918]
call fcn.1800024e0
cmp word [rax], 0
je 0x180002b36
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002b20
xor edx, edx
add ecx, 1
je 0x180002b3a
mov rdx, rax
jmp 0x180002b3a
xor edx, edx
mov ecx, edx
movaps xmm0, xmmword [rbp]
mov rax, qword [0x18003bde0]
mov rbx, qword [0x18003be60]
movsd qword [rsp + 0x38], xmm0
unpckhpd xmm0, xmm0
movsd qword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x1800364c0]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18003fdc8]
movsd qword [rsp + 0x80], xmm6
movsd qword [rsp + 0x88], xmm7
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x101
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movaps xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x6c], xmm9
movups xmmword [rsp + 0x94], xmm8
test rax, rax
jne 0x180002be5
xor r9d, r9d
lea r8, str.Canvas.K2_DrawText
xor edx, edx
xor ecx, ecx
call qword [0x18003bf88]
mov qword [0x18003fdc8], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
ret
Function at 0x180012de0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x18]
add rsi, 0x20
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x180012e5c
lea rbp, [0x180036080]
movabs r14, 0x6c00640074006e
cmp rbp, 1
jbe 0x180012e42
mov rdx, qword [rbx + 0x50]
mov rcx, rbp
call fcn.18001a0bc
test eax, eax
je 0x180012e79
cmp rbp, 1
jne 0x180012e54
cmp word [rbx + 0x48], 0x12
jne 0x180012e54
mov rax, qword [rbx + 0x50]
cmp qword [rax], r14
je 0x180012e79
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x180012e28
xor eax, eax
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
mov rax, qword [rbx + 0x20]
jmp 0x180012e5e
Function at 0x180021ce8
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 0x180021d18
xor eax, eax
jmp 0x180021ddb
mov rbp, rbx
cmp word [rax], si
je 0x180021d3d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180021d24
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180021d20
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.180021c08
movsxd r14, eax
test eax, eax
jne 0x180021d7b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180021d11
mov rcx, r14
call fcn.18001e778
mov rdi, rax
test rax, rax
jne 0x180021d94
xor ecx, ecx
call fcn.18001e73c
jmp 0x180021d70
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.180021c08
test eax, eax
jne 0x180021dc5
mov rcx, rdi
call fcn.18001e73c
jmp 0x180021dcf
xor ecx, ecx
call fcn.18001e73c
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 0x1800291d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800291f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800291f8
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