joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140142df0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140142e32
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140142e79
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140142ed2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140142e90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140142f13
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401736e2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401736e3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140142ee0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140142f30
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140142f6a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140142f6f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140142fb8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140142fb8
dec r8
sub rdx, 1
jne 0x140142f9e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140144554
Capabilities:
Parse pe header

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

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x1407e4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407e41df
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 0x1407e4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e406f
add dl, dl
jne 0x1407e4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e40f6
xor eax, eax
add dl, dl
jne 0x1407e40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e41ad
add dl, dl
jne 0x1407e40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407e40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407e407e
mov eax, 1
add dl, dl
jne 0x1407e4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e40fb
sub eax, ebx
mov ebx, 1
jne 0x1407e414c
mov ecx, 1
add dl, dl
jne 0x1407e412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407e4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e415d
cmp eax, 0x7d00
jae 0x1407e419b
cmp eax, 0x500
jb 0x1407e4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e407e
cmp eax, 0x7f
ja 0x1407e419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407e41d2
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 0x1407e407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400042f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rsi, r8
mov rdi, rdx
mov r14, rcx
xor ebp, ebp
mov dword [rax - 0x48], ebp
mov dword [rax + 8], ebp
mov rcx, r8
call fcn.1400039a0
mov r8, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor edx, edx
lea r9d, [rbp + 2]
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x14000437b
mov r8d, eax
lea rdx, str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x50]
call fcn.1400040f0
lea rdx, [0x14009e140]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rcx, rdi
call fcn.1400035b0
mov dword [rsp + 0x40], 1
mov edx, dword [rsp + 0x90]
mov rcx, rdi
call fcn.140015680
xor edx, edx
mov rcx, rdi
call fcn.1400154b0
mov rbx, rax
mov rcx, rsi
call fcn.1400039a0
mov r8, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbp
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140004402
mov r8d, eax
lea rdx, str.Cannot_get_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x50]
call fcn.1400040f0
lea rdx, [0x14009e140]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, dword [rsp + 0x90]
dec rdx
mov rcx, rdi
call fcn.140015680
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140004430
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbp
push rdi
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400a30d8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x17], rdx
xor r14d, r14d
mov dword [rbp + 3], r14d
mov dword [rbp - 5], r14d
mov dword [rbp - 9], r14d
mov qword [r11 - 0x70], r14
mov qword [r11 - 0x78], r14
mov qword [r11 - 0x80], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 5]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1400044df
mov r8d, eax
lea rdx, str.RegQueryInfoKey_failed_while_preparing_for_subkey_enumeration.
lea rcx, [rbp + 0x1f]
call fcn.1400040f0
lea rdx, [0x14009e140]
lea rcx, [rbp + 0x1f]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbp - 9]
inc eax
mov dword [rbp - 9], eax
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140009b80
nop
mov rcx, rdi
call fcn.140001950
mov dword [rbp + 3], 1
mov ebx, r14d
cmp dword [rbp - 5], r14d
jbe 0x1400045a5
nop
mov eax, dword [rbp - 9]
mov dword [rbp - 1], eax
lea rcx, [rbp + 7]
call fcn.140007200
mov r8, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 1]
mov edx, ebx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140004581
lea rcx, [rbp + 7]
call fcn.140007200
mov r8d, dword [rbp - 1]
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.140003730
nop
mov rdx, rax
mov rcx, rdi
call fcn.140007370
nop
lea rcx, [rbp + 0x1f]
call fcn.140001fe0
inc ebx
cmp ebx, dword [rbp - 5]
jb 0x140004510
jmp 0x1400045a5
mov r8d, eax
lea rdx, str.Cannot_enumerate_subkeys:_RegEnumKeyEx_failed.
lea rcx, [rbp + 0x1f]
call fcn.1400040f0
lea rdx, [0x14009e140]
lea rcx, [rbp + 0x1f]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 7]
call fcn.140007220
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140070190
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140005300
Capabilities:
Copy file

Disassembly:
xor r9d, r9d
xor r8d, r8d
jmp 0x140074510
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rbx, r9
mov eax, r8d
mov rsi, rdx
mov rdi, rcx
jb 0x140074535
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x14007453f
mov rcx, qword [rcx]
xor r8d, r8d
test eax, eax
sete r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140074588
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140074588
lea rcx, str.boost::filesystem::copy_file
mov r9, rbx
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov ecx, eax
mov rdx, rdi
call fcn.140076790
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1400745a0
mov dword [rbx], 0
mov byte [rbx + 4], 0
call fcn.140075220
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140005310
Capabilities:
Delete directory
Delete file

Disassembly:
xor edx, edx
jmp 0x140074e10
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov dword [rsp + 0x20], 0
mov rdi, rcx
mov byte [rsp + 0x24], 0
call fcn.140075220
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, rdi
call fcn.140074d40
mov esi, eax
test eax, eax
jne 0x140074e7b
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x140074e7b
lea r9, str.boost::filesystem::remove
mov r8, rbx
mov rdx, rdi
call fcn.1400768b0
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x140074e93
mov dword [rbx], 0
mov byte [rbx + 4], 0
call fcn.140075220
mov qword [rbx + 8], rax
mov r8, rbx
mov edx, esi
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140074eb0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rcx
cmp edx, 1
jne 0x140074eec
test rbx, rbx
je 0x140074edf
mov dword [r8], 0
mov byte [r8 + 4], 0
call fcn.140075220
mov qword [rbx + 8], rax
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea eax, [rdx - 3]
test eax, 0xfffffff7
je 0x140074f08
cmp qword [rcx + 0x18], 8
jb 0x140074f00
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140074f18
cmp qword [rcx + 0x18], 8
jb 0x140074f12
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140074f73
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x140074f73
cmp eax, 0x57
je 0x140074f73
cmp eax, 0x35
ja 0x140074f41
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x140074f73
cmp eax, 0xa1
je 0x140074f73
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140074f73
lea r9, str.boost::filesystem::remove
mov r8, rbx
mov rdx, rdi
mov ecx, eax
call fcn.1400768b0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rbx, rbx
je 0x140074f8b
mov dword [rbx], 0
mov byte [rbx + 4], 0
call fcn.140075220
mov qword [rbx + 8], rax
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005320
Capabilities:
Move file

Disassembly:
xor r8d, r8d
jmp 0x140074fa0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
jb 0x140074fc2
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140074fcc
mov rcx, qword [rcx]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140075012
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140075012
lea rcx, str.boost::filesystem::rename
mov r9, rbx
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov ecx, eax
mov rdx, rdi
call fcn.140076790
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x14007502a
mov dword [rbx], 0
mov byte [rbx + 4], 0
call fcn.140075220
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140005f20
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1400a30d8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rdx
mov rdx, rcx
lea rcx, [rbp + 0x50]
call fcn.14000a320
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.140073fc0
nop
mov dword [rbp - 0x60], 0x68
xor r15d, r15d
mov qword [rbp - 0x58], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x20], r15d
mov qword [rbp - 0x18], r15
movdqa xmm0, xmmword [0x14008c6f0]
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0xffffffffffffffff
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140001f60
nop
lea rcx, [rsp + 0x50]
call fcn.1400075b0
lea r8, [rax + 1]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140002140
mov rcx, rsi
call fcn.14000a800
test al, al
je 0x14000601f
mov r8, rsi
lea rdx, [0x140089054]
lea rcx, [rbp + 0x10]
call fcn.14000a820
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400151d0
nop
lea rcx, [rbp + 0x10]
call fcn.140001fe0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.140005140
mov rcx, rax
call fcn.1400039a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.1400039a0
mov rdi, rax
mov rcx, r14
call fcn.1400039a0
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x4000008
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
lea rcx, [rbp + 0x10]
call fcn.140001fe0
test ebx, ebx
je 0x1400060ab
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.140001fe0
nop
lea rcx, [rbp + 0x30]
call fcn.1400051e0
nop
lea rcx, [rbp + 0x50]
call fcn.1400051e0
nop
mov rcx, r14
call fcn.140001fe0
nop
mov rcx, rsi
call fcn.140001fe0
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140070190
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140006100
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400039a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov rcx, rdi
or ebx, 2
call fcn.1400039a0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140001fe0
Function at 0x140006150
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400039a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov rcx, rdi
and ebx, 0xfffffffd
call fcn.1400039a0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140001fe0
Function at 0x140006c80
Capabilities:
Enumerate processes

Disassembly:
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x1400a30d8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov dword [rsp + 0x50], 0x130
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdx, rax
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140007170
nop
lea rcx, [rsp + 0x20]
call fcn.140007110
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140006f1e
lea rcx, [rsp + 0x20]
call fcn.140007110
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140006f1e
nop word [rax + rax]
lea rdx, str.WorldOfWarships.exe
lea rcx, [rsp + 0x7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140006d9d
lea rdx, str.WorldOfWarships32.exe
lea rcx, [rsp + 0x7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140006d94
lea rdx, str.WorldOfWarships64.exe
lea rcx, [rsp + 0x7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140006d94
lea rcx, [rsp + 0x20]
call fcn.140007110
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140006d30
jmp 0x140006f1e
mov ebx, dword [rsp + 0x58]
jmp 0x140006f20
mov edx, dword [rsp + 0x58]
lea rcx, [rbp + 0xa0]
call fcn.140006ff0
nop
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.14000a320
nop
lea rcx, [rbp + 0xa0]
call fcn.140001fe0
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x80]
call fcn.140073fc0
nop
mov rcx, rax
call fcn.14000ab10
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.140005100
nop
lea rcx, [rbp + 0x120]
call fcn.1400051e0
lea rcx, [rsp + 0x30]
call fcn.140014fb0
mov rbx, rax
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x80]
call fcn.140073fc0
nop
lea rdx, [rbp + 0x140]
mov rcx, rax
call fcn.140072fd0
nop
lea rdx, [rbp + 0xa0]
mov rcx, rax
call fcn.140005140
nop
mov r8, rbx
mov rcx, rax
call fcn.14000ab80
movzx ebx, al
lea rcx, [rbp + 0xa0]
call fcn.140001fe0
nop
lea rcx, [rbp + 0x140]
call fcn.1400051e0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400051e0
nop
lea rcx, [rsp + 0x30]
call fcn.140014fe0
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x80]
call fcn.140073fc0
nop
mov rcx, rax
call fcn.14000abb0
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140005100
nop
lea rcx, [rbp + 0xc0]
call fcn.1400051e0
lea rcx, [rbp + 0x80]
call fcn.1400051d0
test al, al
jne 0x140006ef4
lea rcx, [rbp + 0xe0]
call fcn.1400052d0
test al, al
jne 0x140006ef4
lea rcx, [rbp + 0x100]
call fcn.1400052d0
test al, al
jne 0x140006ef4
test bl, bl
jne 0x140006ef4
mov ebx, dword [rsp + 0x58]
jmp 0x140006ef6
xor ebx, ebx
lea rcx, [rbp + 0xe0]
call fcn.1400051e0
nop
lea rcx, [rbp + 0x100]
call fcn.1400051e0
nop
lea rcx, [rbp + 0x80]
call fcn.1400051e0
jmp 0x140006f20
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.140007130
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140070190
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rbp
ret
Function at 0x1400070c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140007107
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
pop rbx
ret