joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002310
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000235d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002354
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000235f
add rax, 0x28
cmp rax, r9
jne 0x140002340
xor eax, eax
ret

Function at 0x140002360
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400023f0
mov rdx, qword [0x1400043b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400023de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400023de
cmp word [rax + 0x18], 0x20b
jne 0x1400023de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400023f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400023c9
add rbx, 0x28
cmp rbx, rdi
je 0x1400023f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400023c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002400
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002420
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002428
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002420
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000247d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002474
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002420
add rax, 0x28
cmp rax, r9
jne 0x140002460
xor eax, eax
ret

Function at 0x140002480
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000249f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400024a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000249f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400024c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400024e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400024e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400024e0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002530
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002527
test rcx, rcx
je 0x1400024e0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002518
xor eax, eax
ret
Function at 0x140002540
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000255f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002568
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002580
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025a0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400025a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400025f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002600
add rdx, 0x28
cmp rdx, r9
jne 0x1400025e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002610
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002632
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002640
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002632
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002632
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002632
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002695
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400026a8
add rdx, 0x28
cmp r10, rdx
jne 0x140002680
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400026b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400026c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000269e
test ecx, ecx
jg 0x1400026b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001720
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rcx, [0x1400a6b00]
mov rdi, r8
call qword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov rbx, rax
test rax, rax
je 0x14000174b
lock dec dword [0x1400a6b10]
jmp 0x14000176b
mov r8, qword [0x1400a6b18]
mov edx, 4
mov rcx, qword [0x1400a7868]
add r8, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
lea r9, [rbx + 0x10]
xor edx, edx
lea rax, [0x140021130]
mov qword [r9 + 8], rdi
mov qword [r9], rax
lea r8, [0x140001690]
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1400017e4
mov eax, dword [0x1400a6b14]
cmp dword [0x1400a6b10], eax
jae 0x1400017d0
mov rdx, rbx
lea rcx, [0x1400a6b00]
call qword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x1400a6b10]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x1400a7868]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c720
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000c8fe
lea rcx, str.BinaryData
mov qword [rsp + 0x58], r14
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
test rax, rax
jne 0x14000c772
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
test rax, rax
je 0x14000c8f3
mov qword [rsp + 0x40], rbp
mov rcx, r14
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, r14
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [rbx + 0x1c]
mov rbp, rax
mov r9d, dword [rbx + 0x20]
mov edi, ecx
mov r15d, dword [rbx + 0x14]
cmp ecx, r9d
jle 0x14000c7bd
mov edi, r9d
mov dword [rbx + 0x1c], r9d
mov r9d, ecx
mov dword [rbx + 0x20], ecx
cmp byte [rbx + 0x30], 0
je 0x14000c88f
cmp edi, 0xffffffff
jne 0x14000c7f2
cmp dword [rbx + 0x18], 3
mov edi, r15d
jne 0x14000c7dc
lea edi, [r15 + 1]
mov dword [rbx + 0x14], edi
mov r9d, ebp
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.14000caa0
jmp 0x14000c8ae
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.14000c940
mov r9d, ebp
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.14000caa0
call qword [sym.imp.USER32.dll_DestroyCaret]
mov r9d, 0x105
mov qword [rbx + 0x1c], 0xffffffffffffffff
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [rbx + 0x68], 0
jne 0x14000c85f
cmp byte [rbx + 0x2c], 0
je 0x14000c85f
call qword [sym.imp.USER32.dll_DestroyCaret]
cmp byte [rbx + 0x2f], 0
mov eax, 8
mov r8d, 4
cmovne r8d, eax
imul r8d, dword [rbx + 0x44]
jmp 0x14000c869
call qword [sym.imp.USER32.dll_DestroyCaret]
mov r8d, dword [rbx + 0x44]
mov r9d, dword [rbx + 0x40]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateCaret]
mov edx, dword [rbx + 0x6c]
mov ecx, dword [rbx + 0x68]
call qword [sym.imp.USER32.dll_SetCaretPos]
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowCaret]
jmp 0x14000c8ae
cmp edi, 0xffffffff
jne 0x14000c8a4
cmp dword [rbx + 0x18], 3
mov edi, r15d
jne 0x14000c8a4
lea edi, [r15 + 1]
mov dword [rbx + 0x14], edi
mov eax, dword [rbx + 8]
sub eax, edi
cmp ebp, eax
cmova ebp, eax
mov ecx, edi
mov rdx, r12
add rcx, qword [rbx]
mov r8d, ebp
call fcn.14007eb90
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r9d, 0x105
mov dword [rbx + 0x14], r15d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_RedrawWindow]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r14, qword [rsp + 0x58]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x14000d340
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
test byte [rcx + 8], 8
lea rax, [rcx + 0x10]
mov rbx, rcx
mov ecx, 0
cmove rax, rcx
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov dword [r11 - 0x38], r8d
lea rax, [r11 - 0x18]
mov rcx, qword [rbx]
xor r8d, r8d
mov qword [r11 - 0x40], rdx
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, eax
cmp eax, 0x103
jne 0x14000d3a8
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
js 0x14000d3be
mov ecx, dword [rsp + 0x50]
test ecx, ecx
js 0x14000d3bc
mov rax, qword [rsp + 0x58]
add qword [rbx + 0x10], rax
or dword [rbx + 8], 0x80000000
mov eax, ecx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x14000f7b0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x1400a4d38]
mov rsi, rcx
mov dword [rsp + 0x38], eax
mov r8d, eax
mov rcx, qword [0x1400a7868]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rax
mov ecx, 5
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x14000f80c
cmp eax, 0xc0000004
jne 0x14000f825
mov rcx, qword [0x1400a7868]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x38]
jmp 0x14000f7cf
test ebx, ebx
jns 0x14000f84d
mov rcx, qword [0x1400a7868]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rsp + 0x38]
cmp eax, 0x100000
ja 0x14000f85e
mov dword [0x1400a4d38], eax
mov qword [rsi], rdi
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140012dc0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rdx, [rsp + 0x38]
mov rsi, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x140012e47
mov rcx, qword [0x1400a7868]
mov r8d, edi
mov edx, 4
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
xor edx, edx
mov r9, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140012e34
mov rcx, qword [0x1400a7868]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140013610
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
sub rsp, 0x18
cmp qword [0x1400a6dc8], 0
mov r8, rcx
je 0x140013630
movups xmm0, xmmword [0x1400a6dc0]
movups xmmword [rcx], xmm0
add rsp, 0x18
ret
cmp byte [0x1400a6b20], 1
mov r9d, 0x7ffe0030
mov qword [rsp + 8], r9
jb 0x14001368d
xorps xmm0, xmm0
mov ecx, r9d
pcmpeqw xmm0, xmmword [r9]
xorps xmm1, xmm1
pmovmskb eax, xmm0
bsf edx, eax
mov dword [rsp + 0x28], edx
jne 0x140013679
nop
add rcx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rcx]
pmovmskb eax, xmm0
bsf edx, eax
mov dword [rsp + 0x28], edx
je 0x140013660
add rcx, 0xffffffff8001ffd0
mov eax, edx
sar rcx, 1
shr rax, 1
add rcx, rax
jmp 0x14001369f
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [r9 + rcx*2], 0
jne 0x140013694
add rcx, rcx
mov qword [rsp], rcx
cmp word [rcx + 0x7ffe002e], 0x5c
jne 0x1400136b8
lea rax, [rcx - 2]
mov qword [rsp], rax
movups xmm0, xmmword [rsp]
lea rax, [rcx - 2]
cmovne rax, rcx
movups xmmword [r8], xmm0
mov qword [0x1400a6dc0], rax
lock or dword [rsp], 0
mov qword [0x1400a6dc8], r9
add rsp, 0x18
ret
Function at 0x1400136e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x48
xor ebx, ebx
mov r15, rcx
lea rbp, [rbx - 1]
test rdx, rdx
je 0x14001370e
mov rax, rbp
nop dword [rax]
inc rax
cmp word [rdx + rax*2], bx
jne 0x140013700
add rax, rax
jmp 0x140013714
mov rax, rbx
mov rdx, rbx
mov word [rsp + 0x30], ax
mov r14d, 0x10
mov word [rsp + 0x32], ax
mov qword [rsp + 0x38], rdx
cmp rax, 0xfffe
ja 0x1400138b9
mov rcx, qword [0x1400a7868]
lea edx, [r14 - 0xc]
mov qword [rsp + 0x70], rsi
mov r8d, 0x100
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x78], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
lea rax, [rsp + 0x78]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov eax, dword [rsp + 0x78]
mov r8d, 2
mov rcx, r15
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov edi, eax
test eax, eax
jns 0x1400137ce
mov rcx, qword [0x1400a7868]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, 0x80000005
jne 0x1400138a1
mov r8d, dword [rsp + 0x78]
mov edx, 4
mov rcx, qword [0x1400a7868]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
add r14d, 0xffffffff
jne 0x140013761
test edi, edi
js 0x1400138a1
mov eax, dword [rsi + 4]
cmp eax, 1
je 0x1400137ec
cmp eax, 7
je 0x1400137ec
cmp eax, 2
jne 0x14001388f
mov eax, dword [rsi + 8]
cmp eax, 2
jb 0x140013834
mov rdx, qword [0x1400a7878]
lea rbp, [rax - 2]
lea rcx, [rbp + 0x12]
lea r14, [rsi + 0xc]
call fcn.1400123e0
mov rdi, rax
mov qword [rax], rbp
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbp], bx
test r14, r14
je 0x14001388c
mov rcx, qword [rax + 8]
mov r8, rbp
mov rdx, r14
call fcn.14007eb90
jmp 0x14001388c
mov rdi, qword [0x1400a6b28]
test rdi, rdi
jne 0x140013888
mov rdx, qword [0x1400a7878]
lea ecx, [rdi + 0x12]
call fcn.1400123e0
mov rdx, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx], bx
lock cmpxchg qword [0x1400a6b28], rdx
mov rdi, rax
jne 0x140013875
mov rdi, rdx
jmp 0x140013888
lea rcx, [rdx - 0x10]
lock xadd dword [rcx + 8], ebp
cmp ebp, 1
jne 0x140013888
call fcn.140012750
lock inc dword [rdi - 8]
mov rbx, rdi
mov rcx, qword [0x1400a7868]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r14
pop rbp
pop rbx
ret
mov rax, rbx
add rsp, 0x48
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x1400160a0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rbx, rdx
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x1400162ae
mov eax, dword [rsp + 0x5c]
or eax, dword [rsp + 0x54]
or eax, dword [rsp + 0x58]
or eax, dword [rsp + 0x50]
je 0x1400162ae
cmp dword [rbx + 0x240], 0
mov qword [rsp + 0xc0], rsi
jg 0x14001615e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
xor r8d, r8d
mov rcx, rdi
mov rdx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetUpdateRgn]
mov rcx, qword [rbx + 0x248]
test rcx, rcx
jne 0x140016127
mov qword [rbx + 0x248], rsi
jmp 0x140016142
mov r9d, 2
mov r8, rsi
mov rdx, rcx
call qword [sym.imp.GDI32.dll_CombineRgn]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_BeginPaint]
test rax, rax
je 0x1400162a6
jmp 0x140016298
test dword [rbx + 0x40], 0x200000
je 0x140016213
cmp qword [rbx + 0x200], 0
jne 0x140016213
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x140016213
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbx + 0x200], rax
test rax, rax
je 0x140016213
movups xmm0, xmmword [rbx + 0x68]
mov rcx, rsi
movups xmmword [rbx + 0x218], xmm0
mov edx, dword [rbx + 0x220]
mov r8d, dword [rbx + 0x224]
inc edx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbx + 0x210], rax
test rax, rax
jne 0x1400161ec
mov rcx, qword [rbx + 0x200]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rbx + 0x200], 0
jmp 0x140016213
mov rcx, qword [rbx]
mov rdx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, qword [rbx + 0x210]
mov rcx, qword [rbx + 0x200]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbx + 0x208], rax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_BeginPaint]
mov rsi, rax
test rax, rax
je 0x1400162a6
movups xmm0, xmmword [rsp + 0x6c]
mov r8, qword [rbx + 0x200]
lea r9, [rsp + 0x50]
mov rdx, rbx
movups xmmword [rsp + 0x50], xmm0
test r8, r8
je 0x140016290
call fcn.14001d840
mov ecx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x54]
sub ecx, r8d
mov edx, dword [rsp + 0x50]
mov rax, qword [rbx + 0x200]
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x40], 0xcc0020
sub r9d, edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x140016298
mov r8, rsi
call fcn.14001d840
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndPaint]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
Function at 0x1400228fc
Capabilities:
Parse pe header

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

Function at 0x14005e3fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005e178
Function at 0x1400724c4
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 0x1400724f4
xor eax, eax
jmp 0x1400725b7
mov rbp, rbx
cmp word [rax], si
je 0x140072519
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140072500
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400724fc
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.140072374
movsxd r14, eax
test eax, eax
jne 0x140072557
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400724ed
mov rcx, r14
call fcn.140061d58
mov rdi, rax
test rax, rax
jne 0x140072570
xor ecx, ecx
call fcn.140061d1c
jmp 0x14007254c
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.140072374
test eax, eax
jne 0x1400725a1
mov rcx, rdi
call fcn.140061d1c
jmp 0x1400725ab
xor ecx, ecx
call fcn.140061d1c
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 0x1400725d4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14007265b
mov rsi, rbx
cmp word [rax], bp
je 0x14007261a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140072604
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140072600
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140061d58
mov rdi, rax
test rax, rax
je 0x140072648
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14007eb90
mov rbp, rdi
xor ecx, ecx
call fcn.140061d1c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14007d470
Capabilities:
Parse pe header

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