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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x400
mov edi, eax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x58]
mov r8d, edi
mov ecx, 0x1100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, 0x100
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LocalSize]
mov rcx, qword [rsp + 0x58]
mov r9d, edi
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, rax
mov r8, rsi
call fcn.140004580
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x140007a80
Capabilities:
Enumerate gui resources
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
lea rcx, [0x140095db0]
call fcn.140007000
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
lea rcx, str.WinSta0
xor edx, edx
mov r8d, 0x37f
mov rsi, rax
call qword [sym.imp.USER32.dll_OpenWindowStationA]
mov rbx, rax
test rax, rax
jne 0x140007ad2
lea rcx, str.RefreshAllWindow___OpenWindowStation_Failed___Error_Code_Is__d___Error_Message_Is__s__
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.140004600
mov rcx, rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_SetProcessWindowStation]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
lea rcx, str.default
mov r9d, 0x1ff
xor r8d, r8d
xor edx, edx
mov rbp, rax
call qword [sym.imp.USER32.dll_OpenDesktopA]
mov rdi, rax
test rax, rax
jne 0x140007b24
lea rcx, str.RefreshAllWindow___OpenDesktop_Failed___Error_Code_Is__d___Error_Message_Is__s__
call fcn.140004600
jmp 0x140007b67
mov rcx, rax
call qword [sym.imp.USER32.dll_SetThreadDesktop]
lea rcx, [0x1400073a0]
xor edx, edx
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140007b4c
lea rcx, str.RefreshAllWindow___EnumWindows_Failed___Error_Code_Is__d___Error_Message_Is__s__
call fcn.140004600
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetProcessWindowStation]
mov rcx, rdi
call qword [sym.imp.USER32.dll_CloseDesktop]
mov rcx, rbx
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp qword [sym.imp.USER32.dll_CloseWindowStation]
Function at 0x140008050
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, 0x159e8
call fcn.14000cb00
sub rsp, rax
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x159d0], rax
mov edx, 0x17b5
mov r9d, 0x40
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r11, [rsp + 0x160]
mov cl, 0xa5
call r11
mov eax, 1
mov rcx, qword [rsp + 0x159d0]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x159e8
ret
Function at 0x14001ea17
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400731f0]
jne 0x14000caea
rol rcx, 0x10
test cx, 0xffff
jne 0x14000cae6
repz ret
ror rcx, 0x10
jmp 0x14001e970
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400962f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400963e8]
mov qword [rsp + 0x58], rax
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 0x14001e9f5
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, [0x1400962f0]
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 0x14001ea17
mov rax, qword [rsp + 0x88]
mov qword [0x1400963e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140096388], rax
mov rax, qword [0x1400963e8]
mov qword [0x140096260], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140096370], rax
mov dword [0x140096250], 0xc0000409
mov dword [0x140096254], 1
mov rax, qword [0x1400731f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400731f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400962e8], eax
mov ecx, 1
call fcn.140022e90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str.Pb_t_
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400962e8], 0
jne 0x14001ea9e
mov ecx, 1
call fcn.140022e90
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 0x14001a530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001a792
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14003df70]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a5fa
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001a619
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001a730
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a660
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001a663
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015860
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140018190
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001a650
jmp 0x14001a737
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x14001a5b0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x1400378a0
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140007088]
test rax, rax
je 0x1400063b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400063b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400063b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400063b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400063b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400063b8
xor al, al
add rsp, 0x28
ret
Function at 0x14000c980
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x140008008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140008008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140008008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140008008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x142327058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1423271df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142327089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14232706f
add dl, dl
jne 0x142327096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423270f6
xor eax, eax
add dl, dl
jne 0x1423270a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423271ad
add dl, dl
jne 0x1423270b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423270c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423270d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423270dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1423270ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14232707e
mov eax, 1
add dl, dl
jne 0x142327106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142327113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1423270fb
sub eax, ebx
mov ebx, 1
jne 0x14232714c
mov ecx, 1
add dl, dl
jne 0x14232712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14232713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142327123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14232707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142327168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142327175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14232715d
cmp eax, 0x7d00
jae 0x14232719b
cmp eax, 0x500
jb 0x142327196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14232707e
cmp eax, 0x7f
ja 0x14232719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14232707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1423271d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14232707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x1400039f8
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rcx, [0x1400041f0]
jmp loc.14000d6ce
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 0x401380
Capabilities:
Move file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x400
mov rdi, rdx
call fcn.00416550
mov edx, 0x400
mov rcx, rax
mov rbx, rax
call fcn.0041a020
lea rcx, str._Extractor__Working_dir_is__s_n
mov rdx, rbx
call fcn.0040b364
mov rcx, rbx
call fcn.00416510
mov rcx, rdi
call fcn.0040ae20
test eax, eax
je 0x4013df
lea rcx, str._Rename__The_target_already_exists._Deleting._n
call fcn.0040b364
mov rcx, rdi
call fcn.0040acf4
mov rdx, rdi
mov rcx, rsi
call fcn.004173f0
xor ebx, ebx
jmp 0x40146a
cmp ebx, 0xa
jge 0x401496
call fcn.00416a00
lea rcx, str._Rename__Could_not_rename__s_to__s___d__n
mov r8, rdi
mov r9d, dword [rax]
mov rdx, rsi
call fcn.0040b364
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.0040b364
mov r8d, 3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x401488
lea rdx, str.MoveFileEx
lea rcx, str.Extractor
call fcn.0040a99c
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
mov rcx, rsi
add ebx, 1
call fcn.004173f0
test eax, eax
jne 0x4013ee
lea rcx, str._Rename__File__s_renamed_to__s_n
mov r8, rdi
mov rdx, rsi
call fcn.0040b364
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea rcx, str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040b364
xor eax, eax
test eax, eax
je 0x40146e
call fcn.00416a00
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.0040b364
lea rcx, str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040b364
mov rcx, rdi
call fcn.0040b274
lea rcx, str._Rename__Created_folder__s_n
mov rdx, rdi
call fcn.0040b364
mov rdx, rdi
mov rcx, rsi
call fcn.00401590
test eax, eax
je 0x4014f4
lea rcx, str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.0040b364
jmp 0x401480
lea rcx, str._Rename__Copied__s_to__s_n
jmp 0x401475

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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x0044b710]
mov rbx, rcx
call fcn.00417fe0
test rax, rax
mov rdi, rax
jne 0x401533
lea rcx, str._Extractor___Unable_to_open_destination_file_for_copy__s_n
mov rdx, rbx
call fcn.0040b364
jmp 0x401585
lea rcx, [0x0045bcd0]
mov r9, rsi
mov edx, 1
mov r8d, 0xc350
call fcn.004186c0
test rax, rax
mov rbx, rax
je 0x40156c
lea rcx, [0x0045bcd0]
mov r9, rdi
mov r8, rax
mov edx, 1
call fcn.00419d70
cmp rbx, 0xc350
je 0x401533
mov rcx, rsi
call fcn.0041a8c0
mov rcx, rdi
call fcn.0041a8c0
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x401590
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.00438820
sub rsp, rax
test rcx, rcx
mov rbx, rcx
je 0x4015bc
call fcn.004010b0
mov rdi, rax
jmp 0x4015c9
call fcn.00416a00
xor edi, edi
mov dword [rax], 0x16
test rdi, rdi
mov qword [rsp + 0x2770], rdi
jne 0x4015ed
lea rcx, str._CopyFolder__SourceDir_from__s_is_NULL_n
mov rdx, rbx
call fcn.0040b364
lea eax, [rdi + 1]
jmp 0x4017e2
mov rcx, rdi
call fcn.004011f4
test rax, rax
mov rbp, rax
je 0x4017d6
mov rcx, qword [rax]
cmp byte [rcx], 0x2e
jne 0x401614
call fcn.00416760
cmp rax, 2
jbe 0x4015ed
mov rdx, qword [rsp + 0x2760]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x13b0]
mov byte [rsp + 0x13b0], 0
call fcn.00416820
lea rcx, [rsp + 0x13b0]
mov rdx, rbx
call fcn.0040b2b8
mov rdx, qword [rsp + 0x2768]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.00416820
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.0040b2b8
lea rcx, [rsp + 0x13b0]
call fcn.004010b0
test rax, rax
je 0x4016e6
mov rcx, rax
call fcn.004011a4
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_DIR__s_n
call fcn.0040b364
lea rcx, [rsp + 0x20]
call fcn.0040b274
test eax, eax
mov ebx, eax
jne 0x4017a1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x13b0]
call fcn.00401590
test eax, eax
mov ebx, eax
je 0x4015ed
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s_n
lea rdx, [rsp + 0x13b0]
lea r8, [rsp + 0x20]
call fcn.0040b364
jmp 0x4017d8
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_FILE__s_n
call fcn.0040b364
lea rdx, [0x0044b6b8]
lea rcx, [rsp + 0x13b0]
call fcn.00417fe0
test rax, rax
mov qword [rsp + 0x2778], rax
je 0x4017bb
lea rdx, [0x0044b710]
lea rcx, [rsp + 0x20]
call fcn.00417fe0
test rax, rax
mov rbp, rax
je 0x4017ad
mov rdi, qword [rsp + 0x2778]
lea rcx, [0x0045bcd0]
mov r9, rdi
mov edx, 1
mov r8d, 0xc350
call fcn.004186c0
test rax, rax
mov rbx, rax
je 0x401776
lea rcx, [0x0045bcd0]
mov r9, rbp
mov r8, rax
mov edx, 1
call fcn.00419d70
cmp rbx, 0xc350
je 0x40173d
mov rcx, qword [rsp + 0x2778]
mov rdi, qword [rsp + 0x2770]
call fcn.0041a8c0
mov rcx, rbp
call fcn.0041a8c0
jmp 0x4015ed
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s__could_not_create_target_folder__n
jmp 0x4016cf
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder___Unable_to_open_destination_file_for_copy__s_n
jmp 0x4017ca
lea rdx, [rsp + 0x13b0]
lea rcx, str._CopyFolder___Unable_to_open_source_file_for_copy__s_n
call fcn.0040b364
mov ebx, 1
jmp 0x4017d8
xor ebx, ebx
mov rcx, rdi
call fcn.004011a4
mov eax, ebx
add rsp, 0x2740
pop rdi
pop rbp
pop rbx
ret
Function at 0x402d00
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.00416550
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.0040b364
cmp r13d, edi
je 0x402e4b
mov rcx, r13
call fcn.00416550
lea rcx, str._JavaCheck__Got_version_size_n
mov rsi, rax
call fcn.0040b364
mov edx, dword [rsp + 0x80]
mov r9, rsi
mov r8d, r13d
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, edi
je 0x402e35
lea rcx, str._JavaCheck__Got_version_info_n
call fcn.0040b364
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x20]
lea rdx, [0x0044c6a8]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
cmp eax, edi
je 0x402e2c
lea rcx, str._JavaCheck__Queried_value_n
call fcn.0040b364
cmp dword [rsp + 0x88], edi
je 0x402e23
lea rcx, str._JavaCheck__Size_OK_n
call fcn.0040b364
mov rbx, qword [rsp + 0x20]
cmp dword [rbx], 0xfeef04bd
jne 0x402e1a
mov edx, dword [rbx + 0x10]
lea rcx, str._JavaCheck__file_version_MS_is__ld_n
call fcn.0040b364
mov edx, dword [rbx + 0x14]
lea rcx, str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040b364
movzx r8d, word [rbx + 0x12]
lea rdx, [0x0044c734]
mov rcx, r12
call fcn.00417420
jmp 0x402e41
lea rcx, str._JavaCheck__signature_is_wrong_n
jmp 0x402e3c
lea rcx, str._JavaCheck__size_is_null_n
jmp 0x402e3c
lea rcx, str._JavaCheck__ver_query_value_function_call_failed_n
jmp 0x402e3c
lea rcx, str._JavaCheck__get_file_version_info_call_failed_n
call fcn.0040b364
mov rcx, rsi
call fcn.00416510
jmp 0x402e57
lea rcx, str._JavaCheck__verSize_is_zero_n
call fcn.0040b364
cmp rbp, rdi
je 0x402e8a
lea rcx, str._Extractor__Checking_JRE_version_requirements:__s_vs_required__s_n
mov r8, rbp
mov rdx, r12
call fcn.0040b364
mov rcx, r12
call fcn.00417e40
mov rcx, rbp
mov ebx, eax
call fcn.00417e40
cmp ebx, eax
setge dil
mov eax, edi
jmp 0x402e9e
xor edx, edx
lea rcx, str._Extractor__Versions_for_JREs_could_not_be_detected___d__d__n
lea r8d, [rdx + 1]
call fcn.0040b364
xor eax, eax
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x405824
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x00459230], 0
je 0x40588d
mov ecx, dword [0x00459238]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x00459230]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405873
mov rcx, qword [0x00459230]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x00459230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x00459240]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x00459230], 0
add rsp, 0x28
ret
Function at 0x406870
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call fcn.00401250
xor r9d, r9d
test al, al
je 0x4068e0
cmp qword [0x004591b0], r9
jne 0x4068d8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x004591b0]
lea r8, [0x00408814]
mov qword [0x004591c0], rax
lea rax, [0x004591b8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041acb0
mov rcx, qword [0x004591c0]
mov qword [0x004591b0], rax
jmp 0x406937
mov ecx, dword [0x004591b8]
jmp 0x40695d
cmp qword [0x00459230], 0
jne 0x406957
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x00459230]
lea r8, [0x004058a0]
mov qword [0x00459240], rax
lea rax, [0x00459238]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041acb0
mov rcx, qword [0x00459240]
mov qword [0x00459230], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40696d
lea rcx, str.Error_starting_SplashThread_n
call fcn.0040b364
jmp 0x40696d
mov ecx, dword [0x00459238]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret