joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001016
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x78
mov eax, 0x6b
mov word [rsp + 0x50], ax
mov eax, 0x65
mov word [rsp + 0x52], ax
mov eax, 0x72
mov word [rsp + 0x54], ax
mov eax, 0x6e
mov word [rsp + 0x56], ax
mov eax, 0x65
mov word [rsp + 0x58], ax
mov eax, 0x6c
mov word [rsp + 0x5a], ax
mov eax, 0x33
mov word [rsp + 0x5c], ax
mov eax, 0x32
mov word [rsp + 0x5e], ax
mov eax, 0x2e
mov word [rsp + 0x60], ax
mov eax, 0x64
mov word [rsp + 0x62], ax
mov eax, 0x6c
mov word [rsp + 0x64], ax
mov eax, 0x6c
mov word [rsp + 0x66], ax
xor eax, eax
mov word [rsp + 0x68], ax
mov byte [rsp + 0x20], 0x57
mov byte [rsp + 0x21], 0x69
mov byte [rsp + 0x22], 0x6e
mov byte [rsp + 0x23], 0x45
mov byte [rsp + 0x24], 0x78
mov byte [rsp + 0x25], 0x65
mov byte [rsp + 0x26], 0x63
mov byte [rsp + 0x27], 0
mov byte [rsp + 0x40], 0x6e
mov byte [rsp + 0x41], 0x6f
mov byte [rsp + 0x42], 0x74
mov byte [rsp + 0x43], 0x65
mov byte [rsp + 0x44], 0x70
mov byte [rsp + 0x45], 0x61
mov byte [rsp + 0x46], 0x64
mov byte [rsp + 0x47], 0x2e
mov byte [rsp + 0x48], 0x65
mov byte [rsp + 0x49], 0x78
mov byte [rsp + 0x4a], 0x65
mov byte [rsp + 0x4b], 0
lea rcx, [rsp + 0x50]
call fcn.14000136f
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.14000113f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov edx, 1
lea rcx, [rsp + 0x40]
call qword [rsp + 0x38]
xor eax, eax
add rsp, 0x78
ret
Function at 0x14000113f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001170
xor eax, eax
jmp 0x14000136a
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0
jne 0x1400011b8
xor eax, eax
jmp 0x14000136a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
add rax, qword [rsp + 0x80]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x1c], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x20], eax
mov qword [rsp + 8], 0
jmp 0x14000121d
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 8], rax
jae 0x140001368
mov eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 8]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 8]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp], 0
jmp 0x1400012bf
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x14000131d
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x14000131d
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x14000131b
jmp 0x14000131d
jmp 0x1400012b4
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
jne 0x140001363
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
jne 0x140001363
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x14000136a
jmp 0x140001210
xor eax, eax
add rsp, 0x78
ret
Function at 0x14000136f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
jmp 0x1400013be
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
je 0x14000158d
mov rax, qword [rsp + 0x30]
sub rax, 0x10
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400013f0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x30], 0
jne 0x1400013f5
jmp 0x14000158d
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
jne 0x14000140d
jmp 0x1400013b1
mov qword [rsp], 0
jmp 0x140001422
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x58]
cmp qword [rsp], rax
jae 0x14000155b
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
je 0x140001457
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x14000145c
jmp 0x14000155b
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5a
jg 0x1400014b5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x41
jl 0x1400014b5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
sub eax, 0x41
add eax, 0x61
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp]
movzx edx, word [rsp + 0x20]
mov word [rax + rcx*2], dx
movzx eax, word [rsp + 0x20]
mov word [rsp + 8], ax
jmp 0x1400014c7
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
mov word [rsp + 8], ax
movzx eax, word [rsp + 8]
mov word [rsp + 0x18], ax
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5a
jg 0x14000152a
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x41
jl 0x14000152a
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
sub eax, 0x41
add eax, 0x61
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx edx, word [rsp + 0x24]
mov word [rax + rcx*2], dx
movzx eax, word [rsp + 0x24]
mov word [rsp + 0xa], ax
jmp 0x14000153c
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0xa], ax
movzx eax, word [rsp + 0xa]
mov word [rsp + 0x1c], ax
movzx eax, word [rsp + 0x18]
movzx ecx, word [rsp + 0x1c]
cmp eax, ecx
je 0x140001556
jmp 0x14000155b
jmp 0x140001417
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x140001588
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x140001588
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
jmp 0x14000158f
jmp 0x1400013b1
xor eax, eax
add rsp, 0x58
ret
Function at 0x1eabc13a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push rbp
mov eax, 0x1210
call fcn.1eabc22e0
sub rsp, rax
lea rbp, [rsp + 0x80]
lea rax, [rbp - 0x30]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x1eabc13d9
mov ecx, 1
call sub.msvcrt.dll_exit
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x1188], rax
cmp qword [rbp + 0x1188], 0xffffffffffffffff
jne 0x1eabc140d
mov ecx, 1
call sub.msvcrt.dll_exit
lea rcx, str.127.0.0.1
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp - 0x3c], eax
mov word [rbp - 0x40], 2
mov ecx, 0x1f90
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp - 0x3e], ax
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x1188]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
jns 0x1eabc1463
mov ecx, 1
call sub.msvcrt.dll_exit
lea rdx, [rbp + 0x170]
mov rax, qword [rbp + 0x1188]
mov r9d, 0
mov r8d, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x1184], eax
mov r9d, 4
mov r8d, 0x1000
mov edx, 0x1000
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x1178], rax
lea rdx, [rbp + 0x170]
mov rax, qword [rbp + 0x1178]
mov r8d, 0x1000
mov rcx, rax
call sub.msvcrt.dll_memmove
mov dword [rbp - 0x44], 4
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0x1178]
mov r9, rdx
mov r8d, 0x20
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x1178]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
nop
add rsp, 0x1210
pop rbp
ret

Function at 0x1eabc1710
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1eabc2530
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1eabc2530
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x1eabc1780
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1eabc7054]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x1eabc1930
mov rax, qword [0x1eabc7058]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1eabc17cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1eabc1857
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1eabc17b0
mov rcx, r12
call fcn.1eabc2020
mov rbp, rax
test rax, rax
je 0x1eabc198d
mov rax, qword [0x1eabc7058]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.1eabc2150
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1eabc7058]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1eabc1972
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1eabc1850
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1eabc18e0
add dword [0x1eabc7054], 1
cmp ebx, 8
jae 0x1eabc1888
test bl, 4
jne 0x1eabc1940
test ebx, ebx
je 0x1eabc1879
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1eabc1960
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x1eabc1879
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1eabc18ba
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1eabc7058]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1eabc1850
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1eabc1710
xor edi, edi
jmp 0x1eabc17d7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x1eabc1879
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x1eabc1879
mov rax, qword [0x1eabc7058]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.1eabc1710
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1eabc1710
nop
nop dword [rax]
Function at 0x1eabc1c90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1eabc7080]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1eabc7060]
test rbx, rbx
je 0x1eabc1ce4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1eabc1cdb
test r12, r12
je 0x1eabc1cdb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1eabc1cc0
lea rcx, [0x1eabc7080]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1eabc2020
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1eabc41e0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1eabc2099
mov rcx, r10
call fcn.1eabc1ef0
test eax, eax
je 0x1eabc2099
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1eabc2096
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1eabc208d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1eabc2099
add r8, 0x28
cmp r8, r9
jne 0x1eabc2078
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140002b00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002b5d
lea rbx, [0x140044f70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002b44
cmp r10, 2
jb 0x140002b44
cmp byte [r9], r8b
jne 0x140002b44
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002b20
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002b9f
lea rbx, [0x140044f70]
cmp r8b, 0x23
jne 0x140002b83
cmp byte [r9], r8b
jne 0x140002b83
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002b70
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002ce0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002cfa
mov qword [r8], 0
lea rdx, [0x140044bf4]
call fcn.140002bb0
mov rbx, rax
test rax, rax
jne 0x140002d1a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002df1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002df1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002df1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002df1
cmp rdi, 0xffffffffffffffff
je 0x140002df1
mov rax, qword [0x1400527b0]
test rax, rax
je 0x140002d8e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002df1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002dde
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400527b0]
test rax, rax
je 0x140002dd3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002dfa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002dec
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002dfc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140005170
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140044f70]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400527b0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x140005206
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1400177f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140011390
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400527b0]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x1400113f1
cmp byte [rbx + 0x424e], 0
jne 0x1400113f1
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400029c0
test dil, 1
je 0x140011518
jmp 0x14001147a
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140049f40]
mulss xmm1, dword [0x140049f34]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x140049ea0]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.1400029c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400114d0
lea r11, [0x140044f70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400114b3
cmp byte [r8], r9b
jne 0x1400114b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400114a0
not ecx
call fcn.14000a540
test rax, rax
je 0x140011518
cmp byte [rax + 0x96], 0
je 0x140011518
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.1400029c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000cc80
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400413d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140016360
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016407
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400163ba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140018420
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003210
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400527a8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001640f
mov rcx, rbx
call fcn.140003210
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140016980
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400527b0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400169e3
mov qword [rsp], rbx
lea rbx, [0x140044f70]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400169c3
cmp byte [r8], r9b
jne 0x1400169c3
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 0x1400169b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140016a17
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140016a1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140016a04
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140041e40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140041e8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140041e8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041e8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140041e8a
cmp dword [rcx + 0x84], 0xe
jbe 0x140041e8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140041e8c
xor al, al
add rsp, 0x28
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