joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d275
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400b6210
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400d82d8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400db798]
xor r11d, r11d
lea rdi, [0x1400c2894]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400b6280
mov rax, 0xfffffffffffffffe
jmp 0x1400b63cd
cmp word [r10 + 6], r11w
jne 0x1400b62ef
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400b62aa
test r14, r14
je 0x1400b629b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400b63cd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400b62b8
mov r8b, 2
jmp 0x1400b62d6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400b62c6
mov r8b, 3
jmp 0x1400b62d6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400b63c2
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400b6318
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400b63c2
cmp bl, bpl
jb 0x1400b63c2
cmp bl, r8b
jae 0x1400b63c2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400b6345
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400b63c2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400b6327
cmp r9, rbp
jae 0x1400b6371
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400b6274
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400b63c2
cmp edx, 0x110000
jae 0x1400b63c2
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400b63c2
test r14, r14
je 0x1400b63b0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14003ec79
jmp 0x1400b63cd
mov rdx, rsi
mov rcx, r10
call fcn.14003f2ff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003d72f
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x14004a348
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14004a3d5
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14004a3d5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004a3d5
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14004a3bc
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14004a3b6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14004a3be
add rdx, 0x28
jmp 0x14004a39b
xor edx, edx
test rdx, rdx
jne 0x14004a3c7
xor al, al
jmp 0x14004a3db
cmp dword [rdx + 0x24], 0
jge 0x14004a3d1
xor al, al
jmp 0x14004a3db
mov al, 1
jmp 0x14004a3db
xor al, al
jmp 0x14004a3db
add rsp, 0x18
ret
Function at 0x14003d5a9
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400a1c9c
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 0x1400a1d23
mov rsi, rbx
cmp word [rax], bp
je 0x1400a1ce2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400a1ccc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400a1cc8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003c03c
mov rdi, rax
test rax, rax
je 0x1400a1d10
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003d734
mov rbp, rdi
xor ecx, ecx
call fcn.14003c17c
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 0x14003d81f
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140047540
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400e51e4]
call fcn.14003efd5
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400475eb
lea rdx, str.RtlInitUnicodeString
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d96c8], rax
lea rdx, str.NtCreateFile
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d96d0], rax
lea rdx, str.NtQueryDirectoryObject
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d96e0], rax
lea rdx, str.NtOpenDirectoryObject
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d96e8], rax
lea rdx, str.NtSetInformationFile
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d96d8], rax
cmp qword [0x1400d96c8], 0
je 0x14004761d
cmp qword [0x1400d96d0], 0
je 0x14004761d
cmp qword [0x1400d96e0], 0
je 0x14004761d
cmp qword [0x1400d96e8], 0
je 0x14004761d
cmp qword [0x1400d96d8], 0
jne 0x140047638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cannot_load_apis__d_n
call fcn.14003d6b2
xor ecx, ecx
call fcn.14003c3cf
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14003d892
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14005ec74
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400c3858]
mov ecx, 2
lea r8, [0x1400c3850]
lea rdx, str.FlsGetValue
call fcn.14005e744
mov ecx, ebx
test rax, rax
je 0x14005ecae
add rsp, 0x20
pop rbx
jmp qword [0x1400e6020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14003d9fa
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14005ebc4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400c3818]
xor ecx, ecx
lea r8, [0x1400c3810]
lea rdx, str.FlsAlloc
call fcn.14005e744
test rax, rax
je 0x14005ebfd
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400e6020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x14003da77
Capabilities:
Get geographical location

Disassembly:
jmp 0x140097bec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400c4c58]
mov rbp, rcx
lea r8, [0x1400c4c50]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.14009710c
test rax, rax
je 0x140097c4c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400e6030]
jmp 0x140097c66
xor edx, edx
mov rcx, rbp
call fcn.14003d315
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003da8b
Capabilities:
Terminate process

Disassembly:
jmp 0x140049b18
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14003dbd0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400605a4
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140060300

Function at 0x14003e0c1
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140096450
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14009646a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.14003ec83
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14003e990
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
jmp 0x140047320
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x1400d82d8]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x1400e51e4]
call fcn.14003efd5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
lea r8, [0x1400c1188]
mov edx, 0x66
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea r9, [rbp + 0x50]
xor r8d, r8d
lea rdx, [0x1400c1198]
lea rcx, str.C:windows_temp_
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [rbp + 0x50]
lea rcx, str.___MSI_file:__ls_n
call fcn.14003d6b2
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x274], eax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x298], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 7
mov edx, 0x40040000
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x2b8], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x274]
mov rdx, qword [rbp + 0x298]
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov ecx, 2
call fcn.14003e5a3
lea rdx, str.ACTIONINSTALL
lea rcx, [rbp + 0x50]
call fcn.14003c014
mov dword [rbp + 0x2d4], eax
lea rdx, str.REMOVEALL
lea rcx, [rbp + 0x50]
call fcn.14003c014
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400c0440]
call fcn.14003e765
mov eax, edi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.14003d72f
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret

Function at 0x14003ed73
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14005eccc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400c3878]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400c3870]
call fcn.14005e744
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14005ed0c
call qword [0x1400e6020]
jmp 0x14005ed12
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003eefe
Capabilities:
Parse pe header

Disassembly:
jmp 0x140060594
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140060300
Function at 0x1400afb90
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400afba6
mov al, 1
jmp 0x1400afc06
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400afbb7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400afc04
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003f188
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400afc04
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400afc04
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400afc04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400afc06
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140013ec0
Capabilities:
Parse pe header

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

Function at 0x140001000
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x12c
mov dword [rsp + 0x20], 0
call sub.MSVCR90.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000104c
xor eax, eax
jmp 0x14000108e
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000108a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x28], eax
je 0x14000108a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x28], eax
jne 0x140001071
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400011c0
add rsp, 0x160
pop rbx
ret

Function at 0x14000156b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1400011da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400011d6
repz ret
ror rcx, 0x10
jmp 0x1400014c4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400030f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400031e8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001549
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400030f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000156b
mov rax, qword [rsp + 0x88]
mov qword [0x1400031e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140003188], rax
mov rax, qword [0x1400031e8]
mov qword [0x140003060], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140003170], rax
mov dword [0x140003050], 0xc0000409
mov dword [0x140003054], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140003008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400030e8], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400021f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400030e8], 0
jne 0x1400015f2
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
jne 0x401028
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x401420
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rdi
xor eax, eax
mov rdi, rdx
mov qword [rsp + 0x30], r12
mov r12, rcx
mov rcx, 0xffffffffffffffff
mov rbx, rdx
repne scasb al, byte [rdi]
not rcx
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rbp, rax
jne 0x401474
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rbp + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
cmp byte [0x0040f352], 0
mov qword [rsp + 0x50], rsi
mov rdi, rax
je 0x40148f
call fcn.00404ae0
mov rsi, rax
jmp 0x401494
mov rsi, qword [rsp + 0x20]
movzx eax, byte [rbx]
inc rbx
cmp al, 0x2e
jne 0x4014a5
mov ecx, 0x2f
jmp 0x4014a8
movsx ecx, al
mov byte [rdi], cl
inc rdi
test al, al
jne 0x401494
mov rax, qword [r12]
mov rdx, rbp
mov rcx, r12
call qword [rax + 0x30]
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.msvcrt.dll_free]
cmp byte [0x0040f352], 0
je 0x401500
call fcn.00404ae0
sub rax, rsi
mov rcx, rax
call fcn.00404b30
lea rcx, str._ld_micro_seconds_to_load_main_class_n
mov rdx, rax
call qword [sym.imp.msvcrt.dll_printf]
lea rcx, str._____JAVA_LAUNCHER_DEBUG_____n
call qword [sym.imp.msvcrt.dll_printf]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret

Function at 0x4018b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
sub rsp, 0x1c0
mov rax, qword [0x0040f310]
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call fcn.004046c0
lea rdx, [0x0040d4ec]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.msvcrt.dll_fopen]
test rax, rax
mov rbx, rax
jne 0x401930
mov rcx, qword [sym.imp.msvcrt.dll__iob]
lea r8, [rsp + 0xa0]
lea rdx, str.Cant_open__s_n
add rcx, 0x60
call qword [sym.imp.msvcrt.dll_fprintf]
lea eax, [rbx + 1]
mov rcx, qword [rsp + 0x1b0]
call fcn.00409d10
add rsp, 0x1c0
pop rbx
ret
mov edx, 1
lea rcx, [rsp + 0x20]
mov r9, rax
lea r8d, [rdx + 0x7f]
call qword [sym.imp.msvcrt.dll_fread]
test rax, rax
je 0x40198a
nop
mov r9, qword [sym.imp.msvcrt.dll__iob]
lea rcx, [rsp + 0x20]
mov r8, rax
add r9, 0x30
mov edx, 1
call qword [sym.imp.msvcrt.dll_fwrite]
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x7f]
mov r9, rbx
call qword [sym.imp.msvcrt.dll_fread]
test rax, rax
jne 0x401950
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_fclose]
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
call fcn.00409d10
add rsp, 0x1c0
pop rbx
ret
Function at 0x401e80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov eax, dword [0x0040f340]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rdi
movsxd rdi, dword [0x0040f330]
mov qword [rsp + 0x48], r12
cmp edi, eax
mov rbp, rdx
mov r12, rcx
jl 0x401f5a
cmp qword [0x0040f338], 0
jne 0x401efa
mov ecx, 0x40
mov dword [0x0040f340], 4
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rbx, rax
jne 0x401ef1
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rbx + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
mov qword [0x0040f338], rax
jmp 0x401f61
add eax, eax
movsxd rcx, eax
mov dword [0x0040f340], eax
shl rcx, 4
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rbx, rax
jne 0x401f2e
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rbx + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
mov rdx, qword [0x0040f338]
mov r8, rdi
mov rcx, rax
shl r8, 4
call sub.msvcrt.dll_memcpy
mov rcx, qword [0x0040f338]
call qword [sym.imp.msvcrt.dll_free]
mov qword [0x0040f338], rbx
jmp 0x401f61
mov rbx, qword [0x0040f338]
mov rax, rdi
add rax, rax
inc edi
mov qword [rbx + rax*8], r12
mov r12, qword [rsp + 0x48]
mov qword [rbx + rax*8 + 8], rbp
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov dword [0x0040f330], edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x4031b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
test rcx, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], r12
mov r12, r9
movsxd r10, r8d
mov rbx, rcx
jne 0x4031d8
test rdx, rdx
je 0x403401
mov rbx, rdx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
xor eax, eax
mov rdi, rbx
mov rcx, 0xffffffffffffffff
xor edx, edx
repne scasb al, byte [rdi]
test r10d, r10d
mov rsi, r10
not rcx
lea r8, [rcx - 1]
jle 0x40321e
mov rdi, qword [r9 + rdx*8]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
inc rdx
not rcx
add r8, rcx
cmp rdx, r10
jl 0x403201
xor eax, eax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x28], r13
lea r13, str._Dsun.java.command
mov rcx, 0xffffffffffffffff
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
add rcx, r8
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rbp, rax
jne 0x403268
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rbp + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
mov byte [rax], 0
mov rdi, rax
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop
nop
movzx eax, byte [r13 + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x403280
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x4032a1
xor r8d, r8d
test rsi, rsi
jle 0x403317
lea r9, [0x0040cc9c]
nop
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
movzx eax, byte [r9 + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x4032d0
mov rdx, qword [r12 + r8*8]
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop
nop
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x403300
inc r8
cmp r8, rsi
jl 0x4032c0
movsxd rbx, dword [0x0040f330]
mov eax, dword [0x0040f340]
cmp ebx, eax
jl 0x4033cb
mov rsi, qword [0x0040f338]
test rsi, rsi
jne 0x403373
lea ecx, [rsi + 0x40]
mov dword [0x0040f340], 4
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rdi, rax
jne 0x40336a
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rsi + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
mov qword [0x0040f338], rax
jmp 0x4033d2
add eax, eax
movsxd rcx, eax
mov dword [0x0040f340], eax
shl rcx, 4
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rdi, rax
jne 0x4033a7
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rdi + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
mov r8, rbx
mov rdx, rsi
mov rcx, rax
shl r8, 4
call sub.msvcrt.dll_memcpy
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov qword [0x0040f338], rdi
jmp 0x4033d2
mov rdi, qword [0x0040f338]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
mov rax, rbx
add rax, rax
inc ebx
mov qword [rdi + rax*8], rbp
mov rbp, qword [rsp + 0x48]
mov qword [rdi + rax*8 + 8], 0
mov rdi, qword [rsp + 0x58]
mov dword [0x0040f330], ebx
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x403410
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov eax, dword [0x0040f340]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
movsxd rdi, dword [0x0040f330]
cmp edi, eax
jl 0x4034da
cmp qword [0x0040f338], 0
jne 0x40347a
mov ecx, 0x40
mov dword [0x0040f340], 4
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rbx, rax
jne 0x403471
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rbx + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
mov qword [0x0040f338], rax
jmp 0x4034e1
add eax, eax
movsxd rcx, eax
mov dword [0x0040f340], eax
shl rcx, 4
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rbx, rax
jne 0x4034ae
lea rcx, str.malloc
call qword [sym.imp.msvcrt.dll_perror]
lea ecx, [rbx + 1]
call qword [sym.imp.msvcrt.dll_exit]
int3
mov rdx, qword [0x0040f338]
mov r8, rdi
mov rcx, rax
shl r8, 4
call sub.msvcrt.dll_memcpy
mov rcx, qword [0x0040f338]
call qword [sym.imp.msvcrt.dll_free]
mov qword [0x0040f338], rbx
jmp 0x4034e1
mov rbx, qword [0x0040f338]
mov rax, rdi
lea rcx, str._Dsun.java.launcherSUN_STANDARD
add rax, rax
inc edi
mov qword [rbx + rax*8], rcx
mov qword [rbx + rax*8 + 8], 0
mov rbx, qword [rsp + 0x40]
mov dword [0x0040f330], edi
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret