joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003880
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rbx
cmp dword [0x140010aa0], ebx
jne 0x140003925
mov eax, dword [0x140010aa4]
test eax, eax
jne 0x140003925
mov edx, dword [0x140010a98]
test edx, edx
je 0x1400038d3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140010aa4]
mov edx, dword [0x140010a98]
test eax, eax
jne 0x140003925
test edx, edx
jne 0x1400038e4
call fcn.1400036b0
test eax, eax
je 0x1400038fa
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140010038]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140003925
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14000391b
cmp eax, 0x78
je 0x14000391b
cmp eax, 1
je 0x14000391b
cmp eax, 0x32
je 0x14000391b
xor eax, eax
jmp 0x140003979
mov dword [0x140010aa4], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x140010aa0], 0
je 0x140003948
cmp dword [0x140010aa4], 0
jne 0x140003976
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x14000395d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140003976
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140003c00
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x20], 0
mov rbx, rcx
jne 0x140003cc6
add rcx, 0x38
call fcn.140003cd0
cmp qword [rbx + 0x68], 0
jne 0x140003c60
mov rax, qword [rbx + 0x48]
cmp dword [rax - 0x10], 0
jne 0x140003c32
xor eax, eax
jmp 0x140003c57
mov rcx, qword [rbx + 8]
lea rdx, str.GetUILang
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003c57
call rax
mov rdx, qword [rbx + 0x48]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x78]
mov qword [rbx + 0x68], rax
test rax, rax
je 0x140003cc6
lea rcx, [rbx + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
movzx eax, byte [rbx + 0xb0]
xor r9d, r9d
xor r8d, r8d
mov byte [rbx + 0x10], al
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x28], rax
mov r9, rbx
lea r8, [0x140003db0]
xor edx, edx
lea rax, [rbx + 0x30]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x28]
or edx, 0xffffffff
mov qword [rbx + 0x20], rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
mov dh, 0
rcl ebx, cl
rol dword [rax], cl
invalid
Function at 0x140005fb0
Capabilities:
Get file size
Print debug messages
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x60
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x40], ebp
lea r8d, [rbp + 1]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140006128
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
lea r8d, [rbp + 0xe]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140006034
lea rcx, str.Error_reading_welcome_bitmap_file__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400060b0
mov eax, dword [rsp + 0x4a]
test eax, eax
jne 0x14000604b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x4a], eax
cmp dword [rsp + 0x40], 0xe
jne 0x140006117
mov ecx, 0x4d42
cmp word [rsp + 0x48], cx
jne 0x140006117
mov qword [rsp + 0x78], rsi
mov edx, 1
lea esi, [rax - 0xe]
mov qword [rsp + 0x80], rdi
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x1400060cb
lea rcx, str.Out_of_memory_loading_welcome_bitmap_file__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400073d0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rbp
ret
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140006109
lea rcx, str.Error_reading_welcome_bitmap_file__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400060a1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
jmp 0x1400060a3
lea rcx, str.Invalid_welcome_bitmap_file_format__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400060b0
lea rcx, str.Welcome_bitmap_file_does_not_exist__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400060b0
Function at 0x1400061b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x68], rbx
cmp dword [0x140010aa0], ebx
jne 0x14000625d
mov eax, dword [0x140010aa4]
test eax, eax
jne 0x14000625d
mov edx, dword [0x140010a98]
test edx, edx
je 0x14000620b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140010aa4]
mov edx, dword [0x140010a98]
test eax, eax
jne 0x14000625d
test edx, edx
jne 0x14000621c
call fcn.1400036b0
test eax, eax
je 0x140006232
lea rdx, [rsp + 0x68]
mov rcx, qword [0x140010038]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14000625d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x140006253
cmp eax, 0x78
je 0x140006253
cmp eax, 1
je 0x140006253
cmp eax, 0x32
je 0x140006253
xor eax, eax
jmp 0x1400062c5
mov dword [0x140010aa4], 1
mov qword [rsp + 0x20], rbx
lea r9, [0x140004560]
mov r8, rdi
mov edx, 0x6d47
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp dword [0x140010aa0], 0
je 0x140006294
cmp dword [0x140010aa4], 0
jne 0x1400062c2
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x1400062a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400062c2
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140003160
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.140004340
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004340
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400031d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140003300
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000321b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400032a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003200
mov rcx, rbx
call fcn.140003c20
mov rdi, rax
test rax, rax
je 0x140003322
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003d60
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003307
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000329e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400032b0
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000329e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003160
nop dword [rax]
xor esi, esi
jmp 0x140003228
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140003160
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140003160
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003890
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x1400038ec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400038e3
test rsi, rsi
je 0x1400038e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400038c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003c20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006a10]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003c40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003c48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003c40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003c9d
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 0x140003c94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003c40
add rax, 0x28
cmp rax, r9
jne 0x140003c80
xor eax, eax
ret

Function at 0x140003ca0
Capabilities:
Parse pe header

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

Function at 0x140003d60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006a10]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003d7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003d88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001008
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000eab0
test rax, rax
je 0x140001065
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call fcn.14000e8bc
cmp dword [rax], ebx
jle 0x140001065
xor edi, edi
call fcn.14000e8c4
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call fcn.14000e8bc
cmp ebx, dword [rax]
jl 0x14000103c
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.1400012f4
call fcn.140001398
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.1400011a8
mov rbx, rax
call fcn.1400013a0
xor r9d, r9d
test edi, edi
jle 0x1400010b1
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 0x14000109e
mov rdx, qword [0x140038008]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010c8
mov rdx, qword [rbx]
mov rcx, qword [section..data]
test rcx, rcx
jne 0x1400010d7
mov rcx, qword [rbx]
mov r9, qword [0x140038b60]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
lea rax, [0x140028474]
mov qword [rsp + 0x48], rdx
mov rdx, rbx
mov qword [rsp + 0x40], rcx
mov ecx, edi
mov qword [rsp + 0x38], rax
lea rax, [0x140028478]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140038b68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140001d98
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400047c4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140038068]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rdx
mov edi, ecx
call fcn.140004a7c
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140004a54
movzx ecx, byte [rbx + 0xf]
shl rcx, 8
cmp byte [0x140038c20], 0
je 0x1400049f5
movzx eax, byte [rbx + 0xa]
movzx edx, byte [rbx + 0xb]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 9]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 8]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0xe]
or rcx, rax
movzx eax, byte [rbx + 0xd]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 0xc]
shl rcx, 8
or rcx, rax
shl rcx, 0x20
or rdx, rcx
jl 0x140004a54
xor r8d, r8d
mov ecx, edi
call fcn.140015b0c
test rax, rax
js 0x140004a54
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.1400197e4
test eax, eax
js 0x140004a54
movzx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x20]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6064b50
jne 0x140004a54
movzx eax, byte [rsp + 0x56]
movzx edx, byte [rsp + 0x57]
movzx r8d, byte [rsp + 0x53]
shl edx, 8
or edx, eax
shl r8d, 8
movzx eax, byte [rsp + 0x55]
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x54]
shl edx, 8
or rdx, rax
movzx eax, byte [rsp + 0x52]
or r8d, eax
shl rdx, 0x20
movzx eax, byte [rsp + 0x51]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsp + 0x50]
shl r8d, 8
or r8, rax
or rdx, r8
jl 0x140004a54
xor r8d, r8d
mov ecx, edi
call fcn.140015b0c
test rax, rax
js 0x140004a54
movzx eax, byte [rsp + 0x4e]
mov r8, 0xffffffffffffffc8
movzx edx, byte [rsp + 0x4f]
movzx ecx, byte [rsp + 0x4b]
shl rdx, 8
or rdx, rax
shl rcx, 8
movzx eax, byte [rsp + 0x4d]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x4c]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x4a]
or rcx, rax
shl rdx, 0x20
movzx eax, byte [rsp + 0x49]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x48]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x56]
or rdx, rcx
movzx ecx, byte [rsp + 0x53]
sub r8, rdx
shl rcx, 8
movzx edx, byte [rsp + 0x57]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x55]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x54]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x52]
or rcx, rax
shl rdx, 0x20
movzx eax, byte [rsp + 0x51]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x50]
shl rcx, 8
or rcx, rax
or rdx, rcx
sub r8, rdx
add rsi, r8
jmp 0x140004a4f
movzx eax, byte [rbx + 0x12]
xor r8d, r8d
movzx edx, byte [rbx + 0x13]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0x11]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0x10]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0xe]
or rcx, rax
movzx eax, byte [rbx + 0xd]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 0xc]
shl rcx, 8
or rcx, rax
add rcx, rdx
sub rsi, rcx
mov ecx, edi
add rdx, rsi
call fcn.140015b0c
test rax, rax
js 0x140004a54
mov rax, rsi
jmp 0x140004a58
or rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14000ac30
mov rbx, qword [rsp + 0x460]
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004a7c
Capabilities:
Read file on windows

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 rsi, rdx
mov edi, 2
mov r8d, edi
mov rdx, 0xffffffffffffffea
mov ebp, ecx
call fcn.140015b0c
mov rbx, rax
test rax, rax
js 0x140004c0c
lea r8d, [rdi + 0x14]
mov rdx, rsi
mov ecx, ebp
call fcn.1400197e4
test eax, eax
js 0x140004c0c
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x140004b19
mov rcx, rsi
call fcn.140004fec
test eax, eax
je 0x140004b11
mov r8, rbx
mov rdx, rsi
mov ecx, ebp
call fcn.140004c2c
mov rbx, rax
mov rax, rbx
jmp 0x140004c10
mov r8d, edi
xor edx, edx
mov ecx, ebp
call fcn.140015b0c
mov r15, rax
test rax, rax
js 0x140004c0c
mov r14d, 0x10015
mov r8d, edi
cmp rax, r14
mov ebx, r14d
mov ecx, ebp
cmovl rbx, rax
mov rdx, rbx
neg rdx
call fcn.140015b0c
test rax, rax
js 0x140004c0c
mov ecx, r14d
call fcn.14000ece4
mov rdi, rax
test rax, rax
je 0x140004c0c
mov r8d, ebx
mov rdx, rax
mov ecx, ebp
call fcn.1400197e4
test eax, eax
js 0x140004c04
movsxd r14, eax
add eax, 0xffffffea
movsxd rbx, eax
add r14, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x140004c04
cmp byte [rbx], 0x50
jne 0x140004bdb
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x140004bdb
movzx eax, byte [rbx + 0x14]
movzx ecx, byte [rbx + 0x15]
shl rcx, 8
or rcx, rax
lea rax, [rbx + 0x16]
add rax, rcx
cmp rax, r14
je 0x140004be0
dec rbx
jmp 0x140004b92
mov r8d, 0x16
mov rdx, rbx
mov rcx, rsi
call fcn.14000b450
mov rcx, rdi
call fcn.14000ecd0
sub rbx, r14
add rbx, r15
jmp 0x140004af5
mov rcx, rdi
call fcn.14000ecd0
or rax, 0xffffffffffffffff
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 0x140004c2c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov esi, ecx
lea rdx, [r8 - 0x14]
xor r8d, r8d
call fcn.140015b0c
mov rdi, rax
test rax, rax
js 0x140004c93
mov r8d, 0x14
mov rdx, rbx
mov ecx, esi
call fcn.1400197e4
test eax, eax
js 0x140004c93
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
cmp ecx, 0x7064b50
jne 0x140004c93
mov rax, rdi
jmp 0x140004c97
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005068
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov r14, r8
mov rbx, rdx
mov esi, ecx
je 0x1400051b8
cmp qword [rdx], 0xffffffffffffffff
je 0x1400051b8
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.140015b0c
test rax, rax
js 0x1400051b8
mov rcx, qword [rbx + 8]
inc rcx
call fcn.14000ece4
mov rdi, rax
test rax, rax
je 0x1400051b8
mov r8d, dword [rbx + 8]
mov rdx, rax
mov ecx, esi
call fcn.1400197e4
movsxd rcx, eax
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x1400051b0
cmp dword [rbx + 0x18], 0
jne 0x140005105
mov byte [rax + rdi], 0
test r14, r14
je 0x1400050fd
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov rax, rdi
jmp 0x1400051ba
cmp dword [rbx + 0x18], 8
jne 0x1400051b0
and qword [rsp + 0x50], 0
lea r8, str.1.2.11
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x60], 0
mov r9d, 0x58
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], eax
lea edx, [r9 - 0x67]
call fcn.140009444
test eax, eax
js 0x1400051b0
mov rcx, qword [rbx]
inc rcx
call fcn.14000ece4
mov rsi, rax
test rax, rax
je 0x1400051b0
mov ecx, dword [rbx]
mov edx, 1
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
call fcn.140007d64
mov rcx, rdi
test eax, eax
jns 0x140005187
call fcn.14000ecd0
mov rcx, rsi
jmp 0x1400051b3
mov rax, qword [rbx]
mov byte [rsi + rax], 0
call fcn.14000ecd0
lea rcx, [rsp + 0x20]
call fcn.1400093fc
test eax, eax
js 0x140005182
test r14, r14
je 0x1400051ab
mov eax, dword [rbx]
mov dword [r14], eax
mov rax, rsi
jmp 0x1400051ba
mov rcx, rdi
call fcn.14000ecd0
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140005458
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov rsi, r8
mov qword [rsp + 0x28], rax
mov r9, r8
mov dword [rsp + 0x20], 0x10000
mov rbp, rcx
mov r8, rcx
xor ecx, ecx
mov rdi, rdx
call fcn.140016040
mov rbx, rax
test rax, rax
jne 0x1400054bf
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov r8, rbp
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.140016040
mov rbx, rax
cmp dword [0x140038040], 0
je 0x140005576
lea rcx, str.J2D_D3D
call fcn.14000eab0
test rax, rax
je 0x1400054f6
lea rdx, str.false
mov rcx, rax
call fcn.14001830c
neg eax
sbb ecx, ecx
and dword [0x140038040], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14000eab0
mov rdi, rax
test rax, rax
je 0x14000552b
lea rdx, str.false
mov rcx, rax
call fcn.14001830c
neg eax
sbb ecx, ecx
and ecx, dword [0x140038040]
mov dword [0x140038040], ecx
jmp 0x140005531
mov ecx, dword [0x140038040]
test ecx, ecx
jns 0x140005568
and dword [0x140038040], 0
test rdi, rdi
je 0x140005576
lea rdx, str.true
mov rcx, rdi
call fcn.14001830c
mov ecx, dword [0x140038040]
test eax, eax
mov edx, 1
cmove ecx, edx
mov dword [0x140038040], ecx
test ecx, ecx
je 0x140005576
lea rcx, str.preloadD3D
call fcn.1400052e0
test rbx, rbx
je 0x1400055a0
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400055a9
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x140038c28], 0
je 0x1400055c0
mov rax, qword [0x140038c50]
test rax, rax
je 0x1400055c0
call rax
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret