joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445440
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4455a7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x445452
cmp edx, ecx
jne 0x445595
nop word [rax + rax]
test rsi, rsi
jne 0x445595
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x4454b4
nop
call fcn.00466b00
xorps xmm15, xmm15
mov r14, qword [0x0065dcc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00445360
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x445590
mov rdx, qword [0x0060a7b8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x445585
mov rcx, qword [0x0060a7b0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x0060b6f0]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x0060b6f0], rax
nop
mov edx, 1
lea rsi, [0x0060b6f8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x445573
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x005280f5]
mov ebx, 0x28
nop
call fcn.004368a0
mov rax, rsi
mov rcx, rdx
call fcn.00465260
call fcn.00434e20
lea rax, [0x0052703d]
mov ebx, 0x23
call fcn.004368a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00445440
Function at 0x451fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x452117
movzx edx, byte [rax]
test edx, edx
jne 0x451fd4
nop dword [rax]
test r8b, r8b
jne 0x451fd4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x451fe7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x4520d7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x4520c5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x4520b7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45203d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x452080
mov eax, 1
cmp rax, rbx
ja 0x45206b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00465320
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x4520af
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x452073
mov rcx, r11
mov eax, r12d
jmp 0x452042
mov rcx, rbx
call fcn.00465260
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00465260
mov eax, r8d
mov rcx, rbx
call fcn.00465320
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45210d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x4520d0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x451fed
mov eax, edx
mov rcx, rbx
call fcn.00465260
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00465260
nop
int3
Function at 0x459960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x459a0f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00459a60]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00462ea0
xorps xmm15, xmm15
mov r14, qword [0x0065dcc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00462fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00459960
Function at 0x464dc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4039e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.004096a0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4039c0
cmp byte [0x0065da6d], 0
je 0x464dd5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x462020
jmp 0x4039c0

Function at 0x464de0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0065de40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0065da6d], 0
je 0x464e15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0065e100]
aesenc xmm0, xmmword [0x0065e110]
aesenc xmm0, xmmword [0x0065e120]
movq rax, xmm0
ret
jmp 0x4098c0

Function at 0x464e20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0065de40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0065da6d], 0
je 0x464e56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0065e100]
aesenc xmm0, xmmword [0x0065e110]
aesenc xmm0, xmmword [0x0065e120]
movq rax, xmm0
ret
jmp 0x409920

Function at 0x466b60
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x466b94
mov rcx, 0x28
jmp 0x466b9f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0065dcc0], rcx
pop rbp
ret
Function at 0x46f3c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46f48a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004038a0
xorps xmm15, xmm15
mov r14, qword [0x0065dcc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x46f46f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004f8240]
xor ebx, ebx
mov rcx, rdx
call fcn.0044ade0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.004708e0
inc rbx
cmp rcx, rbx
jae 0x46f45e
mov edi, 1
lea rsi, [0x004f8240]
call fcn.0044aec0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0054d238]
lea rsi, [0x0054c800]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0046f3c0
Function at 0x4b0020
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4b0037
inc rax
cmp rax, 4
jge 0x4b004f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4b0034
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4b0060
inc rax
cmp rax, 4
jge 0x4b006e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4b0097
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4b007b
jmp 0x4b005d

Function at 0x4bb720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4bb86e
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x005fa7b0]
call fcn.004b02a0
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x004bb880]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.004038a0
xorps xmm15, xmm15
mov r14, qword [0x0065dcc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4bb832
mov rdx, qword [rsp + 0x28]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x4bb868
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x4bb85d
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.00465320
call fcn.004652a0
nop
call fcn.00462fe0
jmp fcn.004bb720
Function at 0x4d6980
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4d6bc9
push rbp
mov rbp, rsp
sub rsp, 0xa8
nop word [rax + rax]
test rax, rax
je 0x4d6bb4
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x4d69c2
xor ebx, ebx
xor ecx, ecx
nop
jmp 0x4d69dc
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rax, rdx
call fcn.004c8a00
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4d6af1
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop dword [rax + rax]
call fcn.0046db00
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0054b7c0]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044ec60
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.004038a0
xorps xmm15, xmm15
mov r14, qword [0x0065dcc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4d6abb
xor eax, eax
lea rbx, [0x0051da1a]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x0051da3a]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044ed20
jmp 0x4d6ae8
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0054b6f8]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044ec60
add rsp, 0xa8
pop rbp
ret
mov rax, qword [rax + 0x18]
call fcn.0046db00
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.004038a0
xorps xmm15, xmm15
mov r14, qword [0x0065dcc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x4d6b7e
xor eax, eax
lea rbx, [0x0051da1a]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x0051da3a]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call fcn.0044ed20
jmp 0x4d6bab
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0054b6f8]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call fcn.0044ec60
add rsp, 0xa8
pop rbp
ret
lea rax, [0x0051dd37]
mov ebx, 5
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 8], rax
call fcn.00462fe0
mov rax, qword [rsp + 8]
jmp fcn.004d6980
Function at 0x140001010
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FlsAlloc]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test rax, rax
jne 0x14000106f
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400010a0
add rsp, 0x58
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, 0x1388
call fcn.140001000
int3

Function at 0x140001968
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019b4
xor al, al
add rsp, 0x28
ret
Function at 0x140035f2d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop dword [rcx]
mov qword [rbp + 0x28], r9
nop
jmp 0x1400a11d8
mov qword [rbp - 0x19c], rbx
xchg cl, cl
cmp qword [rbp + 0x28], 0
jmp 0x140042257
nop
mov ch, ch
jmp 0x1400dd040
mov al, al
xchg cl, cl
jmp 0x14013231e
xchg ah, ah
mov rcx, qword [rax + 0x10]
mov bh, bh
xchg al, al
mov qword [rbp + 0x18], rdx
jmp 0x1400a0273
nop
mov qword [rbp - 0x1cc], rdx
mov qword [rbp - 0x1c4], rdi
jmp 0x140044fc9
mov ah, ah
nop
mov rax, qword [rax + 0x18]
jmp 0x140020a1d
xchg ch, ch
mov qword [rbp - 0x194], rax
mov rbx, qword [rbp + 0x10]
jmp 0x1400b60de
xchg ah, ah
xchg dh, dh
xor rax, rax
jmp 0x1400846e0
enter 0x80, 0
sub rsp, 0x1e0
jmp 0x1400d7bc0
je 0x14007b62c
sub rsp, 0x20
mov cl, cl
jmp 0x14011c30a
mov dl, dl
nop
mov qword [rbp - 0x1bc], rsi
jmp 0x140035c3e
mov rax, qword [rbp + 0x30]
xchg cl, cl
xchg ch, ch
jmp 0x1400dd040
mov bh, bh
nop dword [rsi]
mov rax, qword gs:[0x30]
jmp 0x1400f8ed4
nop dword [rsi]
nop
mov qword [rbp - 0x19c], rax
jmp 0x1400b91b7
mov dl, dl
xchg dl, dl
mov qword [rbp + 0x20], r8
jmp 0x140008362
mov qword [rbp - 0x1dc], rbx
nop dword [rdi]
mov qword [rbp - 0x1d4], rcx
jmp 0x140026d46
nop dword [rcx]
cmp rbx, 0
je 0x14000d503
jmp 0x1400bc296
nop dword [rax]
mov qword [rbp - 0x18c], rax
nop dword [rbp]
jmp 0x14002d043
cmp word [rbx], 0x5a4d
jne 0x14000d503
nop
jmp 0x14000d4fa
mov qword [rbp + 0x10], rcx
xchg bl, bl
mov cl, cl
jmp 0x140024259
mov qword [rbp - 0x194], rax
mov dh, dh
nop
jmp 0x14011f2d6
mov bh, bh
xchg ch, ch
mov rax, qword [rax + 0x60]
jmp 0x140026fc2
mov rax, rbx
nop dword [rbp]
jmp 0x14007e8e6
mov rcx, qword [rbp + 0x28]
call fcn.14011c5b1
add rsp, 0x20
jmp 0x14000e698
cmp qword [rbp - 0x19c], 0
nop dword [rcx]
je 0x14010cb91
jmp 0x140013fdb

Function at 0x140145ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140145b58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140145b58
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140145b45
nop
cmp rbx, rcx
jae 0x140145b58
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140145b30
cmp rbx, rcx
jae 0x140145b58
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x140145b5a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140145b90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x14015dc6f
cmp dword [rcx + 0xe8], 0
jne 0x14015dc6f
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.14017122c
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14015dcb3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14015dcb3
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.14015dfe8
jmp 0x14015dcb5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140146a00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.14016e228
mov rsi, rax
test rax, rax
jne 0x140146a35
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140146b1f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140146b1f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140146b1f
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140146aba
cmp rbx, rcx
jae 0x140146b1f
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140146aa5
cmp rbx, rcx
jae 0x140146b1f
cmp word [rbx], 0
je 0x140146b1f
mov rax, qword [r14]
mov esi, 1
movzx edi, word [rbx]
mov ecx, esi
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or ecx, eax
jge 0x140146ae8
mov edx, edi
mov rcx, r14
call fcn.140146e40
movzx r9d, word [rbx]
lea r8, [rbx + 2]
mov rcx, qword [r14]
mov rdx, rdi
call fcn.1402ead8c
xor ecx, ecx
test eax, eax
je 0x140146b0b
cmp eax, 0xc
je 0x140146b46
cmp eax, 0x50
jne 0x140146b40
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x140146b4c
mov dword [rax - 0x10], edi
mov rax, qword [r14]
mov word [rax + rdi*2], cx
jmp 0x140146b23
xor ecx, ecx
mov esi, ecx
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.140160fac
int3
call fcn.140160fd0
int3
mov ecx, 0x80070057
call fcn.1401453b0
int3
Function at 0x140146cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
shr eax, 4
mov edi, r8d
inc ax
mov rsi, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140146dfd
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140146dfd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140146dfd
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140146d95
nop word [rax + rax]
cmp rbx, rcx
jae 0x140146dfd
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140146d80
cmp rbx, rcx
jae 0x140146dfd
cmp word [rbx], 0
je 0x140146dfd
mov rax, qword [rsi]
mov ecx, 1
movzx edi, word [rbx]
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or ecx, eax
jge 0x140146dc1
mov edx, edi
mov rcx, rsi
call fcn.140146e40
movzx r9d, word [rbx]
lea r8, [rbx + 2]
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.1402ead8c
xor edx, edx
test eax, eax
je 0x140146de4
cmp eax, 0xc
je 0x140146e20
cmp eax, 0x50
jne 0x140146e1a
mov rcx, qword [rsi]
cmp edi, dword [rcx - 0xc]
jg 0x140146e26
mov dword [rcx - 0x10], edi
mov eax, 1
mov rcx, qword [rsi]
mov word [rcx + rdi*2], dx
jmp 0x140146dff
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.140160fac
int3
call fcn.140160fd0
int3
mov ecx, 0x80070057
call fcn.1401453b0
int3

Function at 0x140147d14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140147d5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140147d5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140147d5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140147d5e
cmp dword [rcx + 0x84], 0xe
jbe 0x140147d5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140147d60
xor al, al
add rsp, 0x28
ret
Function at 0x14015c134
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rdi, r9
mov rbx, r8
and qword [r9], 0
mov r14, qword [rbp + 0x40]
and dword [r14], 0
cmp qword [rcx + 0xb0], 0
je 0x14015c20c
xor r8d, r8d
call fcn.14015c5ac
mov rsi, rax
test rax, rax
je 0x14015c2bb
mov qword [rbp - 0x20], rsi
and dword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and dword [rbp + 0x20], 0
and dword [rbp + 0x40], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x40]
mov dword [r14], ecx
test eax, eax
jne 0x14015c1f0
call fcn.140145400
mov qword [rdi], rax
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14015c1f0
lea ebx, [rax + 1]
jmp 0x14015c1fe
mov rcx, qword [rdi]
call fcn.1401453f0
and qword [rdi], 0
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14015c2b9
mov rax, qword [rcx]
and qword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdx
lea rdx, [rbp + 0x40]
mov rax, qword [rax + 0x108]
call qword [case.0x1402827e1.0]
nop
mov rax, qword [rbp + 0x40]
mov ecx, dword [rax - 0x10]
test ecx, ecx
jne 0x14015c23c
xor ebx, ebx
jmp 0x14015c298
shr ecx, 1
mov dword [r14], ecx
call fcn.140145400
mov qword [rdi], rax
xor r8d, r8d
lea ebx, [r8 + 1]
cmp dword [r14], r8d
jbe 0x14015c294
lea ecx, [r8 + r8]
lea edx, [rcx + 1]
test edx, edx
js 0x14015c2d0
mov rax, qword [rbp + 0x40]
cmp edx, dword [rax - 0x10]
jg 0x14015c2d0
movsxd r9, ecx
movzx edx, word [rax + r9*2 + 2]
test ecx, ecx
js 0x14015c2d0
cmp ecx, dword [rax - 0x10]
jg 0x14015c2d0
shl dl, 4
sub dl, 0x51
add dl, byte [rax + r9*2]
mov rax, qword [rdi]
mov byte [r8 + rax], dl
add r8d, ebx
cmp r8d, dword [r14]
jb 0x14015c255
mov rax, qword [rbp + 0x40]
lea rdx, [rax - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14015c2b9
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x1402827e1.0]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80070057
call fcn.1401453b0
int3