joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a7ed0
Capabilities:
Get disk information

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x68
movabs rax, 0x785a40fb2ea11e
mov qword [rsp + 0x20], rax
movabs rax, 0x741c455cf77fa8
cmp qword [rsp + 0x20], rax
je 0x1400a7fca
movabs rax, 0x7d552244a2b795
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
movabs rcx, 0x77ea79b141e2c2
cmp rax, rcx
jne 0x1400a7fca
movzx eax, word [section..data]
mov word [rsp + 0x70], ax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0x729ef15bdd7af4
cmp qword [rsp + 0x38], rax
je 0x1400a7fb0
movabs rax, 0x769bc62cd59699
cmp qword [rsp + 0x38], rax
je 0x1400a7f5f
jmp 0x1400a7fca
lea r9, [rsp + 0x48]
mov r8d, 0x56
mov edx, 0x67
mov rcx, qword [rsp + 0x48]
call sub.WINSPOOL.DRV_FindFirstPrinterChangeNotification
mov qword [rsp + 0x50], rax
movzx ecx, word [rsp + 0x70]
call fcn.1400a7ed0
movzx eax, word [section..data]
mov word [rsp + 0x70], ax
movabs rax, 0x7387dc3a36c283
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1400a7fca
movabs rax, 0x71ad45917d64b4
mov rcx, qword [rsp + 0x20]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x30], 0x9e7
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x58], rax
movzx eax, word [section..data]
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, str.Twentieth_Arrangeable_Rechecking
call qword [sym.imp.KERNEL32.dll_AddAtomW]
mov word [rsp + 0x2c], ax
movsx eax, word [section..data]
add rsp, 0x68
ret
Function at 0x1400a9750
Capabilities:
Parse pe header

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

Function at 0x1400add94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400adb90
Function at 0x1400b07f0
Capabilities:
Query environment variable

Disassembly:
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 0x1400b0877
mov rsi, rbx
cmp word [rax], bp
je 0x1400b0836
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b0820
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b081c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b1210
mov rdi, rax
test rax, rax
je 0x1400b0864
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400b6160
mov rbp, rdi
xor ecx, ecx
call fcn.1400af4b8
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 0x1400b59c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b59e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400b59e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001ca0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x140001d0b
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x140001cce
mov ecx, dword [r9]
jmp 0x140001de1
cmp ecx, 0x4e0
jb 0x140001de1
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140001d31
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140001d76
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x1400037ec
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140008a0b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008a0b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008a0b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008a0b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008a0b
cmp dword [rcx + 0x84], 0xe
jbe 0x140008a0b
cmp dword [rcx + 0xf8], 0
je 0x140008a0b
mov ecx, ebx
call fcn.140008abc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140008898
nop
cmp dword [rbp + 0x20], 0
je 0x140008a59
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140008a64
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000899c

Function at 0x140008ba0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140008a0b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008a0b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008a0b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008a0b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008a0b
cmp dword [rcx + 0x84], 0xe
jbe 0x140008a0b
cmp dword [rcx + 0xf8], 0
je 0x140008a0b
mov ecx, ebx
call fcn.140008abc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140008898
nop
cmp dword [rbp + 0x20], 0
je 0x140008a59
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140008a64
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000899c
Function at 0x140008d28
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140008d5f
call fcn.14000b0a4
mov dword [rax], 0x16
call fcn.14000929c
xor eax, eax
jmp 0x140008ded
mov rdx, r9
mov rcx, r8
call fcn.140008cc4
mov rbx, rax
test rax, rax
je 0x140008dea
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140008bf0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140008dd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000b018
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140008dbe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140008dcd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14000b13c
jmp 0x140008dea
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140008de7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000dbb4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000dbe4
xor eax, eax
jmp 0x14000dca7
mov rbp, rbx
cmp word [rax], si
je 0x14000dc09
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000dbf0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000dbec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000dad4
movsxd r14, eax
test eax, eax
jne 0x14000dc47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000dbdd
mov rcx, r14
call fcn.14000c0e8
mov rdi, rax
test rax, rax
jne 0x14000dc60
xor ecx, ecx
call fcn.14000b13c
jmp 0x14000dc3c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000dad4
test eax, eax
jne 0x14000dc91
mov rcx, rdi
call fcn.14000b13c
jmp 0x14000dc9b
xor ecx, ecx
call fcn.14000b13c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400121e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012208
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012208
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x4011a0
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 0x4011c8
jne 0x4011c6
shr r11w, 8
cmp r11b, al
jae 0x4011c8
xor eax, eax
add rsp, 0x28
ret

Function at 0x401558
Capabilities:
Move file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x400
mov rdi, rdx
call fcn.00414e40
mov edx, 0x400
mov rcx, rax
mov rbx, rax
call fcn.00419910
lea rcx, str._Extractor__Working_dir_is__s_n
mov rdx, rbx
call fcn.00409ce0
mov rcx, rbx
call fcn.00414e00
mov rdx, rdi
mov rcx, rsi
call fcn.00415ea0
xor ebx, ebx
jmp 0x40161b
cmp ebx, 0xa
jge 0x401647
call fcn.004152f0
lea rcx, str._Rename__Could_not_rename__s_to__s___d__n
mov r8, rdi
mov r9d, dword [rax]
mov rdx, rsi
call fcn.00409ce0
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.00409ce0
mov r8d, 3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x401639
lea rcx, str.MoveFileEx
call fcn.004061fc
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
mov rcx, rsi
add ebx, 1
call fcn.00415ea0
test eax, eax
jne 0x4015a6
lea rcx, str._Rename__File__s_renamed_to__s_n
mov r8, rdi
mov rdx, rsi
call fcn.00409ce0
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea rcx, str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.00409ce0
xor eax, eax
test eax, eax
je 0x40161f
call fcn.004152f0
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.00409ce0
lea rcx, str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.00409ce0
mov rcx, rdi
call fcn.00409c34
lea rcx, str._Rename__Created_folder__s_n
mov rdx, rdi
call fcn.00409ce0
mov rdx, rdi
mov rcx, rsi
call fcn.004017ec
test eax, eax
je 0x4016a5
lea rcx, str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.00409ce0
jmp 0x401631
lea rcx, str._Rename__Copied__s_to__s_n
jmp 0x401626
Function at 0x4017ec
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.004379e0
sub rsp, rax
test rcx, rcx
mov rbx, rcx
je 0x401818
call section..text
mov rdi, rax
jmp 0x401825
call fcn.004152f0
xor edi, edi
mov dword [rax], 0x16
test rdi, rdi
mov qword [rsp + 0x2770], rdi
jne 0x401849
lea rcx, str._CopyFolder__SourceDir_from__s_is_NULL_n
mov rdx, rbx
call fcn.00409ce0
lea eax, [rdi + 1]
jmp 0x401a3e
mov rcx, rdi
call fcn.00401144
test rax, rax
mov rbp, rax
je 0x401a32
mov rcx, qword [rax]
cmp byte [rcx], 0x2e
jne 0x401870
call fcn.00415050
cmp rax, 2
jbe 0x401849
mov rdx, qword [rsp + 0x2760]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x13b0]
mov byte [rsp + 0x13b0], 0
call fcn.00415110
lea rcx, [rsp + 0x13b0]
mov rdx, rbx
call fcn.00409c78
mov rdx, qword [rsp + 0x2768]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.00415110
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.00409c78
lea rcx, [rsp + 0x13b0]
call section..text
test rax, rax
je 0x401942
mov rcx, rax
call fcn.004010f4
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_DIR__s_n
call fcn.00409ce0
lea rcx, [rsp + 0x20]
call fcn.00409c34
test eax, eax
mov ebx, eax
jne 0x4019fd
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x13b0]
call fcn.004017ec
test eax, eax
mov ebx, eax
je 0x401849
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s_n
lea rdx, [rsp + 0x13b0]
lea r8, [rsp + 0x20]
call fcn.00409ce0
jmp 0x401a34
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_FILE__s_n
call fcn.00409ce0
lea rdx, [0x0043c288]
lea rcx, [rsp + 0x13b0]
call fcn.00417650
test rax, rax
mov qword [rsp + 0x2778], rax
je 0x401a17
lea rdx, [0x0043c2e0]
lea rcx, [rsp + 0x20]
call fcn.00417650
test rax, rax
mov rbp, rax
je 0x401a09
mov rdi, qword [rsp + 0x2778]
lea rcx, [0x0053ef10]
mov r9, rdi
mov edx, 1
mov r8d, 0xc350
call fcn.00417fb0
test rax, rax
mov rbx, rax
je 0x4019d2
lea rcx, [0x0053ef10]
mov r9, rbp
mov r8, rax
mov edx, 1
call fcn.00419660
cmp rbx, 0xc350
je 0x401999
mov rcx, qword [rsp + 0x2778]
mov rdi, qword [rsp + 0x2770]
call fcn.0041a4e0
mov rcx, rbp
call fcn.0041a4e0
jmp 0x401849
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s__could_not_create_target_folder__n
jmp 0x40192b
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder___Unable_to_open_destination_file_for_copy__s_n
jmp 0x401a26
lea rdx, [rsp + 0x13b0]
lea rcx, str._CopyFolder___Unable_to_open_source_file_for_copy__s_n
call fcn.00409ce0
mov ebx, 1
jmp 0x401a34
xor ebx, ebx
mov rcx, rdi
call fcn.004010f4
mov eax, ebx
add rsp, 0x2740
pop rdi
pop rbp
pop rbx
ret
Function at 0x405d84
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x00448230], 0
je 0x405ded
mov ecx, dword [0x00448238]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x00448230]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405dd3
mov rcx, qword [0x00448230]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x00448230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x00448240]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x00448230], 0
add rsp, 0x28
ret
Function at 0x406dac
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call fcn.004011a0
xor r9d, r9d
test al, al
je 0x406e1c
cmp qword [0x004481b0], r9
jne 0x406e14
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x004481b0]
lea r8, [0x00408464]
mov qword [0x004481c0], rax
lea rax, [0x004481b8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041a720
mov rcx, qword [0x004481c0]
mov qword [0x004481b0], rax
jmp 0x406e73
mov ecx, dword [0x004481b8]
jmp 0x406e99
cmp qword [0x00448230], 0
jne 0x406e93
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x00448230]
lea r8, [0x00405e00]
mov qword [0x00448240], rax
lea rax, [0x00448238]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041a720
mov rcx, qword [0x00448240]
mov qword [0x00448230], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406ea9
lea rcx, str.Error_starting_SplashThread_n
call fcn.00409ce0
jmp 0x406ea9
mov ecx, dword [0x00448238]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret
Function at 0x40730c
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rdi, rcx
mov ecx, 0x40
mov rbx, rdx
call fcn.00414e40
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor esi, esi
mov rcx, rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rbx
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], esi
mov dword [rbp + 0x30], esi
mov dword [rbp + 0x14], esi
call fcn.00407c54
lea edx, [rsi + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, qword [rbp]
mov ebx, 0xffffffff
mov edx, ebx
mov qword [rbp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r11, [rsp + 0x30]
lea r8, [0x0040727c]
mov qword [rsp + 0x28], r11
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00406fa0]
mov r9, rbp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x0040706c]
mov r9, rbp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x0040715c]
mov r9, rbp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x3c]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x004071ec]
mov r9, rbp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp]
mov dword [rbp + 0x30], 5
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0x38]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rbp + 0x10]
lea rcx, str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.00409ce0
mov rcx, qword [rsp + rsi*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 1
cmp rsi, 5
jl 0x40747e
mov eax, dword [rbp + 0x10]
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4074c4
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x2748
call fcn.004379e0
sub rsp, rax
mov rbp, rcx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SetDllDirectoryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x13b0]
mov rdx, rbp
mov rbx, rax
mov byte [rsp + 0x13b0], 0
call fcn.00415110
lea rdx, [0x0043be00]
lea rcx, [rsp + 0x13b0]
call fcn.00409c78
lea rdx, [rsp + 0x13b0]
lea rcx, str._JNILaunch__Bin_folder_is__s_n
call fcn.00409ce0
mov edi, 0x7d0
mov rcx, rdi
call fcn.00414e40
mov ecx, edi
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rsp + 0x13b0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test rbx, rbx
je 0x407571
lea rcx, [rsp + 0x13b0]
call rbx
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov byte [rsp + 0x20], 0
call fcn.00415110
lea rdx, [0x0043be00]
lea rcx, [rsp + 0x20]
call fcn.00409c78
lea rdx, str.server
lea rcx, [rsp + 0x20]
call fcn.00409c78
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.00409c78
lea rcx, [rsp + 0x20]
call fcn.004097f0
lea rdx, [rsp + 0x20]
lea rcx, str._JNILaunch__Trying_to_load_library__s__exists_d__n
mov r8d, eax
call fcn.00409ce0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
jne 0x40767b
lea rcx, str._JNILaunch__Unable_to_load_library._Will_attempt_fallback._n
call fcn.00409ce0
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov byte [rsp + 0x20], dil
call fcn.00415110
lea rdx, [0x0043be00]
lea rcx, [rsp + 0x20]
call fcn.00409c78
lea rdx, str.client
lea rcx, [rsp + 0x20]
call fcn.00409c78
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.00409c78
lea rcx, [rsp + 0x20]
call fcn.004097f0
lea rdx, [rsp + 0x20]
lea rcx, str._JNILaunch__Trying_to_load_library__s__exists_d__n
mov r8d, eax
call fcn.00409ce0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
jne 0x40767b
lea rcx, str._JNILaunch__Unable_to_load_second_library._n
call fcn.00409ce0
jmp 0x40768c
lea rdx, [rsp + 0x20]
lea rcx, str._JNILauncher__Loaded_Windows_DLL____s_n
call fcn.00409ce0
test rbx, rbx
je 0x407695
xor ecx, ecx
call rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rax, rdi
add rsp, 0x2748
pop rdi
pop rsi
pop rbp
pop rbx
ret