joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ce50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov byte [rbp + 0x67], 0
mov ecx, 6
xor edx, edx
call fcn.00438fa0
test al, al
je 0x42cf65
mov rcx, qword [rbp + 0x80]
xor edx, edx
call fcn.0042efb0
test al, al
je 0x42cf65
mov rcx, qword [rbp + 0x80]
call fcn.0042eba0
test al, 0x20
je 0x42cf65
mov rcx, qword [rbp + 0x80]
call fcn.0040ff70
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
mov dword [rbp + 0x5c], eax
cmp dword [rbp + 0x5c], 0xffffffff
je 0x42cf65
mov eax, dword [rbp + 0x5c]
test eax, 0x400
je 0x42cf65
mov eax, dword [rbp + 0x5c]
test eax, 0x10
je 0x42cef2
mov dword [rbp + 0x60], 0x2000000
jmp 0x42cef9
mov dword [rbp + 0x60], 0
mov rcx, qword [rbp + 0x80]
call fcn.0040ff70
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
je 0x42cf65
nop
mov rcx, rbp
mov rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x88]
mov r9d, dword [rbp + 0x60]
call fcn.0042cb40
mov byte [rbp + 0x67], al
nop
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle_1
movzx rax, byte [rbp + 0x67]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x42eba0
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
nop
lea rcx, [rbp + 0x70]
mov rdx, qword [0x0042eb20]
mov r8d, 1
mov r9d, 0x104
call fcn.00411ff0
lea rcx, [rbp + 0x68]
mov rdx, qword [0x0042eb60]
mov r8d, 1
mov r9d, 0x104
call fcn.00411ff0
movzx rax, byte [0x0042ee20]
mov byte [rbp + 0x4f], al
mov rcx, qword [rbp + 0x40]
mov dl, 1
call fcn.0042f090
test al, al
jne 0x42ec45
mov rcx, qword [rbp + 0x40]
mov dl, 1
call fcn.0042efb0
test al, al
je 0x42ed54
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x40]
call fcn.0042f720
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0x58]
call fcn.00439670
mov rcx, qword [rbp + 0x88]
call fcn.0040ff70
mov rbx, rax
mov rcx, rbx
mov rdx, qword [rbp + 0x70]
mov r8d, 0x104
lea r9, [rbp + 0x84]
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x104
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x42ed4f
mov eax, dword [rbp + 0x80]
test eax, 1
je 0x42ecd2
movzx rax, byte [rbp + 0x4f]
or al, 1
mov byte [rbp + 0x4f], al
mov eax, dword [rbp + 0x80]
test eax, 2
je 0x42eceb
movzx rax, byte [rbp + 0x4f]
or al, 2
mov byte [rbp + 0x4f], al
mov eax, dword [rbp + 0x80]
test eax, 0x80
je 0x42ed04
movzx rax, byte [rbp + 0x4f]
or al, 0x20
mov byte [rbp + 0x4f], al
mov rcx, rbx
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
test eax, eax
je 0x42ed28
sub eax, 1
test eax, eax
je 0x42ed35
sub eax, 1
test eax, eax
je 0x42ed42
sub eax, 1
test eax, eax
jne 0x42ed7f
movzx rax, byte [rbp + 0x4f]
or al, 0x10
mov byte [rbp + 0x4f], al
jmp 0x42ed7f
movzx rax, byte [rbp + 0x4f]
or al, 4
mov byte [rbp + 0x4f], al
jmp 0x42ed7f
movzx rax, byte [rbp + 0x4f]
or al, 8
mov byte [rbp + 0x4f], al
jmp 0x42ed7f
call fcn.0043a8c0
lea rcx, [rbp + 0x50]
mov rdx, qword [0x005fb2d0]
call fcn.00416420
mov rcx, qword [0x00423b80]
mov dl, 1
mov r8, qword [rbp + 0x50]
call fcn.00437480
mov rcx, rax
call fcn.0040d980
nop
lea rcx, [rbp + 0x50]
mov edx, 2
call fcn.0040e960
lea rcx, [rbp + 0x68]
mov rdx, qword [0x0042eb60]
call fcn.004121c0
lea rcx, [rbp + 0x70]
mov rdx, qword [0x0042eb20]
call fcn.004121c0
lea rcx, [rbp + 0x88]
call fcn.0040e880
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x42efb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rcx, rbx
call fcn.0040ff70
mov rdi, rax
mov rcx, rdi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42f05d
mov ecx, eax
test ecx, 0x400
je 0x42f052
test sil, sil
jne 0x42eff3
mov al, 1
jmp 0x42f086
test eax, 0x10
je 0x42f002
xor eax, eax
jmp 0x42f086
mov rcx, rdi
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x42f045
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x42f086
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x20
sete al
jmp 0x42f086
test eax, 0x10
sete al
jmp 0x42f086
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x42f080
cmp eax, 3
je 0x42f080
cmp eax, 0x7b
je 0x42f080
mov rcx, rbp
mov rdx, rbx
call fcn.0042ef60
test al, al
jne 0x42f084
xor eax, eax
jmp 0x42f086
mov al, 1
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x42f090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov ebx, edx
xor esi, esi
call fcn.0040ff70
mov r13, rax
mov rcx, r13
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x42f17e
mov eax, edi
test eax, 0x400
jne 0x42f0d2
test edi, 0x10
setne sil
jmp 0x42f1b1
test bl, bl
je 0x42f128
mov rcx, r13
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x42f1b1
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
test edi, 0x10
setne sil
jmp 0x42f1b1
test edi, 0x10
je 0x42f135
mov sil, 1
jmp 0x42f1b1
mov rcx, r13
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x42f179
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
xor esi, esi
jmp 0x42f1b1
mov sil, 1
jmp 0x42f1b1
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x42f1a9
cmp eax, 3
je 0x42f1a9
cmp eax, 0xa1
je 0x42f1a9
cmp eax, 0x7b
je 0x42f1a9
cmp eax, 0x35
je 0x42f1a9
cmp eax, 0x15
je 0x42f1a9
cmp eax, 0x43
jne 0x42f1ae
xor esi, esi
jmp 0x42f1b1
mov sil, 1
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x42fa70
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call fcn.0040ff70
mov rcx, rax
call sub.kernel32.dll_SetCurrentDirectoryW_1
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x42fa90
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
call fcn.0040ff70
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x4357f0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov ebx, r8d
lea r8, [rbp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x435817
movzx rax, word [rbp + 0x2c]
jmp 0x435819
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x437290
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.00437040
mov ebx, eax
mov rax, qword [0x005fb190]
cmp byte [rax], 0
je 0x4373c6
mov rcx, qword [0x005fac90]
call fcn.0040a870
call fcn.00409370
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00437250]
mov r8d, 1
movsxd r9, esi
call fcn.00411ff0
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x0043745c]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x43740b
mov rcx, qword [0x00602270]
call fcn.00412790
mov rcx, rax
mov rax, qword [0x005fabf8]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor ecx, ecx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00437250]
call fcn.004121c0
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x438fc0
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov qword [rbp + 0x98], r9
nop
mov byte [rbp + 0x67], 0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x80]
call fcn.0040ef30
lea rcx, [rbp + 0x58]
call fcn.0040f110
mov rcx, qword [rbp + 0x58]
call fcn.0040ff70
mov rcx, rax
lea rdx, [rbp + 0x50]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
je 0x4390d0
mov ecx, dword [rbp + 0x54]
call fcn.00409050
mov qword [rbp + 0x68], rax
nop
mov rcx, qword [rbp + 0x58]
call fcn.0040ff70
mov rcx, rax
mov edx, dword [rbp + 0x50]
mov r8d, dword [rbp + 0x54]
mov r9, qword [rbp + 0x68]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4390c6
mov rcx, qword [rbp + 0x68]
lea rdx, [0x00439128]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x44]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4390c6
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0x88]
mov ecx, dword [rbp + 0x40]
shr ecx, 0x10
movzx ecx, cx
mov dword [rax], ecx
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx + 0x10]
mov dword [rax], ecx
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0x98]
mov ecx, dword [rbp + 0x3c]
shr ecx, 0x10
movzx ecx, cx
mov dword [rax], ecx
mov byte [rbp + 0x67], 1
nop
mov rcx, qword [rbp + 0x68]
call fcn.00409080
nop
lea rcx, [rbp + 0x58]
call fcn.0040e880
movzx rax, byte [rbp + 0x67]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x43a510
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.0040f060
mov r13d, eax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.004164f0
mov esi, eax
cmp esi, 0x104
jbe 0x43a56c
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00409050
mov rdi, rax
jmp 0x43a570
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.004164f0
mov rcx, rdi
call sub.user32.dll_CharUpperW
xor ebx, ebx
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x43a5c7
sub edx, ecx
add edx, 1
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movsxd rcx, eax
movzx ecx, word [rdi + rcx*2]
xor ebx, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x43a5a8
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x43a5d9
mov rcx, rdi
call fcn.00409080
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x4bef30
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x4bef37
nop
ret

Function at 0x510200
Capabilities:
Resume thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x20]
movzx rax, byte [rax + 0x19]
movzx rcx, byte [rbp + 0x2f]
or al, cl
test al, al
je 0x510292
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x1d], 0
jne 0x510292
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x40], 0
jne 0x510292
mov rax, qword [rbp + 0x20]
mov byte [rax + 0x1b], 0
mov byte [rax + 0x19], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x5102bc
lea rcx, [rbp + 0x38]
mov rdx, qword [0x005fb0d0]
call fcn.00416420
mov rcx, qword [0x004d7230]
mov dl, 1
mov r8, qword [rbp + 0x38]
call fcn.00437480
mov rcx, rax
call fcn.0040d980
jmp 0x5102bc
lea rcx, [rbp + 0x30]
mov rdx, qword [0x005fb0d0]
call fcn.00416420
mov rcx, qword [0x004d7230]
mov dl, 1
mov r8, qword [rbp + 0x30]
call fcn.00437480
mov rcx, rax
call fcn.0040d980
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040e960
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x510e30
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.00510040
jmp 0x510e8b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x510eb0
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.00510040
cmp esi, 1
jne 0x510eda
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x55be60
Capabilities:
Check if file exists

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], 0
nop
mov rcx, qword [rbp + 0x20]
call fcn.0055b400
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rbp + 0x20]
call fcn.0042fa70
test al, al
jne 0x55bec9
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x55bec9
cmp eax, 3
je 0x55bec9
lea rcx, [rbp + 0x28]
mov edx, eax
xor r8, r8
call fcn.004356b0
mov rcx, qword [0x004244a0]
mov dl, 1
mov r8, qword [rbp + 0x28]
call fcn.00437480
mov rcx, rax
call fcn.0040d980
nop
lea rcx, [rbp + 0x28]
call fcn.0040e880
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x55ced0
Capabilities:
Get disk information

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov qword [rsp + 0x40], rcx
xor ebx, ebx
cmp qword [rsp + 0x40], 0
je 0x55cf47
mov rcx, qword [rsp + 0x40]
call fcn.0055d270
test al, al
je 0x55cf47
mov rcx, qword [rsp + 0x40]
call fcn.0055cfc0
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov rcx, qword [rsp + 0x40]
sub esi, 1
movsxd rsi, esi
movzx rcx, word [rcx + rsi*2]
mov edx, ecx
mov r8d, ecx
sub r8w, 0x61
cmp r8w, 0x1a
jae 0x55cf2b
mov edx, ecx
and dx, 0xffdf
mov ecx, edx
cmp cx, 0x41
jb 0x55cf47
cmp cx, 0x5a
ja 0x55cf47
sub cl, 0x41
shr eax, cl
and eax, 1
cmp eax, 1
sete bl
mov eax, ebx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x58f140
Capabilities:
Hash data with crc32

Disassembly:
push rbp
mov rbp, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x40], 0
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x64], 0
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x28], 0
mov rcx, qword [rsp + 0x38]
call fcn.0058f220
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0x100
jae 0x58f219
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x2c], 0
cmp dword [rsp + 0x2c], 8
jge 0x58f1f3
mov eax, dword [rsp + 0x30]
shr eax, 1
mov ecx, dword [rsp + 0x30]
and ecx, 1
sub ecx, 1
xor ecx, 0xffffffff
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x58f1aa
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx*4 + 0x8c], eax
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
jmp 0x58f18c
mov rsp, rbp
pop rbp
ret

Function at 0x5926c0
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x60
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], r8
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x44]
mov rax, rsp
mov qword [rax + 0x28], rdx
mov dword [rax + 0x20], 0
xor r9d, r9d
mov qword [rsp + 0x38], rcx
mov ecx, r9d
mov edx, r9d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], r8
mov r8, rax
mov r9, qword [rsp + 0x30]
call sub.msvcrt.dll__beginthreadex
movsxd r8, eax
mov r9, qword [rsp + 0x58]
mov qword [r9], r8
mov r8, qword [rsp + 0x58]
mov rcx, qword [r8]
call fcn.00592580
mov rsp, rbp
pop rbp
ret
Function at 0x59d0f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
and rsp, 0xfffffffffffffff8
sub rsp, 0x20
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x14], edx
mov qword [rsp + 8], r8
mov dword [rsp + 4], 0
mov edx, dword [rsp + 0x14]
or edx, 0x100
mov dword [rsp + 0x14], edx
mov eax, dword [rsp + 0x14]
shr eax, 8
mov ecx, eax
mov rdx, qword [rsp + 0x18]
mov eax, dword [rdx + rcx*4]
mov r8d, dword [rsp + 0x14]
shr r8d, 7
and r8d, 1
mov r9d, 0
sub r9d, r8d
and r9d, 0x7ff
xor eax, r9d
shr eax, 4
mov ecx, eax
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rcx*4]
mov r8d, dword [rsp + 4]
add r8d, eax
mov dword [rsp + 4], r8d
mov eax, dword [rsp + 0x14]
shl eax, 1
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 0x10000
jb 0x59d123
mov eax, dword [rsp + 4]
mov rsp, rbp
pop rbp
ret
Function at 0x5a5c50
Capabilities:
Terminate thread

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x88], edx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x90]
call fcn.0040ea10
nop
mov byte [rbp + 0x6f], 0
cmp dword [rbp + 0x88], 0
je 0x5a5d8d
nop
mov ecx, 0x20
mov rdx, qword [0x005a0020]
call fcn.00411770
mov qword [rbp + 0x60], rax
mov ecx, dword [rbp + 0x88]
call fcn.00409050
mov rcx, qword [rbp + 0x60]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
mov r8d, dword [rbp + 0x88]
call fcn.00409490
mov rax, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x88]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x60]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0x90]
call fcn.0040eeb0
mov rax, qword [rbp + 0x60]
mov byte [rax + 0x18], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x005a55b0]
mov r9, qword [rbp + 0x60]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call fcn.0040e680
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x50]
mov edx, 0x7530
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x5a5d51
mov rcx, qword [rbp + 0x50]
xor edx, edx
call sub.kernel32.dll_TerminateThread
lea rcx, [0x006073a8]
call sub.kernel32.dll_LeaveCriticalSection_1
mov rcx, qword [rbp + 0x50]
call sub.kernel32.dll_CloseHandle_1
mov rax, qword [rbp + 0x60]
movzx rax, byte [rax + 0x18]
mov byte [rbp + 0x6f], al
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
call fcn.00409080
mov rcx, qword [rbp + 0x60]
mov rdx, qword [0x005a0020]
call fcn.004117a0
jmp 0x5a5d8c
nop
lea rcx, [rbp + 0x90]
call fcn.0040e880
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x5a6900
Capabilities:
Terminate thread

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x6c], 0xffffffff
nop
mov rcx, qword [rbp + 0x88]
call fcn.005a6460
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], 0xffffffff
je 0x5a6a73
cmp qword [0x005f7d90], 0
jne 0x5a695a
mov rcx, qword [0x004c9b30]
mov dl, 1
call fcn.0040b3a0
mov qword [0x005f7d90], rax
mov ecx, 0x28
mov rdx, qword [0x005a63a8]
call fcn.00411770
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x80]
call fcn.0040eeb0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x88]
call fcn.0040eeb0
mov rax, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x4c]
mov dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x60]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x60]
mov dword [rax + 0x20], 0xffffffff
xor ecx, ecx
xor edx, edx
lea r8, [0x005a6640]
mov r9, qword [rbp + 0x60]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x28], rax
call fcn.0040e680
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x50]
mov edx, 0x7530
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x5a6a00
mov rcx, qword [rbp + 0x50]
xor edx, edx
call sub.kernel32.dll_TerminateThread
mov rcx, qword [rbp + 0x50]
call sub.kernel32.dll_CloseHandle_1
mov qword [rbp + 0x50], 0
mov rax, qword [rbp + 0x60]
mov eax, dword [rax + 0x20]
mov dword [rbp + 0x6c], eax
cmp dword [rbp + 0x6c], 0xffffffff
jne 0x5a6a73
mov rcx, qword [rbp + 0x60]
call fcn.0040e880
mov rax, qword [rbp + 0x60]
lea rcx, [rax + 8]
call fcn.0040e880
mov rax, qword [rbp + 0x60]
mov dword [rax + 0x10], 0
mov rax, qword [rbp + 0x60]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x60]
mov dword [rax + 0x20], 0xffffffff
mov rcx, qword [rbp + 0x60]
mov rdx, qword [0x005a63a8]
call fcn.004117a0
jmp 0x5a6a73
mov eax, dword [rbp + 0x6c]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x5b2340
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], rbp
cmp byte [0x005f8188], 0
jne 0x5b23b1
mov byte [0x005f8188], 1
nop
call fcn.005aac80
mov byte [0x005f87b0], al
call fcn.005aae20
lea rcx, [0x00607470]
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [0x00607474]
mov dword [0x005f90c4], eax
cmp dword [0x005f90c4], 0xa0
jae 0x5b239b
mov dword [0x005f90c4], 0xa0
mov byte [0x005f90c0], 0
call fcn.005b22e0
jmp 0x5b23b1
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x5b3a70
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov dword [rbp + 0x50], ecx
mov byte [rbp + 0x3b], 0
cmp dword [rbp + 0x50], 0
je 0x5b3ad7
nop
mov eax, dword [rbp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x5b3ad7
mov ecx, 1
xor edx, edx
mov r8d, dword [rbp + 0x50]
call sub.kernel32.dll_OpenProcess
mov dword [rbp + 0x3c], eax
nop
mov ecx, dword [rbp + 0x3c]
xor edx, edx
call sub.kernel32.dll_TerminateProcess
mov ecx, dword [rbp + 0x3c]
mov edx, 0x1964
call sub.kernel32.dll_WaitForSingleObject
nop
mov ecx, dword [rbp + 0x3c]
call sub.kernel32.dll_CloseHandle_1
mov byte [rbp + 0x3b], 1
jmp 0x5b3ad7
movzx rax, byte [rbp + 0x3b]
lea rsp, [rbp + 0x40]
pop rbp
ret