joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095358
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
mov r13d, 2
lea rcx, [rax - 0x48]
mov word [rdx], r13w
mov ebp, r9d
mov r15, r8
mov r14, rdx
call fcn.1400096a8
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140095724
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea rcx, [rsp + 0x20]
mov r12d, eax
call fcn.140009250
cmp r12d, 0xffffffff
jne 0x140095421
mov rdi, qword [r15 + 8]
lea rbx, str.255.255.255.255
mov rcx, rbx
call fcn.140028558
cmp rdi, rax
jne 0x1400953fc
test rdi, rdi
je 0x1400953f6
mov rax, qword [r15]
sub rax, rbx
movzx ecx, word [rax + rbx]
movzx edx, word [rbx]
cmp cx, dx
jne 0x140095418
add rbx, r13
sub rdi, 1
jne 0x1400953e1
xor eax, eax
test eax, eax
je 0x140095421
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
call fcn.140002f40
mov dword [rax + 0x1c], 1
jmp 0x140095459
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1400953f8
lea ecx, [rbp - 1]
mov dword [r14 + 4], r12d
cmp ecx, 0xfffe
ja 0x140095442
movzx ecx, bp
call qword [sym.imp.WSOCK32.dll_htons]
mov word [r14 + 2], ax
mov al, 1
jmp 0x140095464
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
call fcn.140002f40
mov dword [rax + 0x1c], r13d
call fcn.140002f40
mov byte [rax + 0x20], 0
xor al, al
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140095484
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
and dword [r8], 0
mov r14, rdx
mov qword [r8 + 8], rdx
mov eax, 0x10624dd3
inc dword [r8]
mov rdi, rcx
imul r9d
xor ecx, ecx
mov rsi, r8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x50], edx
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
mov dword [rsp + 0x54], eax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
cmp byte [rsp + 0x60], cl
je 0x1400954ee
xor edx, edx
jmp 0x1400954f4
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.WSOCK32.dll_select]
mov ebx, eax
test eax, eax
jne 0x140095522
cmp byte [rsp + 0x60], al
je 0x140095578
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
call fcn.140002f40
mov dword [rax + 0x1c], 0x274c
jmp 0x14009556f
jle 0x14009554f
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
jne 0x140095578
lea ebx, [rax - 2]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
call fcn.140002f40
mov dword [rax + 0x1c], ebx
jmp 0x14009556f
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rdi]
mov r8d, eax
movsxd rcx, dword [rcx + 4]
add rcx, 8
add rcx, rdi
call fcn.140002f40
mov dword [rax + 0x1c], r8d
call fcn.140002f40
mov byte [rax + 0x20], 0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14009a64c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f88]
mov eax, 0x2060
call fcn.140048790
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x20]
call fcn.14000c970
xor r12d, r12d
mov rcx, r15
mov esi, r12d
call fcn.14000f884
mov rax, qword [r15 + 8]
mov r14b, r12b
mov rdi, qword [rax]
movzx eax, word [rdi]
test ax, ax
je 0x14009a7df
mov ebx, r12d
lea r13d, [r12 + 0x25]
inc esi
inc rbx
cmp ax, r13w
jne 0x14009a784
cmp word [rdi + rbx*2], r13w
jne 0x14009a6d9
mov edx, r13d
lea rcx, [rsp + 0x20]
call fcn.140009a38
jmp 0x14009a77a
lea rdx, [0x1400b5590]
lea rcx, [rsp + 0x40]
call fcn.14000e3e4
jmp 0x14009a703
test ax, ax
je 0x14009a70d
movzx edx, ax
lea rcx, [rsp + 0x40]
call fcn.140009a38
inc esi
inc rbx
movzx eax, word [rdi + rbx*2]
cmp ax, r13w
jne 0x14009a6ec
cmp word [rdi + rbx*2], r12w
je 0x14009a7a0
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0xfff
mov word [rsp + 0x60], r12w
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14009a73f
lea rdx, [rsp + 0x60]
jmp 0x14009a766
lea rdx, [0x1400dcfa4]
lea rcx, [rsp + 0x20]
call fcn.140004990
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000ca68
lea rdx, [0x1400dcfa4]
lea rcx, [rsp + 0x20]
call fcn.140004990
lea rcx, [rsp + 0x40]
call fcn.140009250
inc esi
mov r14b, 1
inc rbx
jmp 0x14009a791
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140009a38
movzx eax, word [rdi + rbx*2]
test ax, ax
jne 0x14009a6b1
jmp 0x14009a7cd
lea rdx, [0x1400dcfa4]
mov r14b, 1
lea rcx, [rsp + 0x20]
call fcn.140004990
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000ca68
lea rcx, [rsp + 0x40]
call fcn.140009250
test r14b, r14b
je 0x14009a7df
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.1400074b0
lea rcx, [rsp + 0x20]
call fcn.140009250
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400a0a68
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
lea rax, [rsp + 0x40]
mov dword [rbp + 0x190], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x190]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
mov r14d, edx
and qword [rsp + 0x20], 0
xor edx, edx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1400a0bc7
mov edi, r14d
or edi, 0x20019
lea rax, [rbp + 0x198]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a0bec
mov rcx, qword [rbp + 0x198]
mov edx, r14d
call fcn.1400a0a68
mov rcx, qword [rbp + 0x198]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1400a0bec
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
and qword [rsp + 0x58], 0
call fcn.1400a0574
test al, al
je 0x1400a0b5d
lea rcx, [rsp + 0x48]
call fcn.14009f144
xor r9d, r9d
lea rdx, [rsp + 0x60]
mov r8d, r14d
mov rcx, rsi
call rax
jmp 0x1400a0b6b
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x1400a0be1
test rcx, rcx
je 0x1400a0b7f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x190], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x190]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400a0ad9
mov al, 1
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test rcx, rcx
je 0x1400a0bec
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x1400a0bc9
Function at 0x1400af104
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
mov rbx, rdx
lea rbp, [0x1400f20d0]
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x68]
call fcn.140025a40
xor edx, edx
lea rdi, [0x1400f2138]
mov rcx, rdi
lea r8d, [rdx + 0x18]
call fcn.140025a40
mov qword [rsp + 0x48], rdi
mov eax, 1
mov qword [rsp + 0x40], rbp
xor edi, edi
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_RegisterActiveObject
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov dword [0x1400f20d0], 0x68
mov dword [0x1400f210c], eax
mov word [0x1400f2110], ax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400af1a0
mov rcx, qword [0x1400f2138]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400af630
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov r14, r9
mov rax, r8
mov rsi, rdx
cmp word [r8], r12w
je 0x1400af7bb
mov qword [r11 - 0x68], r12
xor r9d, r9d
mov dword [r11 - 0x70], r12d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400af6bc
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
lea ecx, [r12 + 2]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
test rax, rax
jne 0x1400af6c3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400af7f6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rbp + 0x30]
mov qword [rsp + 0x20], r12
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400af6bc
lea r8, [rbp - 0x28]
mov edx, 1
mov rcx, r15
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
lea r9, [0x1400b8940]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x30], r12
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400af6bc
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp + 0x40]
lea r8, [rbp - 0x20]
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [r14]
mov rcx, qword [rbp + 0x50]
test r8d, r8d
jne 0x1400af790
mov r8d, r12d
cmp dword [rcx], r12d
jne 0x1400af790
mov eax, dword [rbp - 0x1c]
mov dword [r14], eax
mov eax, dword [rbp - 0x18]
mov dword [rcx], eax
mov r8d, dword [r14]
mov r9d, dword [rcx]
xor edx, edx
mov rcx, qword [rbp + 0x40]
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rbp + 0x40]
jmp 0x1400af7c2
mov r9, r12
mov qword [rbp + 0x40], r12
mov rcx, qword [rsi + 0xc0]
test rcx, rcx
je 0x1400af7d8
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rbp + 0x40]
mov rbx, qword [rsi]
xor r8d, r8d
mov rcx, rbx
mov qword [rsi + 0xc0], r9
mov edx, 0x172
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400b02ec
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
lea rcx, [0x1400efd20]
mov r14d, r9d
mov rsi, r8
mov rdi, rdx
call fcn.1400026f4
movsxd rcx, eax
mov rax, qword [0x1400efdc0]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp rsi, rdi
jne 0x1400b0370
cmp qword [rbx + 0x2d0], 0
je 0x1400b03d4
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
and qword [rsp + 0x28], 0
mov rcx, qword [rbx + 0x2d0]
mov qword [rsp + 0x20], rdi
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov r9d, dword [rsp + 0x54]
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x1400b03f6
mov rdx, rsi
call fcn.1400023f0
cmp eax, 0xffffffff
je 0x1400b03d4
movsxd rbp, eax
mov rax, qword [0x1400efde8]
mov rcx, qword [rax + rbp*8]
mov rdx, qword [rcx]
mov cl, byte [rdx + 0xfc]
lea eax, [rcx - 0xe]
cmp al, 2
jbe 0x1400b03d4
cmp cl, 0x13
je 0x1400b03d4
cmp qword [rdx + 0x18], 0
je 0x1400b03d4
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [0x1400efde8]
and qword [rsp + 0x28], 0
mov rcx, qword [rax + rbp*8]
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
jmp 0x1400b0359
movzx r9d, word [rsp + 0x70]
mov r8, rsi
shl r9, 0x10
mov edx, 0x7b
movzx eax, r14w
mov rcx, rdi
or r9, rax
call qword [sym.imp.USER32.dll_DefDlgProcW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140002630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0

Function at 0x140002650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad

Function at 0x140002780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x20
lea rax, [fcn.140002780]
mov qword [rsp + 0x18], 0x330210ae
mov qword [rsp + 8], rax
jmp 0x1400027e7
mov ax, word [rsp + 0x16]
sub ax, word [rsp + 0x16]
mov rcx, qword [rsp + 0x18]
xor rcx, 0xffffffffccfde0ae
mov word [rsp + 0x16], ax
mov rdx, qword [rsp]
add rdx, rcx
and rdx, 0xfffffffffffff000
mov qword [rsp + 8], rdx
jmp 0x1400027e7
mov rax, qword [rsp]
add rsp, 0x20
ret
mov rax, qword [rsp]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
je 0x1400027cb
jmp 0x14000279b
mov rax, qword [rsp + 8]
cmp word [rax], 0x5a4d
mov qword [rsp], rax
je 0x1400027d4
jmp 0x14000279b
Function at 0x14005e3dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005e428
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005e420
cmp dword [rcx + 0x3c], edx
jl 0x14005e420
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14005e420
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14005e428
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140001008
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.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001069
lea rcx, str.Windows_original_main_args:_n
call fcn.140001148
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001069
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.140001148
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000103e
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
test edi, edi
jle 0x1400010b5
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a2
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010db
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 2
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x14000230c]
mov qword [rsp + 0x38], rax
lea rax, [0x140002310]
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
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 0x1400018f4
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000245a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000245a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000245a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000245a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000245a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000245c
xor al, al
add rsp, 0x28
ret
Function at 0x1800061e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x180006224
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180006210
ret
Function at 0x180015250
Capabilities:
Hash data with crc32

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
mov rdi, qword [0x180297f60]
xor r15d, r15d
mov r14d, ecx
mov ebp, r15d
mov rsi, qword [rdi + 0x4038]
test cl, 0x10
jne 0x1800153e6
mov ebx, dword [rdi + 0x49c8]
test ebx, ebx
je 0x1800152c8
cmp dword [rdi + 0x409c], ebx
jne 0x1800153df
mov eax, dword [rdi + 0x40c4]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xe50], bpl
je 0x1800153df
cmp byte [rsi + 0xc3], bpl
jmp 0x180015388
cmp byte [rdi + 0xe50], bpl
je 0x1800153df
cmp byte [rsi + 0xc3], bpl
jne 0x1800153df
test byte [rdi + 0x49d0], 1
jne 0x180015304
cmp dword [rdi + 0x409c], ebp
je 0x1800153df
cmp qword [rdi + 0x40b8], rsi
jne 0x1800153df
test r14b, 8
je 0x1800153df
lea rdx, [rdi + 0x49d4]
mov rcx, rsi
call fcn.18001b150
mov ebx, eax
mov dword [rdi + 0x49c8], eax
mov rax, qword [0x180297f60]
cmp dword [rax + 0x409c], ebx
jne 0x18001533a
mov dword [rax + 0x40a0], ebx
cmp dword [rax + 0x40c8], ebx
jne 0x180015349
mov byte [rax + 0x40cc], 1
mov r8d, dword [rdi + 0x49cc]
lea rcx, [rdi + 0x49d4]
mov edx, ebx
call fcn.18001e3a0
movzx ebp, al
test al, al
je 0x180015382
cmp byte [rdi + 0x3868], r15b
je 0x180015382
mov rdx, rsi
mov ecx, ebx
call fcn.180028d20
xor edx, edx
mov rcx, rsi
call fcn.18001a7b0
cmp dword [rdi + 0x409c], ebx
jne 0x1800153df
mov byte [rdi + 0x40a9], bpl
movsxd rcx, dword [rsi + 0x100]
mov rax, qword [rsi + 0x108]
mov ebp, dword [rax + rcx*4 - 4]
mov rax, qword [0x180297f60]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xe50], 0
jne 0x1800153bc
xor sil, sil
jmp 0x1800153d5
movss xmm1, dword [rax + 0x6c]
movss xmm0, dword [rax + rcx*4 + 0x38c0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae sil
call fcn.180028e80
test sil, sil
jne 0x180015432
xor al, al
jmp 0x1800154ef
mov r9d, 0xffffffff
lea rdx, [0x180187ff1]
mov ebx, r9d
lea r10, [0x1801865f0]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x180015413
cmp byte [rdx], r8b
jne 0x180015413
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x180015400
not ebx
cmp byte [rdi + 0x4d50], 0
jne 0x180015470
call fcn.180017440
mov dword [rdi + 0x4d6c], ebx
mov dword [rdi + 0x4d70], ebp
mov byte [rdi + 0x4d50], 1
mov dword [rdi + 0x4d54], r14d
mov dword [rdi + 0x4d5c], r15d
cmp ebx, dword [rdi + 0x409c]
jne 0x180015470
mov byte [rdi + 0x40aa], 1
mov eax, dword [rdi + 0x3f90]
mov dword [rdi + 0x4d58], eax
mov byte [rdi + 0x4d51], 1
test r14b, 1
jne 0x1800154e0
cmp dword [rdi + 0x4dd0], 0
je 0x1800154d7
test dword [rdi + 0x4dc4], 0x1000
je 0x1800154d7
mov rbx, qword [0x180297f60]
lea rcx, str.Tooltip_Hidden
xor edx, edx
mov r8d, 0x2030347
call fcn.1800125b0
mov rax, qword [rbx + 0x4038]
mov byte [rax + 0xc3], 1
mov byte [rax + 0xc5], 1
mov byte [rax + 0xe4], 1
jmp 0x1800154e0
xor edx, edx
xor ecx, ecx
call fcn.180015ac0
test r14b, 0x12
jne 0x1800154ed
and dword [rdi + 0x49d0], 0xfffffffe
mov al, 1
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 0x18001a290
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180297f60]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001a2f3
mov qword [rsp], rbx
lea rbx, [0x1801865f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001a2d3
cmp byte [r8], r9b
jne 0x18001a2d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001a2c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f70]
not eax
mov r8, qword [r10 + 0x5f78]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001a31f
cmp dword [r8 + 8], eax
je 0x18001a326
add r8, 0x48
cmp r8, rcx
jne 0x18001a310
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x18001b030
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1801865f0]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x18001b0c8
xor r9d, r9d
mov r8, r10
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.180017fa0
mov eax, ebx
add rsp, 0x20
pop rbx
ret