joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800369bf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800c4650]
jne 0x1800327ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1800327b6
repz ret
ror rcx, 0x10
jmp 0x180036918
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800da320]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800da418]
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 0x18003699d
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, [0x1800da320]
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 0x1800369bf
mov rax, qword [rsp + 0x88]
mov qword [0x1800da418], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800da3b8], rax
mov rax, qword [0x1800da418]
mov qword [0x1800da290], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800da3a0], rax
mov dword [0x1800da280], 0xc0000409
mov dword [0x1800da284], 1
mov rax, qword [0x1800c4650]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800c4658]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800da318], eax
mov ecx, 1
call fcn.18003fff4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180084088]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800da318], 0
jne 0x180036a46
mov ecx, 1
call fcn.18003fff4
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 0x180042a68
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180037804
xor ebx, ebx
cmp qword [0x1800db398], rbx
mov rdi, rax
jne 0x180042b7b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180042c52
lea rdx, [0x180086400]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180042c52
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800db398], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1800db3a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1800863b8]
mov rcx, rsi
mov qword [0x1800db3a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800db3b8], rax
test rax, rax
je 0x180042b72
lea rdx, [0x1800863a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1800db3b0], rax
jmp 0x180042b82
mov rax, qword [0x1800db3b0]
jmp 0x180042b89
mov rax, qword [0x1800db3b0]
mov r11, qword [0x1800db3b8]
cmp rax, rdi
je 0x180042bf0
cmp r11, rdi
je 0x180042bf0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800db3b8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180042bf0
test rax, rax
je 0x180042bf0
call rsi
test rax, rax
je 0x180042bea
lea rcx, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180042bea
test byte [rsp + 0x40], 1
jne 0x180042bf0
bts ebp, 0x15
jmp 0x180042c30
mov rcx, qword [0x1800db3a0]
cmp rcx, rdi
je 0x180042c30
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180042c30
call rax
mov rbx, rax
test rax, rax
je 0x180042c30
mov rcx, qword [0x1800db3a8]
cmp rcx, rdi
je 0x180042c30
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180042c30
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800db398]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180042c52
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180042c54
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800486e0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x1800db674], 0
jne 0x180048884
lea rcx, [0x1800db3f0]
mov edi, 1
mov dword [0x1800db3f0], 0x114
mov dword [0x1800db674], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor r11d, r11d
cmp dword [0x1800db400], 2
sete r11b
mov dword [reloc.WS2_32.dll_accept], r11d
test r11d, r11d
je 0x180048868
lea rcx, [0x1800db510]
mov qword [rsp + 0x160], rbx
mov dword [0x1800db510], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [0x18009b0f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProductInfo
mov rcx, rbx
mov qword [0x1800db3e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800db630]
mov qword [0x1800db660], rax
mov rax, qword [0x1800db3e8]
test rax, rax
je 0x1800487bc
call rax
jmp 0x1800487c2
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1800db514]
cmp eax, 6
jae 0x1800487db
cmp eax, 5
jne 0x1800487f2
cmp dword [0x1800db518], 2
jb 0x1800487f2
mov eax, dword [0x1800db3e0]
cmp word [0x1800db630], 9
cmove eax, edi
mov dword [0x1800db3e0], eax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180048820
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1800db668], rax
jmp 0x180048827
mov rbx, qword [0x1800db668]
test rbx, rbx
je 0x180048860
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.180034650
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rbx
mov ecx, dword [0x1800db3fc]
test eax, eax
cmove ecx, dword [rsp + 0x2c]
mov dword [0x1800db3fc], ecx
mov rbx, qword [rsp + 0x160]
lea rdx, [0x1800db3f8]
lea rcx, [0x1800db3f4]
call fcn.1800485a0
call fcn.1800482e0
mov eax, edi
jmp 0x180048889
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x150
pop rdi
ret
Function at 0x180048ee0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1800db904], 0
jne 0x180048fc1
lea rcx, [0x1800db690]
mov ebx, 1
mov dword [0x1800db690], 0x114
mov dword [0x1800db904], ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor r11d, r11d
cmp dword [0x1800db6a0], 2
sete r11b
mov dword [reloc.WS2_32.dll_accept], r11d
test r11d, r11d
je 0x180048fb4
lea rcx, [0x1800db7b0]
mov dword [0x1800db7b0], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [0x18009b0f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800db8d0]
mov qword [0x1800db688], rax
test rax, rax
je 0x180048f7e
call rax
jmp 0x180048f84
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1800db7b4]
cmp eax, 6
jae 0x180048f9d
cmp eax, 5
jne 0x180048fb4
cmp dword [0x1800db7b8], 2
jb 0x180048fb4
mov ecx, dword [0x1800db680]
cmp word [0x1800db8d0], 9
cmove ecx, ebx
mov dword [0x1800db680], ecx
call fcn.180048ce0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x180049100
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1800db908]
test eax, eax
jne 0x18004912e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str.SeDebugPrivilege
mov r8d, 1
mov ecx, eax
call fcn.18002fb60
mov dword [0x1800db908], eax
add rsp, 0x28
ret

Function at 0x180049410
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x130], rax
test rdx, rdx
jne 0x18004944b
mov eax, 0xf0000001
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x148
ret
lea rcx, [0x18009b0f0]
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0x140], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.comctl32.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rdi, rdi
je 0x180049529
test rax, rax
je 0x180049529
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.180034650
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.180048ff0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x49
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180086818]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1800867f0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1800867e0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180086800]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.RemoteLoadDll9x_____Can_not_get_function_address
call fcn.18005ad40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x148
ret
Function at 0x180049eb0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
jne 0x180049eb9
xor eax, eax
jmp 0x180049f01
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x180049ec7
xor eax, eax
jmp 0x180049f01
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x180049eda
xor eax, eax
jmp 0x180049f01
cmp word [rax + 0x14], 0
jne 0x180049ee5
xor eax, eax
jmp 0x180049f01
test edx, edx
je 0x180049ef8
mov ecx, 0x8664
cmp word [rax + 4], cx
je 0x180049ef8
xor eax, eax
jmp 0x180049f01
mov eax, 1
jmp 0x180049f01
repz ret

Function at 0x18004a1b0
Capabilities:
Parse pe header

Disassembly:
mov edx, 1
jmp fcn.180049eb0
Function at 0x18004c3c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x18004c3d9
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x1800872b0]
cmp r11d, 8
jb 0x18004c4d1
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
dec rbx
jne 0x18004c400
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x18004c4ff
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r11d
jne 0x18004c4e0
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret

Function at 0x18004c820
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rsi, rdx
mov rbx, rcx
lea rdx, [rcx + 8]
mov r8d, 1
lea rcx, [rsp + 0x38]
call fcn.1800266d0
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
test eax, eax
je 0x18004c8af
test rsi, rsi
je 0x18004c8af
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r11d, r11d
mov dword [rsp + 0x60], r11d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx + rcx - 2]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x60]
mov rdx, rsi
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x38]
call fcn.180026710
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x18004d640
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov rsi, rcx
call fcn.1800488f0
test eax, eax
je 0x18004d67c
mov dword [0x1800dc518], 0x32
xor eax, eax
jmp 0x18004d71f
xor eax, eax
mov qword [rsp + 0x90], rbx
xor ebx, ebx
lea rcx, [rsp + 0x20]
lea r9d, [rbx + 4]
lea r8d, [rbx + 1]
mov rdx, rsi
mov dword [0x1800dc518], ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
call fcn.18004d4e0
lea rcx, [rsp + 0x20]
call fcn.18004d580
test rax, rax
je 0x18004d6f7
lea rcx, [rsp + 0x20]
call fcn.18004d580
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
test eax, eax
jne 0x18004d6ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x18004d6fb
mov eax, dword [rsp + 0x54]
mov dword [rdi], eax
jmp 0x18004d70b
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x18004d705
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1800dc518], eax
lea rcx, [rsp + 0x20]
call fcn.18004d5e0
mov eax, ebx
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800327a0
mov rsi, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x180056590
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x1800dc568], 0
jne 0x180056603
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x196
mov word [rsp + 0x20], ax
call fcn.180034650
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800565f9
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x1d8
ret
mov dword [0x1800dc568], 1
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x1d8
ret

Function at 0x180058470
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rbp, rdx
mov rdi, rcx
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
cmp dword [rdi + 0x140], r12d
je 0x1800584fa
lea rdx, [rdi + 0xf0]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x28]
call fcn.1800266d0
nop
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rdi + 0x128]
call fcn.1800260b0
lea rdx, [rdi + 0xd8]
lea rcx, [rdi + 0x128]
call fcn.180026210
mov dword [rdi + 0x140], r12d
lea rcx, [rsp + 0x28]
call fcn.180026710
cmp qword [rbp + 0x30], 0
je 0x180058510
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x30]
jmp 0x180058548
mov ebx, r12d
cmp dword [rdi + 0x130], ebx
jle 0x180058556
mov rsi, r12
nop
mov rax, qword [rdi + 0x128]
mov rcx, qword [rsi + rax]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x30]
test eax, eax
jne 0x180058548
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x130]
jl 0x180058520
jmp 0x180058556
mov rcx, rbp
call fcn.180058c30
mov r12d, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r13d
cmp dword [rdi + 0x148], eax
jae 0x180058576
mov dword [rdi + 0x148], eax
mov ecx, dword [rbp + 0x18]
mov dword [rdi + 0x14c], ecx
mov eax, r12d
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret

Function at 0x1800592f0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x180059308
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, rbx
mov dword [rbx + 0x44], 0
add rsp, 0x20
pop rbx
jmp fcn.180027ea0

Function at 0x18005ad40
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x838
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x820], rax
cmp dword [0x1800dcbe0], 0
je 0x18005ada2
xor eax, eax
mov r8, rcx
lea r9, [r11 + 0x10]
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x20]
mov edx, 0x3ff
mov word [r11 - 0x1a], ax
call fcn.180033ac8
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x838
ret
Function at 0x18005b0d0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180024d20
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.180024d20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor r13d, r13d
mov ebx, r13d
test esi, edi
je 0x18005b1f8
mov eax, dword [0x1800a1454]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1800a1458]
mov word [rsp + 0x3c], ax
xor eax, eax
mov word [rsp + 0x3e], ax
add word [rsp + 0x38], bx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.180024700
nop
lea r8, [rsp + 0x28]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180024f30
mov r11, qword [0x180081bb8]
mov qword [rsp + 0x20], r11
mov word [rsp + 0x40], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.180034650
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [rsp + 0x246], r13w
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180023410
lea r8, [rsp + 0x20]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180024f30
nop
lea rcx, [rsp + 0x20]
call fcn.180023290
nop
lea rcx, [rsp + 0x28]
call fcn.180023290
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x18005b134
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800327a0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x18005b240
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rdi, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180024d20
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.180024d20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ecx, dword [0x1800dccc8]
test ecx, ecx
je 0x18005b2f1
cmp eax, ecx
jne 0x18005b2f1
mov eax, dword [0x1800dcccc]
test eax, eax
je 0x18005b2f1
cmp ebx, eax
jb 0x18005b2f1
add eax, 0x493e0
cmp eax, ebx
jb 0x18005b2f1
inc dword [0x1800dccd0]
mov r8d, 1
lea rdx, [0x1800dcdd8]
lea rcx, [rsp + 0x28]
call fcn.1800266d0
nop
lea rdx, [0x1800dcda8]
mov rcx, rsi
call fcn.180024e90
lea rdx, [0x1800dcdc0]
mov rcx, rdi
call fcn.180024e90
nop
jmp 0x18005b36d
mov dword [0x1800dccd0], 0
mov rdx, rdi
mov rcx, rsi
call fcn.18005b0d0
mov r8d, 1
lea rdx, [0x1800dcdd8]
lea rcx, [rsp + 0x28]
call fcn.1800266d0
nop
mov dword [0x1800dccc8], ebp
mov dword [0x1800dcccc], ebx
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800dcda8]
call fcn.180024d20
mov rdx, rsi
lea rcx, [0x1800dcda8]
call fcn.180024e90
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800dcdc0]
call fcn.180024d20
mov rdx, rdi
lea rcx, [0x1800dcdc0]
call fcn.180024e90
nop
lea rcx, [rsp + 0x28]
call fcn.180026710
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18005cd40
Capabilities:
Encode data using base64

Disassembly:
mov eax, 8
call fcn.180034bf0
sub rsp, rax
xor r11d, r11d
mov r9, rcx
test r8d, r8d
jle 0x18005ce4d
mov qword [rsp], rbx
lea r10, [rdx + 1]
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax + rax]
movzx ecx, byte [r10 - 1]
cmp r8d, 3
jl 0x18005cdcf
movzx eax, byte [r10]
shl ecx, 8
or ecx, eax
movzx eax, byte [r10 + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov edx, ecx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
mov eax, ecx
shr rax, 6
and eax, 0x3f
and edx, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 2], al
movzx eax, byte [rdx + rbx]
mov byte [r9 + 3], al
jmp 0x18005ce24
shl ecx, 0x10
cmp r8d, 2
jne 0x18005cde1
movzx eax, byte [r10]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
cmp r8d, 1
jne 0x18005ce10
lea eax, [r8 + 0x3c]
jmp 0x18005ce1b
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + rbx]
mov byte [r9 + 2], al
mov byte [r9 + 3], 0x3d
sub r8d, 3
add r9, 4
add r11d, 4
add r10, 3
test r8d, r8d
jg 0x18005cd70
mov rbx, qword [rsp]
mov byte [r9], 0
mov eax, r11d
add rsp, 8
ret
mov byte [rcx], r11b
mov eax, r11d
add rsp, 8
ret