joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001c4f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x240
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, r8
movsxd rsi, edx
mov r13, rcx
mov r14d, 0x10
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x31]
call fcn.180073cb0
mov byte [rsp + 0x130], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x131]
call fcn.180073cb0
nop
mov rcx, rsi
call fcn.180072c28
mov r12, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.180073cb0
xor r11d, r11d
mov r9d, r11d
mov dword [rsp + 0x20], r11d
cmp r9d, 0x100
jge 0x18001c5b6
movsxd r8, r9d
mov byte [rsp + r8 + 0x30], r9b
mov eax, r9d
cdq
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rdi]
mov byte [rsp + r8 + 0x130], cl
inc r9d
mov dword [rsp + 0x20], r9d
jmp 0x18001c585
mov edx, r11d
mov r8d, r11d
mov dword [rsp + 0x20], r11d
cmp r8d, 0x100
jge 0x18001c60f
movsxd r9, r8d
movzx r10d, byte [rsp + r9 + 0x30]
movzx eax, byte [rsp + r9 + 0x130]
add edx, eax
add edx, r10d
and edx, 0x800000ff
jge 0x18001c5f3
dec edx
or edx, 0xffffff00
inc edx
movsxd rcx, edx
movzx eax, byte [rsp + rcx + 0x30]
mov byte [rsp + r9 + 0x30], al
mov byte [rsp + rcx + 0x30], r10b
inc r8d
mov dword [rsp + 0x20], r8d
jmp 0x18001c5c1
mov r8d, r11d
mov dword [rsp + 0x20], r11d
mov r9d, r11d
mov dword [rsp + 0x24], r11d
nop
cmp r9d, esi
jge 0x18001c6b7
inc r8d
and r8d, 0x800000ff
jge 0x18001c642
dec r8d
or r8d, 0xffffff00
inc r8d
mov dword [rsp + 0x20], r8d
movsxd rdx, r8d
movzx r10d, byte [rsp + rdx + 0x30]
add r11d, r10d
and r11d, 0x800000ff
jge 0x18001c669
dec r11d
or r11d, 0xffffff00
inc r11d
movsxd rcx, r11d
movzx eax, byte [rsp + rcx + 0x30]
mov byte [rsp + rdx + 0x30], al
mov byte [rsp + rcx + 0x30], r10b
movzx ecx, byte [rsp + rdx + 0x30]
add ecx, r10d
and ecx, 0x800000ff
jge 0x18001c694
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rdx, r9d
movsxd rax, ecx
movzx ecx, byte [rsp + rax + 0x30]
movzx eax, byte [rdx + r13]
xor ecx, eax
mov byte [rdx + r12], cl
inc r9d
mov dword [rsp + 0x24], r9d
jmp 0x18001c620
mov rax, r12
jmp 0x18001c6be
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180073c80
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x18001c6f0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, r8
mov ebx, edx
mov rdi, rcx
mov qword [rbp - 0x49], 0xf
xor esi, esi
mov qword [rbp - 0x51], rsi
mov byte [rbp - 0x61], sil
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.180005530
nop
mov r8, qword [rbp - 0x51]
test r8, r8
jne 0x18001c76d
lea r8d, [rsi + 0x14]
lea rdx, str.dwIr23Cew_T_R471_
lea rcx, [rbp - 0x61]
call fcn.1800071c0
mov r8, qword [rbp - 0x51]
test ebx, ebx
jne 0x18001c785
cmp qword [rbp - 0x49], 0x10
jb 0x18001c781
mov rcx, qword [rbp - 0x61]
call fcn.18007309c
xor eax, eax
jmp 0x18001c7f7
mov byte [rbp + 0x2f], 0
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x39], 0x67452301
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov dword [rbp - 0x2d], 0x10325476
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 0x10
cmovae rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.18001fc30
cmp byte [rbp + 0x2f], 0
jne 0x18001c7d3
mov byte [rbp + 0x2f], 1
lea rcx, [rbp - 0x39]
call fcn.18001fd00
lea r8, [rbp + 0x1f]
mov edx, ebx
mov rcx, rdi
call fcn.18001c4f0
mov rbx, rax
cmp qword [rbp - 0x49], 0x10
jb 0x18001c7f4
mov rcx, qword [rbp - 0x61]
call fcn.18007309c
mov rax, rbx
mov byte [rbp - 0x61], 0
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], 0xf
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180073c80
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001c830
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov r13, rdx
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], rsi
mov byte [rcx], sil
mov dword [rsp + 0x20], 1
movsxd r12, r8d
test r8d, r8d
jle 0x18001c9a2
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx r14d, byte [rsi + r13]
inc rsi
movzx eax, r14b
mov rcx, rbp
shr rax, 2
movzx edx, byte [rax + r15]
cmp rsi, r12
je 0x18001c96b
movzx ebx, byte [rsi + r13]
inc rsi
cmp rsi, r12
je 0x18001c931
movzx edi, byte [rsi + r13]
inc rsi
call fcn.180012b60
movzx ebx, bl
movzx eax, r14b
and eax, 3
shl eax, 4
movsxd rcx, eax
mov eax, ebx
shr eax, 4
or rcx, rax
movzx edx, byte [rcx + r15]
mov rcx, rbp
call fcn.180012b60
and ebx, 0xf
shl ebx, 2
movsxd rcx, ebx
mov eax, edi
shr rax, 6
or rcx, rax
movzx edx, byte [rcx + r15]
mov rcx, rbp
call fcn.180012b60
mov r11d, edi
and r11d, 0x3f
movzx edx, byte [r11 + r15]
mov rcx, rbp
call fcn.180012b60
cmp rsi, r12
jl 0x18001c890
mov rax, rbp
jmp 0x18001c9a5
call fcn.180012b60
movzx ebx, bl
movzx eax, r14b
and eax, 3
shl eax, 4
movsxd rcx, eax
mov eax, ebx
shr eax, 4
or rcx, rax
movzx edx, byte [rcx + r15]
mov rcx, rbp
call fcn.180012b60
and ebx, 0xf
shl ebx, 2
movsxd rax, ebx
movzx edx, byte [rax + r15]
jmp 0x18001c98b
call fcn.180012b60
movzx eax, r14b
and eax, 3
shl eax, 4
cdqe
movzx edx, byte [rax + r15]
mov rcx, rbp
call fcn.180012b60
mov dl, 0x3d
mov rcx, rbp
call fcn.180012b60
mov dl, 0x3d
mov rcx, rbp
call fcn.180012b60
mov rax, rbp
jmp 0x18001c9a5
mov rax, rcx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x18001cfc0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, VarUI4FromDisp
call fcn.180073cb0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18001d0a2
mov eax, dword [rsp + 0x24]
cmp eax, 5
jne 0x18001d034
cmp dword [rsp + 0x28], 1
jne 0x18001d0a2
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x158
ret
cmp eax, 6
jne 0x18001d0a2
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x18001d05e
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x158
ret
cmp eax, 1
jne 0x18001d080
mov eax, 2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x158
ret
cmp eax, 2
jne 0x18001d0a2
mov eax, 3
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x158
ret
or eax, 0xffffffff
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x158
ret
Function at 0x180025480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rdi, rcx
mov qword [rsp + 0x30], rbp
nop word [rax + rax]
mov edx, dword [rdi + 0x94]
mov esi, dword [rdi + 0x58]
mov eax, dword [rdi + 0x44]
sub esi, dword [rdi + 0x9c]
lea ecx, [rbx + rax - 0x106]
sub esi, edx
cmp edx, ecx
jb 0x18002552f
mov rcx, qword [rdi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call fcn.180073f20
mov r8d, dword [rdi + 0x74]
mov rax, qword [rdi + 0x68]
sub dword [rdi + 0x98], ebx
sub dword [rdi + 0x94], ebx
sub dword [rdi + 0x84], ebx
lea rdx, [rax + r8*2]
nop dword [rax]
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, ebx
jb 0x180025500
sub eax, ebx
jmp 0x180025502
xor eax, eax
dec r8d
mov word [rdx], ax
jne 0x1800254f0
mov rax, qword [rdi + 0x60]
mov edx, ebx
lea rcx, [rax + rbx*2]
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, ebx
jb 0x180025524
sub eax, ebx
jmp 0x180025526
xor eax, eax
dec edx
mov word [rcx], ax
jne 0x180025514
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x1800255a9
mov edx, dword [rdi + 0x9c]
mov eax, dword [rdi + 0x94]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x50]
call fcn.180025140
add dword [rdi + 0x9c], eax
mov r9d, dword [rdi + 0x9c]
cmp r9d, 3
jb 0x180025593
mov eax, dword [rdi + 0x94]
mov rdx, qword [rdi + 0x50]
mov ecx, dword [rdi + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rdi + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rdi + 0x7c]
mov dword [rdi + 0x70], r8d
cmp r9d, 0x106
jae 0x1800255a9
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x1800254a0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180048020
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180048094
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800480b6
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800480b6
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x1800480b6
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x1800480fe
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180048020
cmp byte [0x1800ecf30], 0
jne 0x180048149
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180048139
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1800ecf30], 1
mov qword [0x1800ecf28], rax
jmp 0x180048150
mov rax, qword [0x1800ecf28]
mov byte [0x1800ecf30], 1
jmp 0x180048150
mov rax, qword [0x1800ecf28]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18004816f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x1800480d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180048094
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800480b6
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800480b6
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x1800480b6
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x1800480fe
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180048020
cmp byte [0x1800ecf30], 0
jne 0x180048149
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180048139
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1800ecf30], 1
mov qword [0x1800ecf28], rax
jmp 0x180048150
mov rax, qword [0x1800ecf28]
mov byte [0x1800ecf30], 1
jmp 0x180048150
mov rax, qword [0x1800ecf28]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18004816f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]

Function at 0x180048180
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1800481c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x1800481f3
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x180048202
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x180048a30
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
mov r9d, dword [rcx + 8]
or r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.18001faf0
mov ebx, eax
test eax, eax
je 0x180048aa1
jmp 0x180048b5d
mov dword [rsp + 0x40], pe_nt_image_headers64
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180048b37
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180048a30
mov ebx, eax
test eax, eax
jne 0x180048b35
mov dword [rsp + 0x40], pe_nt_image_headers64
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180048ae0
jmp 0x180048b37
jmp 0x180048b5d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180048b4c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdx, rsi
mov rcx, rdi
call fcn.1800480d0
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180048b76
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180073c80
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18004b500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x70], r12
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18004b578
call fcn.180047ff0
mov ebx, eax
jmp 0x18004b698
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18004b599
call fcn.180047ff0
jmp 0x18004b68c
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18004b5bc
call fcn.180047ff0
jmp 0x18004b68c
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x18004b5de
mov ebx, 0x8007000e
jmp 0x18004b68e
mov ecx, eax
test eax, eax
je 0x18004b616
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18004b60c
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18004b616
lea rcx, [rsp + 0x70]
call fcn.180048a00
jmp 0x18004b620
mov ecx, 0x80070216
call fcn.1800250a0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18004b633
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x18004b644
mov ebx, 0x8007000e
jmp 0x18004b68e
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18004b669
call fcn.180047ff0
jmp 0x18004b68c
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r12w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18004aee0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18004b6af
lea rcx, [rsp + 0x70]
call fcn.1800489f0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180073c80
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x180071870
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1800ed058]
test rcx, rcx
jne 0x1800717c7
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1800717c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1800717f2
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1800717bc
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x1800ed058], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x180071865
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180071815
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x1800ed058]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x180071842
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x180071865
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1800ed058]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x180071849
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x18007174c
Function at 0x18007cebb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800ea550]
jne 0x180073c9a
rol rcx, 0x10
test cx, 0xffff
jne 0x180073c96
repz ret
ror rcx, 0x10
jmp 0x18007ce14
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800ed700]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800ed7f8]
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 0x18007ce99
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, [0x1800ed700]
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 0x18007cebb
mov rax, qword [rsp + 0x88]
mov qword [0x1800ed7f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800ed798], rax
mov rax, qword [0x1800ed7f8]
mov qword [0x1800ed670], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800ed780], rax
mov dword [0x1800ed660], 0xc0000409
mov dword [0x1800ed664], 1
mov rax, qword [0x1800ea550]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800ea558]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800ed6f8], eax
mov ecx, 1
call fcn.18008de54
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800b3d50]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800ed6f8], 0
jne 0x18007cf42
mov ecx, 1
call fcn.18008de54
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 0x180083838
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 [0x1800ea550]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18007ba20
xor ebx, ebx
cmp qword [0x1800ee6a8], rbx
mov rdi, rax
jne 0x18008394b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180083a22
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180083a22
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800ee6a8], 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 [0x1800ee6b0], 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 [0x1800ee6b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800ee6c8], rax
test rax, rax
je 0x180083942
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 [0x1800ee6c0], rax
jmp 0x180083952
mov rax, qword [0x1800ee6c0]
jmp 0x180083959
mov rax, qword [0x1800ee6c0]
mov r11, qword [0x1800ee6c8]
cmp rax, rdi
je 0x1800839c0
cmp r11, rdi
je 0x1800839c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800ee6c8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1800839c0
test rax, rax
je 0x1800839c0
call rsi
test rax, rax
je 0x1800839ba
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 0x1800839ba
test byte [rsp + 0x40], 1
jne 0x1800839c0
bts ebp, 0x15
jmp 0x180083a00
mov rcx, qword [0x1800ee6b0]
cmp rcx, rdi
je 0x180083a00
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180083a00
call rax
mov rbx, rax
test rax, rax
je 0x180083a00
mov rcx, qword [0x1800ee6b8]
cmp rcx, rdi
je 0x180083a00
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180083a00
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800ee6a8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180083a22
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180083a24
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret