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

Disassembly:
sub rsp, 0x48
xor eax, eax
mov dword [rdx], eax
test rcx, rcx
je 0x180093a0e
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add rsp, 0x48
ret

Function at 0x180093a40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.18002b560
xor esi, esi
test rbx, rbx
je 0x180093acd
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], sil
call fcn.180043ef0
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8d, 0x104
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.180027d50
mov eax, ebx
jmp 0x180093acf
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180043ec0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180093ba0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.18002b560
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x20], 0
call fcn.180043ef0
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
dec eax
cmp eax, 0x3fe
ja 0x180093c15
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180027d50
mov eax, 1
jmp 0x180093c17
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.180043ec0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x180093d10
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.18002cc40
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
nop dword [rax]
test dword [rsi], edi
je 0x180093da0
movzx eax, word [0x1800d4c14]
mov word [rsp + 0x50], ax
movzx eax, byte [0x1800d4c16]
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
add byte [rsp + 0x50], bl
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.18002b2f0
nop
lea r8, [rsp + 0x60]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.18002ce90
nop
lea rcx, [rsp + 0x60]
call fcn.180027bd0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x180093d50
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x180093dc0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.18002cc40
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
nop dword [rax]
test dword [rsi], edi
je 0x180093e50
movzx eax, word [0x1800d4c14]
mov word [rsp + 0x50], ax
movzx eax, byte [0x1800d4c16]
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
add byte [rsp + 0x50], bl
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.18002b2f0
nop
lea r8, [rsp + 0x60]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.18002ce90
nop
lea rcx, [rsp + 0x60]
call fcn.180027bd0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x180093e00
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x180093e70
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.18002d150
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
test dword [rsi], edi
je 0x180093f09
mov eax, dword [0x1800ea9b8]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1800ea9bc]
mov word [rsp + 0x34], ax
xor eax, eax
mov word [rsp + 0x36], ax
add word [rsp + 0x30], bx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.18002bea0
nop
lea r8, [rsp + 0x20]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.18002d3a0
nop
lea rcx, [rsp + 0x20]
call fcn.180029530
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x180093eb8
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180043ec0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x180093f40
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.18002cc40
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.18002cc40
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor ebx, ebx
nop
test esi, edi
je 0x180094061
movzx eax, word [0x1800d4c14]
mov word [rsp + 0x20], ax
movzx eax, byte [0x1800d4c16]
mov byte [rsp + 0x22], al
xor eax, eax
mov byte [rsp + 0x23], al
add byte [rsp + 0x20], bl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18002b2f0
nop
lea r8, [rsp + 0x30]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.18002ce90
mov r11, qword [0x1800e0ed0]
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.180043ef0
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov byte [rsp + 0x143], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.180027d50
lea r8, [rsp + 0x28]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.18002ce90
nop
lea rcx, [rsp + 0x28]
call fcn.180027bd0
nop
lea rcx, [rsp + 0x30]
call fcn.180027bd0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x180093fa0
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180043ec0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1800940a0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.18002cc40
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.18002cc40
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor ebx, ebx
nop
test esi, edi
je 0x1800941c1
movzx eax, word [0x1800d4c14]
mov word [rsp + 0x20], ax
movzx eax, byte [0x1800d4c16]
mov byte [rsp + 0x22], al
xor eax, eax
mov byte [rsp + 0x23], al
add byte [rsp + 0x20], bl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18002b2f0
nop
lea r8, [rsp + 0x30]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.18002ce90
mov r11, qword [0x1800e0ed0]
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.180043ef0
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov byte [rsp + 0x143], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.180027d50
lea r8, [rsp + 0x28]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.18002ce90
nop
lea rcx, [rsp + 0x28]
call fcn.180027bd0
nop
lea rcx, [rsp + 0x30]
call fcn.180027bd0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x180094100
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180043ec0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180094200
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 [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.18002d150
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.18002d150
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor r13d, r13d
mov ebx, r13d
test esi, edi
je 0x180094328
mov eax, dword [0x1800ea9b8]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1800ea9bc]
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.18002bea0
nop
lea r8, [rsp + 0x28]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.18002d3a0
mov r11, qword [0x1800e0ed8]
mov qword [rsp + 0x20], r11
mov word [rsp + 0x40], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.180043ef0
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.1800296b0
lea r8, [rsp + 0x20]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.18002d3a0
nop
lea rcx, [rsp + 0x20]
call fcn.180029530
nop
lea rcx, [rsp + 0x28]
call fcn.180029530
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x180094264
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180043ec0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180094730
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.18002cc40
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.18002cc40
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ecx, dword [0x1801412ec]
test ecx, ecx
je 0x1800947e1
cmp eax, ecx
jne 0x1800947e1
mov eax, dword [0x1801412f0]
test eax, eax
je 0x1800947e1
cmp ebx, eax
jb 0x1800947e1
add eax, 0x493e0
cmp eax, ebx
jb 0x1800947e1
inc dword [0x1801412f4]
mov r8d, 1
lea rdx, [0x1801413a0]
lea rcx, [rsp + 0x28]
call fcn.180031080
nop
lea rdx, [0x180141370]
mov rcx, rsi
call fcn.18002cdb0
lea rdx, [0x180141388]
mov rcx, rdi
call fcn.18002cdb0
nop
jmp 0x18009485d
mov dword [0x1801412f4], 0
mov rdx, rdi
mov rcx, rsi
call fcn.1800940a0
mov r8d, 1
lea rdx, [0x1801413a0]
lea rcx, [rsp + 0x28]
call fcn.180031080
nop
mov dword [0x1801412ec], ebp
mov dword [0x1801412f0], ebx
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x180141370]
call fcn.18002cc40
mov rdx, rsi
lea rcx, [0x180141370]
call fcn.18002cdb0
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x180141388]
call fcn.18002cc40
mov rdx, rdi
lea rcx, [0x180141388]
call fcn.18002cdb0
nop
lea rcx, [rsp + 0x28]
call fcn.180031100
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 0x180094890
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.18002d150
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.18002d150
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ecx, dword [0x1801412f8]
test ecx, ecx
je 0x180094941
cmp eax, ecx
jne 0x180094941
mov eax, dword [0x1801412fc]
test eax, eax
je 0x180094941
cmp ebx, eax
jb 0x180094941
add eax, 0x493e0
cmp eax, ebx
jb 0x180094941
inc dword [0x180141300]
mov r8d, 1
lea rdx, [0x180141408]
lea rcx, [rsp + 0x28]
call fcn.180031080
nop
lea rdx, [0x1801413d8]
mov rcx, rsi
call fcn.18002d2c0
lea rdx, [0x1801413f0]
mov rcx, rdi
call fcn.18002d2c0
nop
jmp 0x1800949bd
mov dword [0x180141300], 0
mov rdx, rdi
mov rcx, rsi
call fcn.180094200
mov r8d, 1
lea rdx, [0x180141408]
lea rcx, [rsp + 0x28]
call fcn.180031080
nop
mov dword [0x1801412f8], ebp
mov dword [0x1801412fc], ebx
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1801413d8]
call fcn.18002d150
mov rdx, rsi
lea rcx, [0x1801413d8]
call fcn.18002d2c0
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1801413f0]
call fcn.18002d150
mov rdx, rdi
lea rcx, [0x1801413f0]
call fcn.18002d2c0
nop
lea rcx, [rsp + 0x28]
call fcn.180031100
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 0x1800949f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, reloc.OLEAUT32.dll_VariantTimeToSystemTime
call fcn.1800470d0
sub rsp, rax
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [rsp + 0x110]
xor esi, esi
mov r13, r9
movsxd rdi, r8d
mov r12, rdx
mov rbp, rcx
mov eax, esi
test r9, r9
je 0x180094a3e
lea eax, [rsi + 1]
mov qword [rcx], r9
jmp 0x180094a41
mov r13, qword [rcx]
mov qword [rsp + 0xb0], rbx
test rdx, rdx
je 0x180094b11
mov rcx, r13
call fcn.1800989f0
mov ebx, eax
cmp eax, 0x80
jle 0x180094a7b
lea r8, str.j____int_sizeof_ctx__key_
lea rcx, str..cryptohmachmac.c
mov edx, 0x54
call fcn.180098540
cmp ebx, edi
jge 0x180094ab3
lea rcx, [rbp + 8]
mov r8, r14
mov rdx, r13
call fcn.180097070
lea rcx, [rbp + 8]
mov r8, rdi
mov rdx, r12
call fcn.180097150
lea r12, [rbp + 0x68]
lea rdx, [rbp + 0x6c]
lea rcx, [rbp + 8]
mov r8, r12
call fcn.180097170
jmp 0x180094aee
test edi, edi
js 0x180094abf
cmp edi, 0x80
jle 0x180094ad7
lea r8, str.len_0__len__int_sizeof_ctx__key_
lea rcx, str..cryptohmachmac.c
mov edx, 0x5e
call fcn.180098540
lea rcx, [rbp + 0x6c]
mov r8, rdi
mov rdx, r12
call fcn.180045540
lea r12, [rbp + 0x68]
mov dword [r12], edi
mov ecx, dword [r12]
cmp ecx, 0x80
je 0x180094b19
mov r8d, 0x80
xor edx, edx
sub r8d, ecx
lea rcx, [rcx + rbp + 0x6c]
call fcn.180043ef0
jmp 0x180094b19
test eax, eax
je 0x180094bcd
lea rax, [rsp + 0x20]
mov rdi, rbp
mov rdx, rsi
sub rdi, rax
nop word [rax + rax]
lea rcx, [rsp + rdx + 0x20]
add rdx, 2
movzx eax, byte [rdi + rcx + 0x6c]
xor al, 0x36
mov byte [rcx], al
movzx eax, byte [rdi + rcx + 0x6d]
xor al, 0x36
mov byte [rcx + 1], al
cmp rdx, 0x80
jl 0x180094b30
lea rcx, [rbp + 0x28]
mov r8, r14
mov rdx, r13
call fcn.180097070
mov rcx, r13
call fcn.1800989f0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x28]
movsxd r8, eax
call fcn.180097150
nop dword [rax]
lea rdx, [rsp + rsi + 0x20]
add rsi, 2
movzx eax, byte [rdi + rdx + 0x6c]
xor al, 0x5c
mov byte [rdx], al
movzx eax, byte [rdi + rdx + 0x6d]
xor al, 0x5c
mov byte [rdx + 1], al
cmp rsi, 0x80
jl 0x180094b80
lea rcx, [rbp + 0x48]
mov r8, r14
mov rdx, r13
call fcn.180097070
mov rcx, r13
call fcn.1800989f0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x48]
movsxd r8, eax
call fcn.180097150
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.180097310
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180043ec0
add rsp, 0xb8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800977c0
Capabilities:
Encode data using base64

Disassembly:
mov eax, 8
call fcn.1800470d0
sub rsp, rax
xor r11d, r11d
mov r9, rcx
test r8d, r8d
jle 0x1800978cd
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 0x18009784f
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 0x1800978a4
shl ecx, 0x10
cmp r8d, 2
jne 0x180097861
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 0x180097890
lea eax, [r8 + 0x3c]
jmp 0x18009789b
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 0x1800977f0
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
Function at 0x180098270
Capabilities:
Access the windows event log

Disassembly:
out dx, eax
invalid
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x278
call fcn.1800470d0
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rax, qword [0x18011a300]
xor rax, rbp
mov qword [rbp + 0x210], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x1800982f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1800982f0
lea rbx, [rbp + 0x268]
call fcn.180055b4c
mov rdx, qword [rbp + 0x260]
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.1800c8618
jmp 0x1800984b8
mov r8, qword [rbp + 0x260]
mov rcx, r8
call fcn.180097f20
inc eax
mov edi, eax
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x180098319
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800470d0
sub rsp, rcx
xor esi, esi
lea rbx, [rsp + 0x50]
test rbx, rbx
jne 0x180098340
lea rbx, str.no_stack_
jmp 0x180098413
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180098389
mov rdx, rsi
test rdi, rdi
je 0x180098389
nop word [rax + rax]
mov rax, qword [rbp + 0x260]
inc rdx
movsx ecx, byte [rdx + rax - 1]
mov word [rbx + rdx*2 - 2], cx
cmp rdx, rdi
jb 0x180098370
mov rdx, rsi
test rdi, rdi
je 0x180098413
mov r10d, 0x53
lea r9, [0x180000000]
lea r11d, [r10 + 0x20]
lea r12d, [r10 - 0x10]
lea r13d, [r10 + 0x10]
nop
cmp word [rbx + rdx*2], 0x25
jne case.0x1800983e2.47
lea r8, [rbx + rdx*2 + 2]
nop dword [rax]
movzx eax, word [r8]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x1800983e2.47
cdqe
movzx eax, byte [r9 + rax + 0x984f0]
mov ecx, dword [r9 + rax*4 + 0x984d8]
add rcx, r9
jmp rcx
inc rdx
add r8, 2
jmp 0x1800983c0
mov word [rbx + rdx*2 + 2], r10w
jmp case.0x1800983e2.47
mov word [rbx + rdx*2 + 2], r11w
jmp case.0x1800983e2.47
mov word [rbx + rdx*2 + 2], r12w
jmp case.0x1800983e2.47
mov word [rbx + rdx*2 + 2], r13w
inc rdx
cmp rdx, rdi
jb 0x1800983b0
lea r9, [rbp + 0x268]
lea rcx, [rbp + 0x10]
mov r8, rbx
mov edx, 0xff
call fcn.1800472a0
mov word [rbp + 0x20e], si
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x18009849f
call fcn.180098140
test eax, eax
jle 0x18009849f
lea rdx, str.OPENSSL
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x40], rsi
mov ecx, 1
mov rbx, rax
lea rax, [rbp + 0x10]
mov edx, ecx
mov qword [rbp], rax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x1800984b8
lea r8, str.OpenSSL:_FATAL
lea rdx, [rbp + 0x10]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.180043ec0
lea rsp, [rbp + 0x228]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180098540
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1800470d0
sub rsp, rax
mov r9, r8
mov r8d, edx
mov rdx, rcx
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.180098270
add rsp, 0x28
jmp fcn.180058a80
Function at 0x18009f810
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x20
call fcn.1800470d0
sub rsp, rax
mov rbx, r8
call fcn.18009f220
test eax, eax
js 0x18009fa4e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x18009f899
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x18009f850
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x18009fa4c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x180000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xecc50]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
mov r9d, dword [rdi + rdx*4 + 0xed850]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0xee050]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0xee450]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
xor r9d, dword [rdi + rcx*4 + 0xedc50]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xecc50]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
mov r8d, dword [rdi + rdx*4 + 0xed850]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0xee050]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xedc50]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0xee450]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xecc50]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
mov r8d, dword [rdi + rdx*4 + 0xed850]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0xee050]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xedc50]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0xee450]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0xecc50]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
mov r8d, dword [rdi + rdx*4 + 0xee050]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0xedc50]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xecc50]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xed850]
movzx ecx, byte [rdi + rax*4 + 0xecc50]
xor r8d, dword [rdi + rcx*4 + 0xee450]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x18009f8c0
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret