joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f9a0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x42fc3e
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov qword [rsp + 0x48], 0
mov rax, qword [0x012aa140]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.00430240
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
je 0x42fc15
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
test byte [rax], al
lea rcx, [rax + 0x308]
mov qword [rsp + 0x88], rcx
nop
mov rax, rcx
call fcn.0040b000
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x310], rcx
cmp qword [rdx + 0x328], 0
jne 0x42fad5
cmp byte [0x013459df], 0
je 0x42fad5
mov rax, qword [0x012aa148]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.004300c0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x328], rax
test rax, rax
je 0x42fbed
nop
nop
mov rax, qword [rsp + 0x88]
nop
call fcn.0040b220
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
mov rcx, qword [0x012aa060]
lea rdx, [rsp + 0x50]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call fcn.00430040
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x42fbc5
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x90], r14
mov rsi, qword [r14 + 8]
cmp rsi, rdx
jb 0x42fba7
sub rsi, rcx
add rsi, 0xffffffffffffc000
cmp rsi, 0x4000000
ja 0x42fba7
mov qword [r14], rdx
lea rax, [rcx + 0x53a0]
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
nop
call fcn.0045b7c0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov rcx, qword [rsp + 0x90]
test byte [rcx], al
lea rax, [0x00e8b021]
mov ebx, 0xc
nop dword [rax]
call fcn.00432bc0
call fcn.0045d3e0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00e8d3e0]
mov ebx, 0x22
call fcn.00432bc0
call fcn.0045d3e0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00e8e8e9]
mov ebx, 0x30
call fcn.00432bc0
call fcn.0045d3e0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00e8d960]
mov ebx, 0x25
call fcn.00432bc0
nop
nop
call fcn.004597c0
jmp fcn.0042f9a0
Function at 0x45b8c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x01346220]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x013459e7], 0
je 0x45b8f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x01346720]
aesenc xmm0, xmmword [0x01346730]
aesenc xmm0, xmmword [0x01346740]
movq rax, xmm0
ret
jmp 0x4099a0
Function at 0x403000
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rcx, 0x401007
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
add rsp, 0x20
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
add rsp, 0x20
mov qword [0x0040b27c], rax
sub rsp, 0x20
mov rcx, rax
mov rdx, 8
mov r8, 0x1388
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
add rsp, 0x20
mov qword [0x0040b284], rax
sub rsp, 0x20
mov rcx, qword [0x0040b27c]
mov rdx, 8
mov r8, 0x6978
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
add rsp, 0x20
mov qword [0x0040b28c], rax
sub rsp, 0x20
mov rcx, qword [0x0040b27c]
mov rdx, 8
mov r8, 0x2328
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
add rsp, 0x20
mov qword [0x0040b294], rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
add rsp, 0x20
mov qword [0x0040b2b8], rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
add rsp, 0x20
mov qword [0x0040b2c0], rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
add rsp, 0x20
mov qword [0x0040b2c8], rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
add rsp, 0x20
mov qword [0x0040b2d0], rax
sub rsp, 0x20
mov rcx, 1
mov rdx, 0x403cb8
call qword [sym.imp.NTDLL.DLL_RtlAddVectoredExceptionHandler]
add rsp, 0x20
mov qword [0x0040b274], rax
call fcn.00403126
leave
ret
Function at 0x403ac3
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x58
push rbx
push rsi
push rdi
push r12
push r13
mov dword [rbp - 0x10], 0
mov dword [rbp - 0xc], 0
test rcx, rcx
jne 0x403af0
xor eax, eax
pop r13
pop r12
pop rdi
pop rsi
pop rbx
leave
ret
mov rsi, rdx
sub rsp, 0x20
call fcn.0040407e
add rsp, 0x20
mov qword [rbp - 0x50], rax
test eax, eax
jne 0x403b11
pop r13
pop r12
pop rdi
pop rsi
pop rbx
leave
ret
xor eax, eax
lea rdi, [rbp - 0x40]
mov ecx, 0x30
rep stosb byte [rdi], al
sub rsp, 0x20
mov rcx, 0
mov rdx, qword [rsi + 8]
mov r8, 0x1000
mov r9, 0x40
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
add rsp, 0x20
mov qword [rbp - 0x10], rax
mov rdi, rax
xor r12, r12
mov r13, qword [rsi]
test rax, rax
je 0x403c4b
sub rsp, 0x20
mov rcx, qword [rbp - 0x50]
mov rdx, r13
lea r8, [rbp - 0x40]
mov r9, 0x30
call qword [sym.imp.KERNEL32.DLL_VirtualQueryEx]
add rsp, 0x20
test eax, eax
jne 0x403b9c
sub rsp, 0x20
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
xor eax, eax
pop r13
pop r12
pop rdi
pop rsi
pop rbx
leave
ret
mov qword [rbp - 0x48], 0
cmp dword [rbp - 0x1c], 0x20
jne 0x403bbc
cmp dword [rbp - 0x1c], 0x40
jne 0x403bbc
cmp dword [rbp - 0x1c], 2
jne 0x403bbc
cmp dword [rbp - 0x1c], 4
je 0x403be5
sub rsp, 0x30
mov rcx, qword [rbp - 0x50]
mov rdx, r13
mov r8, qword [rbp - 0x28]
mov r9, 0x40
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
add rsp, 0x30
sub rsp, 0x30
mov ecx, dword [rbp - 0x50]
mov rdx, r13
mov r8, rdi
mov r9, qword [rbp - 0x28]
mov qword [rsp + 0x20], 0
call fcn.004036e7
add rsp, 0x30
cmp qword [rbp - 0x48], 0
je 0x403c35
sub rsp, 0x30
mov rcx, qword [rbp - 0x50]
mov rdx, r13
mov r8, qword [rbp - 0x28]
mov r9, qword [rbp - 0x48]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
add rsp, 0x30
add rdi, qword [rbp - 0x28]
add r12, qword [rbp - 0x28]
add r13, qword [rbp - 0x28]
cmp r12, qword [rsi + 8]
jb 0x403b5b
sub rsp, 0x20
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
mov rax, qword [rbp - 0x10]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
leave
ret

Function at 0x403c6a
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 8
push rax
push r8
push r9
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
sub rsp, 0x20
mov rcx, qword [0x0040b2d0]
mov rdx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [0x0040b2c8]
mov rdx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
add rsp, 0x20
pop r9
pop r8
pop rax
leave
ret
Function at 0x403e0b
Capabilities:
Enumerate processes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x148
push rbx
push rsi
push rdi
mov dword [rbp - 0x138], 0
mov dword [rbp - 0x134], 0
mov dword [rbp - 0x130], 0
mov dword [rbp - 0x128], 0
mov dword [rbp - 0x124], 0
mov dword [rbp - 0x120], 0
mov dword [rbp - 0x11c], 0
mov dword [rbp - 0x118], 0
mov dword [rbp - 0x114], 0
mov dword [rbp - 0x110], 0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
xor eax, eax
lea rdi, [rbp - 0x138]
mov ecx, 0x130
rep stosb byte [rdi], al
sub rsp, 0x20
mov rcx, 2
mov rdx, 0
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
add rsp, 0x20
mov qword [rbp - 0x140], rax
mov dword [rbp - 0x138], 0x130
sub rsp, 0x20
mov rcx, qword [rbp - 0x140]
lea rdx, [rbp - 0x138]
call qword [sym.imp.KERNEL32.DLL_Process32First]
add rsp, 0x20
test rax, rax
je 0x403f4c
sub rsp, 0x20
lea rcx, [rbp - 0x10c]
mov rdx, qword [rbp + 0x10]
mov r8, 0
mov r9, qword [rbp + 0x18]
call fcn.0040204e
add rsp, 0x20
test rax, rax
je 0x403f2b
sub rsp, 0x20
mov rcx, qword [rbp - 0x140]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
mov eax, dword [rbp - 0x130]
pop rdi
pop rsi
pop rbx
leave
ret
sub rsp, 0x20
mov rcx, qword [rbp - 0x140]
lea rdx, [rbp - 0x138]
call qword [sym.imp.KERNEL32.DLL_Process32Next]
add rsp, 0x20
test rax, rax
jne 0x403ee3
sub rsp, 0x20
mov rcx, qword [rbp - 0x140]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
xor rax, rax
pop rdi
pop rsi
pop rbx
leave
ret

Function at 0x403f69
Capabilities:
Enumerate process modules

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x248
push rbx
push rsi
push rdi
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rbx, r8
mov qword [rbp + 0x28], r9
test rcx, rcx
je 0x404076
xor eax, eax
lea rdi, [rbp - 0x23c]
mov ecx, 0x130
rep stosb byte [rdi], al
sub rsp, 0x20
mov rcx, 8
mov rdx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
add rsp, 0x20
mov dword [rbp - 0x240], eax
mov dword [rbp - 0x23c], 0x238
sub rsp, 0x20
mov ecx, dword [rbp - 0x240]
lea rdx, [rbp - 0x23c]
call qword [sym.imp.KERNEL32.DLL_Module32First]
add rsp, 0x20
test rax, rax
je 0x404062
sub rsp, 0x20
lea rcx, [rbp - 0x20c]
mov rdx, qword [rbp + 0x18]
mov r8, 0
mov r9, qword [rbp + 0x28]
call fcn.0040204e
add rsp, 0x20
test rax, rax
je 0x404042
sub rsp, 0x20
mov ecx, dword [rbp - 0x240]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
mov rax, qword [rbp - 0x224]
mov qword [rbx], rax
mov eax, dword [rbp - 0x21c]
mov qword [rbx + 8], rax
mov eax, 1
pop rdi
pop rsi
pop rbx
leave
ret
sub rsp, 0x20
mov ecx, dword [rbp - 0x240]
lea rdx, [rbp - 0x23c]
call qword [sym.imp.KERNEL32.DLL_Module32Next]
add rsp, 0x20
test rax, rax
jne 0x403fe8
sub rsp, 0x20
mov ecx, dword [rbp - 0x240]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
xor rax, rax
pop rdi
pop rsi
pop rbx
leave
ret
Function at 0x405000
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
sub rsp, 8
sub rsp, 0x20
mov rcx, 0
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
add rsp, 0x20
mov qword [0x0040b009], rax
sub rsp, 0x20
call fcn.00405042
add rsp, 0x20
sub rsp, 0x20
mov rcx, 0
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4053b1
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 8
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x0040b009]
mov rdx, 0xa
mov r8, str.SETTINGS
mov r9, 0
call qword [sym.imp.KERNEL32.DLL_FindResourceExA]
add rsp, 0x20
mov rbx, rax
sub rsp, 0x20
mov rcx, qword [0x0040b009]
mov rdx, rax
call qword [sym.imp.KERNEL32.DLL_LoadResource]
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_LockResource]
add rsp, 0x20
mov rsi, rax
sub rsp, 0x20
mov rcx, qword [0x0040b009]
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
add rsp, 0x20
mov rdi, rax
sub rsp, 0x40
mov rcx, str.EasyAntiCheatSettings.json
mov rdx, 0x40000000
mov r8, 2
mov r9, 0
mov qword [rsp + 0x20], 2
mov qword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
add rsp, 0x40
mov rbx, rax
sub rsp, 0x30
mov rcx, rax
mov rdx, rsi
mov r8, rdi
mov r9, 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
add rsp, 0x30
sub rsp, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
leave
ret
Function at 0x401250
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
mov r11d, eax
mov eax, 1
cmp ecx, 5
ja 0x401278
jne 0x401276
shr r11w, 8
cmp r11b, al
jae 0x401278
xor eax, eax
add rsp, 0x28
ret

Function at 0x401530
Capabilities:
Move file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x400
mov rdi, rdx
call fcn.00416e70
mov edx, 0x400
mov rcx, rax
mov rbx, rax
call fcn.0041ac10
lea rcx, str._Extractor__Working_dir_is__s_n
mov rdx, rbx
call fcn.0040bc84
mov rcx, rbx
call fcn.00416e30
mov rcx, rdi
call fcn.0040b378
test eax, eax
je 0x40158f
lea rcx, str._Rename__The_target_already_exists._Deleting._n
call fcn.0040bc84
mov rcx, rdi
call fcn.0040b244
mov rdx, rdi
mov rcx, rsi
call fcn.00417fe0
xor ebx, ebx
jmp 0x40161a
cmp ebx, 0xa
jge 0x401646
call fcn.00417320
lea rcx, str._Rename__Could_not_rename__s_to__s___d__n
mov r8, rdi
mov r9d, dword [rax]
mov rdx, rsi
call fcn.0040bc84
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str._Rename__Windows___this_FS_seems_to_not_supported_renaming._Trying_alternative_method..._n
call fcn.0040bc84
mov r8d, 3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x401638
lea rdx, str.MoveFileEx
lea rcx, str.Extractor
call fcn.0040acf8
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
mov rcx, rsi
add ebx, 1
call fcn.00417fe0
test eax, eax
jne 0x40159e
lea rcx, str._Rename__File__s_renamed_to__s_n
mov r8, rdi
mov rdx, rsi
call fcn.0040bc84
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea rcx, str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040bc84
xor eax, eax
test eax, eax
je 0x40161e
call fcn.00417320
lea rcx, str._Rename___FAIL__Could_not_rename__s_to__s___d__n
mov r8, rdi
mov r9d, dword [rax]
mov rdx, rsi
call fcn.0040bc84
lea rcx, str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040bc84
mov rcx, rdi
call fcn.0040bb9c
lea rcx, str._Rename__Created_folder__s_n
mov rdx, rdi
call fcn.0040bc84
mov rdx, rdi
mov rcx, rsi
call fcn.00401740
test eax, eax
je 0x4016a4
lea rcx, str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.0040bc84
jmp 0x401630
lea rcx, str._Rename__Copied__s_to__s_n
jmp 0x401625

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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x0044c8c0]
mov rbx, rcx
call fcn.00418bd0
test rax, rax
mov rdi, rax
jne 0x4016e3
lea rcx, str._Extractor___Unable_to_open_destination_file_for_copy__s_n
mov rdx, rbx
call fcn.0040bc84
jmp 0x401735
lea rcx, [0x0045ccd0]
mov r9, rsi
mov edx, 1
mov r8d, 0xc350
call fcn.004192b0
test rax, rax
mov rbx, rax
je 0x40171c
lea rcx, [0x0045ccd0]
mov r9, rdi
mov r8, rax
mov edx, 1
call fcn.0041a960
cmp rbx, 0xc350
je 0x4016e3
mov rcx, rsi
call fcn.0041b4b0
mov rcx, rdi
call fcn.0041b4b0
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x401740
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
mov eax, 0x2740
call fcn.004391e0
sub rsp, rax
test rcx, rcx
mov rbx, rcx
je 0x40176c
call fcn.004010b0
mov rdi, rax
jmp 0x401779
call fcn.00417320
xor edi, edi
mov dword [rax], 0x16
test rdi, rdi
mov qword [rsp + 0x2770], rdi
jne 0x40179d
lea rcx, str._CopyFolder__SourceDir_from__s_is_NULL_n
mov rdx, rbx
call fcn.0040bc84
lea eax, [rdi + 1]
jmp 0x401992
mov rcx, rdi
call fcn.004011f4
test rax, rax
mov rbp, rax
je 0x401986
mov rcx, qword [rax]
cmp byte [rcx], 0x2e
jne 0x4017c4
call fcn.00417080
cmp rax, 2
jbe 0x40179d
mov rdx, qword [rsp + 0x2760]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x13b0]
mov byte [rsp + 0x13b0], 0
call fcn.00417140
lea rcx, [rsp + 0x13b0]
mov rdx, rbx
call fcn.0040bbe4
mov rdx, qword [rsp + 0x2768]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.00417140
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.0040bbe4
lea rcx, [rsp + 0x13b0]
call fcn.004010b0
test rax, rax
je 0x401896
mov rcx, rax
call fcn.004011a4
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_DIR__s_n
call fcn.0040bc84
lea rcx, [rsp + 0x20]
call fcn.0040bb9c
test eax, eax
mov ebx, eax
jne 0x401951
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x13b0]
call fcn.00401740
test eax, eax
mov ebx, eax
je 0x40179d
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s_n
lea rdx, [rsp + 0x13b0]
lea r8, [rsp + 0x20]
call fcn.0040bc84
jmp 0x401988
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_FILE__s_n
call fcn.0040bc84
lea rdx, [0x0044c868]
lea rcx, [rsp + 0x13b0]
call fcn.00418bd0
test rax, rax
mov qword [rsp + 0x2778], rax
je 0x40196b
lea rdx, [0x0044c8c0]
lea rcx, [rsp + 0x20]
call fcn.00418bd0
test rax, rax
mov rbp, rax
je 0x40195d
mov rdi, qword [rsp + 0x2778]
lea rcx, [0x0045ccd0]
mov r9, rdi
mov edx, 1
mov r8d, 0xc350
call fcn.004192b0
test rax, rax
mov rbx, rax
je 0x401926
lea rcx, [0x0045ccd0]
mov r9, rbp
mov r8, rax
mov edx, 1
call fcn.0041a960
cmp rbx, 0xc350
je 0x4018ed
mov rcx, qword [rsp + 0x2778]
mov rdi, qword [rsp + 0x2770]
call fcn.0041b4b0
mov rcx, rbp
call fcn.0041b4b0
jmp 0x40179d
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s__could_not_create_target_folder__n
jmp 0x40187f
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder___Unable_to_open_destination_file_for_copy__s_n
jmp 0x40197a
lea rdx, [rsp + 0x13b0]
lea rcx, str._CopyFolder___Unable_to_open_source_file_for_copy__s_n
call fcn.0040bc84
mov ebx, 1
jmp 0x401988
xor ebx, ebx
mov rcx, rdi
call fcn.004011a4
mov eax, ebx
add rsp, 0x2740
pop rdi
pop rbp
pop rbx
ret
Function at 0x402e98
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov rax, rsp
sub rsp, 0x38
xor edi, edi
mov rbp, rdx
lea rdx, [rax + 0x48]
mov rbx, rcx
mov dword [rax + 0x48], edi
mov dword [rax + 0x50], edi
mov qword [rax - 0x18], rdi
call sub.VERSION.dll_GetFileVersionInfoSizeA
lea ecx, [rdi + 0x64]
mov r13d, eax
call fcn.00416e70
lea rcx, str._JavaCheck__Checking_file_version_of__s_n
mov rdx, rbx
mov byte [rax], 0x30
mov byte [rax + 1], dil
mov r12, rax
call fcn.0040bc84
cmp r13d, edi
je 0x402fe3
mov rcx, r13
call fcn.00416e70
lea rcx, str._JavaCheck__Got_version_size_n
mov rsi, rax
call fcn.0040bc84
mov edx, dword [rsp + 0x80]
mov r9, rsi
mov r8d, r13d
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, edi
je 0x402fcd
lea rcx, str._JavaCheck__Got_version_info_n
call fcn.0040bc84
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x20]
lea rdx, [0x0044d848]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
cmp eax, edi
je 0x402fc4
lea rcx, str._JavaCheck__Queried_value_n
call fcn.0040bc84
cmp dword [rsp + 0x88], edi
je 0x402fbb
lea rcx, str._JavaCheck__Size_OK_n
call fcn.0040bc84
mov rbx, qword [rsp + 0x20]
cmp dword [rbx], 0xfeef04bd
jne 0x402fb2
mov edx, dword [rbx + 0x10]
lea rcx, str._JavaCheck__file_version_MS_is__ld_n
call fcn.0040bc84
mov edx, dword [rbx + 0x14]
lea rcx, str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040bc84
movzx r8d, word [rbx + 0x12]
lea rdx, [0x0044d8d4]
mov rcx, r12
call fcn.00418010
jmp 0x402fd9
lea rcx, str._JavaCheck__signature_is_wrong_n
jmp 0x402fd4
lea rcx, str._JavaCheck__size_is_null_n
jmp 0x402fd4
lea rcx, str._JavaCheck__ver_query_value_function_call_failed_n
jmp 0x402fd4
lea rcx, str._JavaCheck__get_file_version_info_call_failed_n
call fcn.0040bc84
mov rcx, rsi
call fcn.00416e30
jmp 0x402fef
lea rcx, str._JavaCheck__verSize_is_zero_n
call fcn.0040bc84
cmp rbp, rdi
je 0x403022
lea rcx, str._Extractor__Checking_JRE_version_requirements:__s_vs_required__s_n
mov r8, rbp
mov rdx, r12
call fcn.0040bc84
mov rcx, r12
call fcn.00418a30
mov rcx, rbp
mov ebx, eax
call fcn.00418a30
cmp ebx, eax
setge dil
mov eax, edi
jmp 0x403036
xor edx, edx
lea rcx, str._Extractor__Versions_for_JREs_could_not_be_detected___d__d__n
lea r8d, [rdx + 1]
call fcn.0040bc84
xor eax, eax
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x405cb8
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045a230], 0
je 0x405d21
mov ecx, dword [0x0045a238]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x0045a230]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405d07
mov rcx, qword [0x0045a230]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x0045a230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x0045a240]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x0045a230], 0
add rsp, 0x28
ret
Function at 0x406d04
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call fcn.00401250
xor r9d, r9d
test al, al
je 0x406d74
cmp qword [0x0045a1b0], r9
jne 0x406d6c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045a1b0]
lea r8, [0x00408b4c]
mov qword [0x0045a1c0], rax
lea rax, [0x0045a1b8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041b8a0
mov rcx, qword [0x0045a1c0]
mov qword [0x0045a1b0], rax
jmp 0x406dcb
mov ecx, dword [0x0045a1b8]
jmp 0x406df1
cmp qword [0x0045a230], 0
jne 0x406deb
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045a230]
lea r8, [0x00405d34]
mov qword [0x0045a240], rax
lea rax, [0x0045a238]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041b8a0
mov rcx, qword [0x0045a240]
mov qword [0x0045a230], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406e01
lea rcx, str.Error_starting_SplashThread_n
call fcn.0040bc84
jmp 0x406e01
mov ecx, dword [0x0045a238]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret