joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ab08
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.14000edd8
mov rbx, rax
lea rcx, [rax*2 + 4]
call fcn.140010850
mov rdi, rax
test rax, rax
je 0x14000ab74
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.140007c04
mov rcx, rdi
call fcn.140010a20
mov r8, rax
mov r9, rbp
mov edx, 1
mov rcx, rdi
call fcn.1400107cc
mov rcx, rdi
call fcn.14000edd0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ab8c
Capabilities:
Accept command line arguments
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x890
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rcx
mov cl, 1
call fcn.1400078e0
xor r8d, r8d
lea rcx, [0x140030e50]
mov rdx, rbx
call fcn.14000706c
lea rdx, str.uninstall.lng
lea rcx, [0x140030e60]
call fcn.140006574
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.140007868
mov rcx, qword [0x140030df0]
lea rdx, str.RARICON
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
xor edi, edi
mov qword [0x1400350c0], rax
test rax, rax
jne 0x14000ac37
mov rcx, qword [0x140030df8]
cmp rcx, qword [0x140030df0]
je 0x14000ac37
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x1400350c0], rax
mov ecx, 0xfffffff4
call fcn.140009728
mov ecx, eax
xor r9d, r9d
lea rax, str.MS_Shell_Dlg
xor r8d, r8d
mov qword [rsp + 0x68], rax
xor edx, edx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontW]
mov r8d, 0x400
mov byte [rsp + 0x70], dil
lea rdx, [rsp + 0x80]
mov qword [0x1400350c8], rax
lea rcx, str.sfxcmd
mov byte [rsp + 0x71], dil
mov word [rsp + 0x80], di
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x71]
mov cl, 1
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
call fcn.140009db0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r9, [rsp + 0x71]
xor ecx, ecx
mov rdx, rax
lea r8, [rsp + 0x70]
call fcn.140009db0
cmp byte [rsp + 0x70], dil
je 0x14000adb7
mov rcx, qword [0x140030df0]
lea r9, [0x14000a040]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.SETUPDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x14000adb7
call fcn.1400098fc
mov al, byte [0x140036121]
test al, al
jne 0x14000ad5b
mov rcx, qword [0x140030df0]
lea r9, [0x140009b08]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.DONEDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov al, byte [0x140036121]
cmp word [0x1400350d0], di
je 0x14000adb7
cmp byte [0x140036120], dil
jne 0x14000adb7
test al, al
jne 0x14000adb7
cmp byte [0x140036122], dil
jne 0x14000adb7
lea rcx, [0x1400350d0]
call fcn.140004be4
test al, al
je 0x14000adb7
lea rax, [0x1400205f0]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x1400350d0]
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [rsp + 0x71], dil
je 0x14000adc3
call fcn.14000a4a4
test rbx, rbx
je 0x14000add1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x1400350c8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1400350c0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x140036124]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14000b230
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x890
pop rdi
ret
Function at 0x140011b70
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140011944
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011944
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011944
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011944
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011944
cmp dword [rcx + 0x84], 0xe
jbe 0x140011944
cmp dword [rcx + 0xf8], esi
je 0x140011944
mov ecx, r14d
call fcn.140011a8c
mov ecx, 2
call fcn.140017288
nop
cmp byte [0x1400368c0], 0
jne 0x140011a0e
mov r15d, 1
mov eax, r15d
xchg dword [0x1400368b0], eax
test ebx, ebx
jne 0x1400119b7
mov rdi, qword [0x14002e2b0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400368b8]
cmp rcx, rax
je 0x1400119ae
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000795c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400369f8]
jmp 0x1400119c3
cmp ebx, r15d
jne 0x1400119c9
lea rcx, [0x140036a10]
call fcn.140012500
nop
test ebx, ebx
jne 0x1400119e0
lea rdx, [0x1400205d8]
lea rcx, [0x1400205b8]
call fcn.1400128b8
lea rdx, [0x1400205e8]
lea rcx, [0x1400205e0]
call fcn.1400128b8
movzx eax, byte [0x1400368c0]
test esi, esi
cmove eax, r15d
mov byte [0x1400368c0], al
jmp 0x140011a0e
mov ecx, 2
call fcn.1400172dc
test esi, esi
jne 0x140011a25
mov ecx, r14d
call fcn.140011a40
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400118d4
Function at 0x140016c2c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140016c09
call fcn.1400138e4
mov dword [rax], 0x16
call fcn.140013750
or eax, 0xffffffff
jmp 0x140016c26
sub dword [rcx + 0x10], 1
jns 0x140016c18
add rsp, 0x28
jmp 0x14001c884
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140016be8
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001c724
call fcn.1400138e4
mov dword [rax], 0x16
call fcn.140013750
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001c70c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001c70c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001c756
lock or dword [rax + 0x14], 0x10
jmp 0x14001c70c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001c773
mov rcx, qword [rbp + 0x10]
call fcn.14001ba44
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140014c88
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001cdbc
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001c7ca
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14001c70c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001c836
mov rcx, qword [rbp + 0x10]
call fcn.140014c88
cmp eax, 0xffffffff
je 0x14001c81d
mov rcx, qword [rbp + 0x10]
call fcn.140014c88
cmp eax, 0xfffffffe
je 0x14001c81d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140014c88
movsxd rdi, eax
lea rsi, [0x140036a90]
mov rcx, rbx
sar rdi, 6
call fcn.140014c88
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001c824
lea rax, [0x14002e580]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001c836
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001c86c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001c868
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001c868
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14001c70f
jmp 0x14001c6dc
Function at 0x1800011b0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x20
mov r8, qword [rcx]
mov rbp, rcx
mov ecx, dword [rcx + 0x68]
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec rcx
mov r11d, dword [rax + r8 + 0x20]
lea r9, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [r9 + 0x10]
not rcx
or r11, r15
and rcx, r11
test eax, eax
jne 0x180001210
mov edx, dword [r9 + 0x24]
test dl, 0x40
je 0x180001208
mov eax, dword [r8 + 0x20]
jmp 0x180001210
test dl, dl
jns 0x180001210
mov eax, dword [r8 + 0x24]
mov edx, dword [r9 + 0x24]
mov ebx, 1
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov r10d, eax
mov r14d, ebx
lea rdi, [0x1800566d0]
mov qword [rsp + 0x68], r13
cmp bx, word [r8 + 6]
jae 0x180001387
lea rbx, [r9 + 0x4c]
nop word [rax + rax]
mov esi, dword [rbp + 0x68]
mov r12d, dword [rbx - 0x1c]
mov eax, dword [rbx - 0x14]
or r12, r15
lea rdi, [rsi - 1]
not rdi
and rdi, r12
test eax, eax
jne 0x180001283
mov r9d, dword [rbx]
test r9b, 0x40
je 0x18000127a
mov eax, dword [r8 + 0x20]
jmp 0x180001283
test r9b, r9b
jns 0x180001283
mov eax, dword [r8 + 0x24]
mov r13d, eax
cmp rcx, rdi
je 0x180001341
lea rax, [r10 + r11]
cmp rax, rdi
ja 0x180001341
test r10, r10
je 0x180001334
bt edx, 0x19
jae 0x1800012e7
cmp r11, rcx
jne 0x180001334
cmp dword [r8 + 0x38], esi
je 0x1800012c7
xor edx, edx
mov rax, r10
div rsi
test rdx, rdx
jne 0x180001334
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
mov edx, dword [rbx]
mov r11, r12
mov rcx, rdi
mov r10, r13
jmp 0x180001362
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
lea rcx, [rax + rcx*2]
lea rax, [0x1800566d0]
mov r8d, dword [rax + rcx*4]
bt edx, 0x1a
jae 0x18000131f
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800013ac
mov edx, dword [rbx]
mov r11, r12
mov rcx, rdi
mov r10, r13
jmp 0x180001362
mov eax, dword [rbx]
bt eax, 0x19
jae 0x180001353
bt edx, 0x19
jae 0x180001353
or edx, eax
jmp 0x180001359
or edx, eax
btr edx, 0x19
mov r10, r13
sub r10, r11
add r10, r12
mov r8, qword [rbp]
inc r14d
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp r14d, eax
jl 0x180001250
mov ebx, 1
lea rdi, [0x1800566d0]
test r10, r10
je 0x1800013f6
bt edx, 0x19
jae 0x1800013b0
cmp r11, rcx
jne 0x1800013f6
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
jmp 0x1800013f6
xor eax, eax
jmp 0x1800013f8
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
lea rcx, [rax + rcx*2]
mov r8d, dword [rdi + rcx*4]
bt edx, 0x1a
jae 0x1800013e1
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800013ac
mov eax, ebx
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x180003e70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2080
call fcn.180009160
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180003900
lea rdi, [0x18000ded0]
lea rbx, [rsp + 0x2020]
lea rax, [0x18000ded4]
mov esi, 0x40
sub rbx, rdi
sub rsi, rax
xor ebp, ebp
lea rcx, [rsp + 0x20]
call fcn.180001c30
lea r11, [rdi + 4]
mov ecx, 4
nop word [rax + rax]
mov eax, dword [rbx + r11 - 4]
add r11, 0x10
xor eax, dword [r11 + rbp - 0x14]
mov dword [r11 - 0x14], eax
mov eax, dword [rbx + r11 - 0x10]
xor eax, dword [r11 + rbp - 0x10]
mov dword [r11 - 0x10], eax
mov eax, dword [rbx + r11 - 0xc]
xor eax, dword [r11 + rbp - 0xc]
mov dword [r11 - 0xc], eax
mov eax, dword [rbx + r11 - 8]
xor eax, dword [r11 + rbp - 8]
dec rcx
mov dword [r11 - 8], eax
jne 0x180003ef0
add rdi, 0x40
sub rbx, 0x40
lea rax, [rsi + rdi + 4]
cmp rax, 0x48800
jbe 0x180003ed2
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1800042c0
lea r11, [rsp + 0x2080]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1800048a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1800042da
rol rcx, 0x10
test cx, 0xffff
jne 0x1800042d6
repz ret
ror rcx, 0x10
jmp 0x180004800
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800567c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800568b8]
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 0x180004885
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, [0x1800567c0]
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 0x1800048a7
mov rax, qword [rsp + 0x88]
mov qword [0x1800568b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180056858], rax
mov rax, qword [0x1800568b8]
mov qword [0x180056730], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180056840], rax
mov dword [0x180056720], 0xc0000409
mov dword [0x180056724], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000d008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800567b8], eax
mov ecx, 1
call fcn.180007110
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000a268]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800567b8], 0
jne 0x18000492e
mov ecx, 1
call fcn.180007110
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 0x180008b84
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 [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180005808
xor ebx, ebx
cmp qword [0x1800576e8], rbx
mov rdi, rax
jne 0x180008c97
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180008d6e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180008d6e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800576e8], 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 [0x1800576f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1800576f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180057708], rax
test rax, rax
je 0x180008c8e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180057700], rax
jmp 0x180008c9e
mov rax, qword [0x180057700]
jmp 0x180008ca5
mov rax, qword [0x180057700]
mov r11, qword [0x180057708]
cmp rax, rdi
je 0x180008d0c
cmp r11, rdi
je 0x180008d0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180057708]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180008d0c
test rax, rax
je 0x180008d0c
call rsi
test rax, rax
je 0x180008d06
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180008d06
test byte [rsp + 0x40], 1
jne 0x180008d0c
bts ebp, 0x15
jmp 0x180008d4c
mov rcx, qword [0x1800576f0]
cmp rcx, rdi
je 0x180008d4c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180008d4c
call rax
mov rbx, rax
test rax, rax
je 0x180008d4c
mov rcx, qword [0x1800576f8]
cmp rcx, rdi
je 0x180008d4c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180008d4c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800576e8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180008d6e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180008d70
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800042c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800098d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x180009a46
mov rax, qword [0x18012ddb0]
test rax, rax
je 0x180009907
call rax
mov ecx, edi
shl rcx, 4
call fcn.180005230
mov rcx, qword [0x18012ddb8]
mov rdi, rax
test rcx, rcx
je 0x180009923
call rcx
test rdi, rdi
je 0x180009a46
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.1800056c0
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x180128e60]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.1800d0490
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x180009a31
lea r11, [0x1801133d0]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x1800099b1
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x180009990
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x180009a09
mov eax, dword [r8]
test eax, eax
je 0x1800099d1
mov rdx, qword [r8 + 8]
jmp 0x1800099d4
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x180009a09
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x1800099ff
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x180009a25
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x180009a25
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x180009a1d
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x180009980
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x180009a60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r11, qword [rcx + 0x10]
lea rsi, [0x1801133d0]
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r11, r11
je 0x180009acd
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x180009ab2
movzx eax, al
lea r10, [r10 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x180009a92
mov eax, r9d
xor edx, edx
div dword [rbx]
mov eax, edx
shl rax, 4
add rax, r11
mov r9d, edx
mov r11, qword [rax + 8]
mov ebx, dword [rax]
jmp 0x180009ad4
mov r11, qword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [r8], r9d
test ebx, ebx
je 0x180009b40
nop dword [rax + rax]
mov r10, qword [r11 + 0x18]
dec ebx
mov r8, rdi
movzx r9d, byte [r10]
test r9b, r9b
je 0x180009b25
movzx eax, r9b
sub r10, rdi
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x180009b25
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x180009b00
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx eax, byte [rax + rsi]
cmp eax, ecx
je 0x180009b52
mov r11, qword [r11]
test ebx, ebx
jne 0x180009ae0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x180009b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rsi, rdx
lea r8, [rsp + 0x58]
mov rdi, rcx
call fcn.180009a60
mov rcx, rax
test rax, rax
je 0x180009c68
mov qword [rsp + 0x40], r14
mov r14, qword [rax + 0x10]
test rbp, rbp
jne 0x180009c4b
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x180009bbe
mov qword [rdx], rax
jmp 0x180009bc2
mov qword [rdi + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x180009bd2
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x180009bf5
mov edx, dword [rsp + 0x58]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x180009bf3
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.1800056c0
add dword [rdi + 4], 0xffffffff
jne 0x180009c53
mov rsi, qword [rdi + 8]
xor ebp, ebp
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 8], rbp
call fcn.1800056c0
mov qword [rdi + 0x10], rbp
mov dword [rdi], ebp
test rsi, rsi
je 0x180009c33
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.1800056c0
mov rsi, rbx
test rbx, rbx
jne 0x180009c20
mov rax, r14
mov dword [rdi + 4], ebp
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, r14
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
test rbp, rbp
je 0x180009d85
mov ecx, 0x20
call fcn.180005230
mov rbx, rax
test rax, rax
jne 0x180009c93
mov rax, rbp
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
xor ebp, ebp
mov qword [rax + 0x18], rsi
inc dword [rdi + 4]
mov edx, dword [rdi + 4]
cmp edx, 0xa
jb 0x180009cf4
mov eax, dword [rdi]
add eax, eax
cmp edx, eax
jbe 0x180009cf4
add edx, edx
mov rcx, rdi
call fcn.1800098d0
test eax, eax
je 0x180009cf4
movzx ecx, byte [rsi]
mov eax, ebp
test cl, cl
je 0x180009cee
lea r8, [0x1801133d0]
nop
movzx ecx, cl
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r8]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rsi]
xor eax, edx
test cl, cl
jne 0x180009cd0
xor edx, edx
div dword [rdi]
jmp 0x180009cf8
mov edx, dword [rsp + 0x58]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x180009d69
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x180009d69
mov eax, dword [rcx]
test eax, eax
je 0x180009d18
mov rdx, qword [rcx + 8]
jmp 0x180009d1b
mov rdx, rbp
inc eax
mov qword [rcx + 8], rbx
mov dword [rcx], eax
test rdx, rdx
je 0x180009d69
mov qword [rbx], rdx
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x180009d52
mov qword [rax], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rdi + 8], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x180009d7d
mov qword [rax + 8], rbx
mov qword [rbx + 8], rbp
mov qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret