joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000a360
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
lea eax, [r8 + 1]
mov r12, rcx
mov edi, r8d
mov ecx, eax
mov rsi, rdx
mov ebx, eax
call fcn.1800135c8
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.180014bb0
mov r9, rbp
mov r8d, edi
xor edx, edx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x18000a3b2
xor eax, eax
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x180029ae8]
mov rcx, rbp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18000a3a5
mov rdx, qword [rsp + 0x38]
mov rcx, r12
movzx eax, word [rdx + 0xc]
movzx r8d, word [rdx + 0xa]
movzx r9d, word [rdx + 8]
movzx edx, word [rdx + 0xe]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._02d_02d_02d_1d
call qword [sym.imp.USER32.dll_wsprintfW]
test rbp, rbp
je 0x18000a416
mov rcx, rbp
call fcn.1800155f4
mov eax, 1
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18000a430
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x70], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov ebp, 1
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x78], 0
mov edx, ebp
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1e8
mov rcx, rbx
call sub.DNSAPI.dll_DnsQuery_W
test eax, eax
jne 0x18000a4f5
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18000a4f0
cmp bp, word [rcx + 0x10]
jne 0x18000a4fa
mov edx, dword [rcx + 0x20]
movzx r8d, dl
mov eax, edx
shr eax, 8
movzx r9d, al
mov eax, edx
shr eax, 0x10
movzx ecx, al
shr edx, 0x18
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d._d._d
mov rcx, rdi
call fcn.180009fa0
mov rcx, qword [rsp + 0x78]
jmp 0x18000a4fa
mov rax, rdi
jmp 0x18000a50e
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18000a50b
mov edx, ebp
call sub.DNSAPI.dll_DnsFree
mov rax, rdi
jmp 0x18000a50e
mov rax, rdi
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
Function at 0x18000a520
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x70], ebp
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rbp
mov r12d, 5
mov edx, r12d
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1e8
mov rcx, rbx
call sub.DNSAPI.dll_DnsQuery_W
or rbx, 0xffffffffffffffff
test eax, eax
jne 0x18000a5e1
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18000a5f5
cmp r12w, word [rcx + 0x10]
jne 0x18000a5e6
cmp dword [rcx + 0x20], eax
jbe 0x18000a5e6
mov rdx, qword [rcx + 0x20]
test rdx, rdx
je 0x18000a5c8
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea ebp, [rcx - 1]
mov r8d, ebp
lea rcx, [rsp + 0x78]
call fcn.180001570
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
jmp 0x18000a5e6
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18000a5f5
mov edx, 1
call sub.DNSAPI.dll_DnsFree
mov rdx, rdi
mov rcx, rsi
call fcn.18000ab20
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000a61e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rsi
jmp 0x18000a621
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret

Function at 0x18000ace0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
xor eax, eax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov edx, 0x38
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18000ad87
lea r8, [rsp + 0x34]
lea rdx, [0x1800254a8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x18000ad7c
mov rcx, qword [rsp + 0x58]
xor eax, eax
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18000ad7c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x48
ret
Function at 0x18000ada0
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x58
xor eax, eax
lea rcx, [r11 - 0x38]
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
test rcx, rcx
je 0x18000ae00
lea rcx, [0x180029b38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x180029b20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x18000adf5
call rax
jmp 0x18000adfb
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x20]
cmp ax, 9
je 0x18000ae11
cmp ax, 6
mov eax, 0x20
jne 0x18000ae16
mov eax, 0x40
add rsp, 0x58
ret

Function at 0x18000aeb0
Capabilities:
Acquire debug privileges
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x18000b022
test r8, r8
je 0x18000b022
test rcx, rcx
je 0x18000b022
cmp rcx, 0xffffffffffffffff
je 0x18000b022
lea rcx, [0x1800254a8]
call fcn.18000ace0
call fcn.18000ada0
cmp eax, 0x20
jne 0x18000af38
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18000b040
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x180029b38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x180029b48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000b022
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x48]
xor ebp, ebp
mov rcx, rdi
mov dword [rsp + 0x48], ebp
call rax
test eax, eax
je 0x18000b01e
cmp rsi, 0x1000
jb 0x18000b01e
mov eax, 0x5a4d
cmp ax, word [rbx]
jne 0x18000b01e
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x18000b01e
mov ecx, 0x14c
cmp word [rax + rbx + 4], cx
mov eax, dword [rsp + 0x48]
sete bpl
cmp eax, ebp
jne 0x18000b01e
test eax, eax
jne 0x18000aff7
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18000b040
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18000b3c0
jmp 0x18000afe2
xor eax, eax
jmp 0x18000afe2
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x18000e510
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 0x18000e529
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x18002ead0]
cmp r11d, 8
jb 0x18000e622
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
sub rbx, 1
jne 0x18000e550
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x18000e650
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
add r11d, 0xffffffff
jne 0x18000e630
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret

Function at 0x18000ee80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
mov rbp, rdx
mov r10, rcx
imul esi, edx
cmp byte [r9], 0
je 0x18000eed0
mov rdx, rcx
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, esi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000eeca
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x18000ef01
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
mov qword [rsp + 0x40], rbx
lea eax, [rdx + rsi]
cmp eax, ecx
jbe 0x18000eee8
sub ecx, edx
mov esi, ecx
add rdx, qword [r9 + 0x20]
mov r8d, esi
mov rcx, r10
call fcn.1800164a0
add dword [rdi + 0x2c], esi
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x58]
xor edx, edx
div rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18000ef20
Capabilities:
Read file on windows

Disassembly:
push rbx
push r12
sub rsp, 0x38
cmp byte [rcx], 0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
mov edi, 1
mov r12, rdx
mov rbx, rcx
je 0x18000ef70
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000ef6a
mov byte [rbx + 0x10], dil
mov esi, dword [rsp + 0x60]
jmp 0x18000efaa
mov qword [rsp + 0x58], rbp
mov ebp, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rbp + 1]
cmp eax, ecx
jbe 0x18000ef86
mov edi, ecx
sub edi, ebp
mov rdx, rbp
lea rcx, [rsp + 0x50]
mov r8d, edi
add rdx, qword [rbx + 0x20]
mov esi, edi
call fcn.1800164a0
lea r11d, [rbp + rdi]
mov rbp, qword [rsp + 0x58]
mov dword [rbx + 0x2c], r11d
mov rdi, qword [rsp + 0x30]
cmp esi, 1
mov rsi, qword [rsp + 0x68]
jne 0x18000efcc
movzx eax, byte [rsp + 0x50]
mov dword [r12], eax
xor eax, eax
add rsp, 0x38
pop r12
pop rbx
ret
cmp byte [rbx], 0
je 0x18000efc2
cmp byte [rbx + 0x10], 0
je 0x18000efc2
or eax, 0xffffffff
add rsp, 0x38
pop r12
pop rbx
ret
Function at 0x18000f0b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r15
sub rsp, 0x68
cmp byte [rcx], 0
mov rsi, rcx
je 0x18000f0e8
cmp byte [rcx + 1], 0
je 0x18000f0dd
mov rcx, qword [rcx + 8]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x18000f0ee
or eax, 0xffffffff
add rsp, 0x68
pop r15
pop rsi
ret
mov eax, dword [rcx + 0x28]
mov dword [rcx + 0x2c], eax
cmp byte [rsi], 0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
je 0x18000f140
cmp byte [rsi + 1], 0
je 0x18000f133
mov rcx, qword [rsi + 8]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r12d, eax
sub r12d, dword [rsi + 0x14]
mov dword [rsp + 0x80], r12d
jmp 0x18000f14c
xor r12d, r12d
mov dword [rsp + 0x80], r12d
jmp 0x18000f14c
mov r12d, dword [rsi + 0x2c]
mov dword [rsp + 0x80], r12d
mov ebp, 0xffff
mov r13d, 0x404
cmp r12d, ebp
mov rcx, r13
cmovb ebp, r12d
mov dword [rsp + 0x98], ebp
call fcn.180013650
mov rdi, rax
test rax, rax
jne 0x18000f17d
or eax, 0xffffffff
jmp 0x18000f2d2
mov qword [rsp + 0x60], rbx
mov ebx, 4
or r15d, 0xffffffff
cmp ebp, ebx
jbe 0x18000f2c2
mov qword [rsp + 0x38], r14
nop dword [rax + rax]
lea eax, [rbx + 0x400]
mov r14d, r12d
cmp eax, ebp
mov ebx, eax
cmova ebx, ebp
sub r14d, ebx
sub r12d, r14d
cmp r12d, r13d
cmova r12d, r13d
cmp byte [rsi], 0
je 0x18000f1e5
cmp byte [rsi + 1], 0
je 0x18000f2bd
mov eax, dword [rsi + 0x14]
mov rcx, qword [rsi + 8]
xor r9d, r9d
lea edx, [r14 + rax]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x18000f1e9
mov dword [rsi + 0x2c], r14d
cmp byte [rsi], 0
mov ebp, r12d
mov r13d, r12d
je 0x18000f22b
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x88]
mov r8d, ebp
mov rdx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000f21d
mov byte [rsi + 0x10], 1
mov eax, dword [rsp + 0x88]
xor edx, edx
div rbp
jmp 0x18000f25d
mov ecx, dword [rsi + 0x2c]
mov edx, dword [rsi + 0x28]
lea eax, [rcx + r12]
cmp eax, edx
jbe 0x18000f23f
mov r13d, edx
sub r13d, ecx
mov rdx, rcx
mov r8d, r13d
mov rcx, rdi
add rdx, qword [rsi + 0x20]
call fcn.1800164a0
add dword [rsi + 0x2c], r13d
xor edx, edx
mov eax, r13d
div rbp
cmp rax, 1
jne 0x18000f2bd
lea ecx, [r12 - 3]
movsxd rax, ecx
test ecx, ecx
js 0x18000f29b
nop
dec rax
dec ecx
cmp byte [rax + rdi], 0x50
jne 0x18000f290
cmp byte [rax + rdi + 1], 0x4b
jne 0x18000f290
cmp byte [rax + rdi + 2], 5
jne 0x18000f290
cmp byte [rax + rdi + 3], 6
je 0x18000f297
test rax, rax
jns 0x18000f270
jmp 0x18000f29b
lea r15d, [rcx + r14]
test r15d, r15d
jne 0x18000f2bd
mov ebp, dword [rsp + 0x98]
mov r12d, dword [rsp + 0x80]
mov r13d, 0x404
cmp ebx, ebp
jb 0x18000f1a0
mov r14, qword [rsp + 0x38]
mov rcx, rdi
call fcn.180013610
mov rbx, qword [rsp + 0x60]
mov eax, r15d
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov r13, qword [rsp + 0x40]
add rsp, 0x68
pop r15
pop rsi
ret
Function at 0x18000ff00
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
jne 0x18000ff1e
mov eax, 0xffffff9a
add rsp, 0x28
pop rdi
pop rsi
ret
cmp dword [rcx + 0x1c], 0
je 0x18000ff12
cmp qword [rcx + 0x80], 0
je 0x18000ff33
call fcn.1800104b0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.18000fc10
test eax, eax
je 0x18000ff5a
mov eax, 0xffffff99
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0xb0
mov qword [rsp + 0x48], rbx
call fcn.180013650
mov rbx, rax
test rax, rax
jne 0x18000ff80
lea eax, [rbx - 0x68]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0x4000
mov qword [rsp + 0x20], rbp
call fcn.180013650
mov ecx, dword [rsp + 0x40]
xor ebp, ebp
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov qword [rbx], rax
mov dword [rbx + 0x70], ebp
mov dword [rbx + 0x6c], ecx
test rax, rax
jne 0x18000ffc6
mov rcx, rbx
call fcn.180013610
mov rbx, qword [rsp + 0x48]
lea eax, [rbp - 0x68]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rbx + 0x64], ebp
mov eax, dword [rdi + 0x40]
mov ecx, ebp
cmp dword [rdi + 0x38], ecx
mov dword [rbx + 0x78], eax
mov dword [rbx + 0x74], ebp
mov eax, dword [rdi + 0x38]
sete cl
mov dword [rbx + 0x90], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x24], ebp
mov dword [rbx + 0x94], eax
test ecx, ecx
jne 0x18001001d
lea rcx, [rbx + 8]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
call fcn.18000e910
test eax, eax
jne 0x18001001d
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
movzx eax, byte [rdi + 0x34]
and al, 1
mov byte [rbx + 0x98], al
mov eax, dword [rdi + 0x34]
shr eax, 3
test al, 1
je 0x18001004e
movzx eax, byte [rdi + 0x3d]
mov byte [rbx + 0xac], al
jmp 0x180010058
movzx eax, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
movzx eax, byte [rbx + 0x98]
mov dword [rbx + 0x9c], 0x12345678
mov dword [rbx + 0xa0], 0x23456789
neg al
mov dword [rbx + 0xa4], 0x34567890
sbb ecx, ecx
and ecx, 0xc
mov dword [rbx + 0xa8], ecx
test rsi, rsi
je 0x1800100fa
lea r8, [0x18002ead0]
movzx eax, byte [rsi]
test al, al
je 0x1800100fa
mov edx, dword [rbx + 0x9c]
mov rcx, rdx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [r8 + rax*4]
xor ecx, edx
mov edx, dword [rbx + 0xa4]
movzx eax, cl
mov dword [rbx + 0x9c], ecx
movzx ecx, dl
add eax, dword [rbx + 0xa0]
shr edx, 8
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 0xa0], eax
movzx eax, byte [rbx + 0xa3]
xor rcx, rax
mov eax, dword [r8 + rcx*4]
xor eax, edx
add rsi, 1
mov dword [rbx + 0xa4], eax
jne 0x180010096
mov ecx, dword [rdi + 0x7c]
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x10], ebp
mov rbp, qword [rsp + 0x20]
lea ecx, [rcx + rax + 0x1e]
xor eax, eax
mov dword [rbx + 0x60], ecx
mov qword [rdi + 0x80], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x180010660
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r12
sub rsp, 0x20
cmp qword [rcx], 0
mov ebp, r8d
mov r12, rdx
mov rbx, rcx
jne 0x180010740
cmp dword [rcx + 8], 0xffffffff
jne 0x180010740
lea rdx, [rcx + 0x250]
mov ecx, 0x104
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbx + 0x250]
repne scasw ax, word [rdi]
not rcx
movzx eax, word [rbx + rcx*2 + 0x24c]
cmp ax, 0x5c
je 0x1800106e9
cmp ax, 0x2f
je 0x1800106e9
xor eax, eax
lea rdi, [rbx + 0x250]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x180029ae8]
mov dword [rdi - 2], eax
mov ecx, 0x30
call fcn.180014328
xor edi, edi
mov rcx, rax
mov byte [rax], 0
mov byte [rax + 1], 1
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r12
mov dword [rax + 0x28], ebp
mov dword [rax + 0x2c], edi
mov dword [rax + 0x14], edi
call fcn.18000f2f0
mov rsi, qword [rsp + 0x30]
test rax, rax
mov ecx, 0x200
cmove edi, ecx
mov qword [rbx], rax
mov eax, edi
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov eax, 0x1000000
add rsp, 0x20
pop r12
ret
Function at 0x180011740
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov r9d, dword [rcx]
mov r8d, dword [rcx + 4]
mov rbx, rcx
mov eax, r9d
mov rdi, rdx
mov esi, 8
shr eax, 4
lea rbp, [0x180000000]
xor eax, r8d
and eax, 0xf0f0f0f
xor r8d, eax
shl eax, 4
xor r9d, eax
mov eax, r9d
shr eax, 0x10
xor eax, r8d
movzx ecx, ax
xor r8d, ecx
shl ecx, 0x10
xor r9d, ecx
mov eax, r8d
shr eax, 2
xor eax, r9d
and eax, 0x33333333
xor r9d, eax
shl eax, 2
xor r8d, eax
mov r10d, r8d
shr r10d, 8
xor r10d, r9d
and r10d, 0xff00ff
xor r9d, r10d
shl r10d, 8
xor r10d, r8d
rol r10d, 1
mov r11d, r10d
xor r11d, r9d
and r11d, 0xaaaaaaaa
xor r10d, r11d
xor r11d, r9d
rol r11d, 1
nop word [rax + rax]
mov eax, r10d
add rdi, 0x10
ror eax, 4
xor eax, dword [rdi - 0x10]
mov edx, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [rbp + rcx*4 + 0x36730]
or r9d, dword [rbp + rax*4 + 0x36930]
mov rax, rdx
and edx, 0x3f
shr rax, 8
and eax, 0x3f
or r9d, dword [rbp + rax*4 + 0x36b30]
mov eax, dword [rdi - 0xc]
or r9d, dword [rbp + rdx*4 + 0x36d30]
xor eax, r10d
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0x36830]
or edx, dword [rbp + rax*4 + 0x36a30]
mov rax, r8
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0x36c30]
or edx, dword [rbp + r8*4 + 0x36e30]
or edx, r9d
xor r11d, edx
mov eax, r11d
ror eax, 4
xor eax, dword [rdi - 8]
mov edx, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [rbp + rcx*4 + 0x36730]
or r9d, dword [rbp + rax*4 + 0x36930]
mov rax, rdx
and edx, 0x3f
shr rax, 8
and eax, 0x3f
or r9d, dword [rbp + rax*4 + 0x36b30]
mov eax, dword [rdi - 4]
or r9d, dword [rbp + rdx*4 + 0x36d30]
xor eax, r11d
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0x36830]
or edx, dword [rbp + rax*4 + 0x36a30]
mov rax, r8
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0x36c30]
or edx, dword [rbp + r8*4 + 0x36e30]
or edx, r9d
xor r10d, edx
sub rsi, 1
jne 0x1800117f0
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ror r10d, 1
mov edx, r10d
xor edx, r11d
and edx, 0xaaaaaaaa
xor r10d, edx
xor edx, r11d
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, r10d
and eax, 0xff00ff
xor r10d, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, r10d
and eax, 0x33333333
xor r10d, eax
shl eax, 2
xor edx, eax
mov eax, r10d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r10d, ecx
mov ecx, r10d
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
xor ecx, edx
shl eax, 4
xor eax, r10d
mov dword [rbx], eax
mov dword [rbx + 4], ecx
mov rbx, qword [rsp + 8]
ret