joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e0510
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1400e057f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1400e0568
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1400e055c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1400e0530
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x14032fd98]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e0590
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x140338870]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400e05f9
mov eax, 0xa
jmp 0x1400e0646
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1400e0615
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140239380
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e0e10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400e0e30
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
je 0x1400e0e32
xor ecx, ecx
cmp dword [rax], 0x4550
cmovne rax, rcx
ret
xor eax, eax
ret
Function at 0x1400e1eb0
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [rdx + 0x14]
mov r10, rcx
add rax, 0x18
add rax, rdx
movzx edx, word [rdx + 6]
lea r9, [rdx + rdx*4]
lea r11, [rax + r9*8]
cmp rax, r11
jae 0x1400e1ef4
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400e1ee1
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400e1ee7
add rax, 0x28
jmp 0x1400e1eca
mov eax, dword [rax + 0x14]
sub rax, rdx
add rax, r10
add rax, r8
ret
xor eax, eax
ret

Function at 0x1400e1f00
Capabilities:
Encode data using xor

Disassembly:
movzx eax, word [rcx]
mov edx, 0xffffffff
test ax, ax
je 0x1400e1f2b
nop dword [rax]
movzx eax, ax
lea rcx, [rcx + 2]
xor eax, edx
xor eax, 0x561e12b0
shr eax, 1
imul edx, eax, 0x21
movzx eax, word [rcx]
test ax, ax
jne 0x1400e1f10
mov eax, edx
ret

Function at 0x1400e1f30
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [rcx]
mov edx, 0xffffffff
test al, al
je 0x1400e1f5a
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
xor eax, 0x561e12b0
shr eax, 1
imul edx, eax, 0x21
movzx eax, byte [rcx]
test al, al
jne 0x1400e1f40
mov eax, edx
ret
Function at 0x1400e2910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
xor r10d, r10d
mov dword [rsp], 0x76fa5a9d
mov rsi, rdx
mov dword [rsp + 4], 0xfd553292
mov rdi, rcx
mov dword [rsp + 8], 0xe145af54
mov r9d, r10d
mov dword [rsp + 0xc], 0xd86db3d4
mov edx, r10d
mov dword [rsp + 0x10], 0xb584462e
mov ecx, r10d
mov dword [rsp + 0x14], 0xa7aea869
mov rbx, r8
mov dword [rsp + 0x18], 0x90df42b4
mov dword [rsp + 0x1c], 0x5fbc9388
mov dword [rsp + 0x20], 0xbfb1bc73
mov dword [rsp + 0x24], 0x9b213697
mov dword [rsp + 0x28], 0xd97d8782
mov dword [rsp + 0x2c], 0x445f8e70
mov dword [rsp + 0x30], 0x6ed7ec8c
mov dword [rsp + 0x34], 0x8bd0ffae
mov dword [rsp + 0x38], 0x2a93df73
mov dword [rsp + 0x3c], 0x8990cabe
mov dword [rsp + 0x40], 0xe8d974aa
mov dword [rsp + 0x44], 0xb663d5ab
mov dword [rsp + 0x48], 0x9b2f8df6
mov dword [rsp + 0x4c], 0x7bb7b291
mov dword [rsp + 0x50], 0x2e5593f7
mov dword [rsp + 0x54], 0xf3a826cb
mov dword [rsp + 0x58], 0x687172d6
mov dword [rsp + 0x5c], 0xd0e02a6e
mov dword [rsp + 0x60], 0x67ed9dff
mov dword [rsp + 0x64], 0xa189eff1
mov dword [rsp + 0x68], 0x8c8e7f71
mov dword [rsp + 0x6c], 0xe474e6d5
mov dword [rsp + 0x70], 0x34df366f
mov dword [rsp + 0x74], 0x4e58dd9f
mov dword [rsp + 0x78], 0x3d6ae48c
mov dword [rsp + 0x7c], 0xa34ba956
nop dword [rax]
nop word [rax + rax]
mov rax, rcx
mov byte [rbp + rcx - 0x80], dl
and eax, 0x7f
inc edx
movzx eax, byte [rsp + rax]
mov byte [rbp + rcx + 0x80], al
inc rcx
cmp edx, 0x100
jl 0x1400e2a50
mov rdx, r10
nop word [rax + rax]
movzx eax, byte [rbp + rdx + 0x80]
movzx r8d, byte [rbp + rdx - 0x80]
add r9d, eax
add r9d, r8d
and r9d, 0x800000ff
jge 0x1400e2aaa
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rax, r9d
movzx ecx, byte [rbp + rax - 0x80]
mov byte [rbp + rax - 0x80], r8b
mov byte [rbp + rdx - 0x80], cl
inc rdx
cmp rdx, 0x100
jl 0x1400e2a80
add rsi, 4
mov dword [rbx], 0x4ffe12a1
mov r11d, 4
mov r8d, r10d
cmp rsi, r11
jbe 0x1400e2b53
sub rbx, rdi
lea eax, [r10 + 1]
and eax, 0x800000ff
jge 0x1400e2af6
dec eax
or eax, 0xffffff00
inc eax
movsxd r10, eax
lea rcx, [rbp - 0x80]
movzx r9d, byte [rcx + r10]
add r8d, r9d
and r8d, 0x800000ff
jge 0x1400e2b1b
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea rdx, [rbp - 0x80]
add rdx, rax
inc r11d
movzx eax, byte [rdx]
mov byte [rdx], r9b
mov byte [rcx + r10], al
mov ecx, eax
movzx eax, byte [rdx]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rbp + rax - 0x80]
xor cl, byte [rdi]
mov byte [rbx + rdi + 4], cl
inc rdi
movsxd rax, r11d
cmp rax, rsi
jb 0x1400e2ae2
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400e3a20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor r15d, r15d
lea rcx, [rbp - 0x29]
mov dword [rbp + 0xf], r15d
mov edi, r15d
call fcn.1400e3ca0
mov rcx, rax
call fcn.1400bd7c0
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.1400c8da0
lea rcx, [rbp + 0xf]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
lea edx, [r15 + 0x40]
mov rcx, rax
xor r8d, r8d
call fcn.1400d2840
cmp eax, 0xc0000004
jne 0x1400e3b00
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0xf]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, dword [rbp + 0xf]
lea rcx, [rbp - 0x29]
mov rdi, rax
call fcn.1400e3ca0
mov rcx, rax
call fcn.1400bd7c0
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.1400c8da0
lea rcx, [rbp + 0xf]
mov r9d, ebx
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rax
mov edx, 0x40
call fcn.1400d2840
cmp eax, 0xc0000004
je 0x1400e3a94
test eax, eax
jns 0x1400e3b1c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x1400e3ba0
mov ebx, r15d
mov qword [rsp + 0xe8], r14
mov r14, r15
cmp qword [rdi], rbx
jbe 0x1400e3bc8
mov rax, r15
nop word [rax + rax]
lea rcx, [rax + rax*4]
vmovups ymm0, ymmword [rdi + rcx*8 + 0x10]
vmovups ymmword [rbp - 0x49], ymm0
vmovups ymmword [rbp - 0x29], ymm0
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
vmovups ymm0, ymmword [rbp - 0x49]
mov ecx, eax
vpextrq rax, xmm0, 1
cmp rax, rcx
jne 0x1400e3b79
mov rax, qword [rsi + 0x48]
cmp qword [rbp - 0x19], rax
je 0x1400e3bc4
inc ebx
mov eax, ebx
cmp rax, qword [rdi]
jb 0x1400e3b40
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
vzeroupper
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov r14, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140239380
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
mov r14, qword [rbp - 0x29]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
vzeroupper
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x1400e3b96
lea rdx, [r14 + 8]
mov qword [rbp + 0x27], r15
mov r9d, 8
lea r8, [rbp + 0x27]
mov rcx, rsi
call fcn.1400e3410
test al, al
je 0x1400e3b96
mov rdx, qword [rbp + 0x27]
lea r8, [rbp + 0x1f]
add rdx, 8
mov qword [rbp + 0x1f], r15
mov r9d, 8
mov rcx, rsi
call fcn.1400e3410
test al, al
je 0x1400e3b96
mov rdx, qword [rbp + 0x1f]
lea r8, [rbp + 0x17]
add rdx, 0x28
mov qword [rbp + 0x17], r15
mov r9d, 8
mov rcx, rsi
call fcn.1400e3410
test al, al
je 0x1400e3b96
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x2f]
vpxor xmm0, xmm0, xmm0
add rdx, 0x58
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
vmovups xmmword [rbp + 0x2f], xmm0
call fcn.1400e3410
test al, al
je 0x1400e3b96
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x2f]
add rdx, 0x58
mov word [rbp + 0x2f], r15w
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.1400e3470
test al, al
setne al
jmp 0x1400e3b98
Function at 0x1400e3cc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x20], r8
mov rbp, rdx
mov r13, rcx
test rdx, rdx
je 0x1400e3e9a
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0xa0], ymm0
vmovups ymmword [rsp + 0xc0], ymm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0xe0]
vzeroupper
call fcn.14023c420
mov r9d, 0x40
lea r8, [rsp + 0xa0]
mov rdx, rbp
mov rcx, r13
call fcn.1400e3410
test al, al
je 0x1400e3e9a
mov eax, 0x5a4d
cmp word [rsp + 0xa0], ax
jne 0x1400e3e9a
movsxd rdx, dword [rsp + 0xdc]
add rdx, rbp
mov r9d, 0x108
lea r8, [rsp + 0xe0]
mov rcx, r13
call fcn.1400e3410
test al, al
je 0x1400e3e9a
cmp dword [rsp + 0xe0], 0x4550
jne 0x1400e3e9a
mov edi, dword [rsp + 0x168]
mov ebx, dword [rsp + 0x16c]
test edi, edi
je 0x1400e3e9a
test ebx, ebx
je 0x1400e3e9a
lea ecx, [rbx + 1]
mov eax, 0x28
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400ad020
mov rsi, rax
mov eax, ebx
mov qword [rsp + 0x50], rbx
mov ebx, edi
mov qword [rsp + 0x40], rbx
lea rcx, [rdi + rbp]
mov qword [rsp + 0x38], rcx
mov r9d, eax
mov r8, rsi
mov rdx, rcx
mov rcx, r13
call fcn.1400e3410
test al, al
je 0x1400e3e92
mov r14, rsi
sub r14, rbx
mov r12d, dword [rsi + 0x20]
add r12, r14
mov eax, dword [rsi + 0x24]
add rax, r14
mov qword [rsp + 0x28], rax
mov eax, dword [rsi + 0x1c]
add rax, r14
mov qword [rsp + 0x30], rax
xor edi, edi
cmp dword [rsi + 0x18], edi
jbe 0x1400e3e92
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r12 + rdi*4]
add rdx, r14
lea rcx, [rsp + 0x80]
call fcn.1400c8da0
nop
mov rcx, qword [rsp + 0x20]
call fcn.1400c8820
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.1400c8820
mov rdx, rbx
mov rcx, rax
call fcn.140249124
test eax, eax
je 0x1400e3ec7
lea rcx, [rsp + 0x80]
call fcn.1400c8cb0
inc edi
cmp edi, dword [rsi + 0x18]
jb 0x1400e3e40
mov rcx, rsi
call fcn.1402393a0
xor eax, eax
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140239380
mov rbx, qword [rsp + 0x258]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + rdi*2]
mov rcx, qword [rsp + 0x30]
mov ebx, dword [rcx + rax*4]
add rbx, rbp
cmp rbx, qword [rsp + 0x38]
jb 0x1400e3f45
mov rax, qword [rsp + 0x40]
add rax, qword [rsp + 0x50]
add rax, rbp
cmp rbx, rax
ja 0x1400e3f45
mov rcx, rsi
call fcn.1402393a0
lea rcx, [rsp + 0x50]
call fcn.1400e3f70
mov rcx, rax
call fcn.1400bd760
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400c8da0
nop
lea rcx, [rsp + 0x60]
call fcn.1400f1070
mov rdx, rax
mov r8, qword [rsp + 0x20]
mov rcx, r13
call fcn.1400e3cc0
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400c8cb0
jmp 0x1400e3f4e
mov rcx, rsi
call fcn.1402393a0
nop
lea rcx, [rsp + 0x80]
call fcn.1400c8cb0
mov rax, rbx
jmp 0x1400e3e9c
Function at 0x1400e51e0
Capabilities:
Enumerate services

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor edi, edi
mov dword [r11 - 0x28], edi
mov dword [r11 - 0x24], edi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x1400e527b
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x114]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea edx, [rdi + 0xb]
lea r8d, [rdi + 3]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
jne 0x1400e5282
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1400e5282
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x1400e545d
mov eax, dword [rsp + 0x110]
add eax, 0x30
mov dword [rsp + 0x110], eax
mov ebx, eax
mov edx, 8
lea rcx, [rsp + 0x118]
call fcn.1400ae670
mov ecx, ebx
call fcn.1400ad020
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.1400e6610
nop
xor bpl, bpl
lea rcx, [rsp + 0x118]
call fcn.1400af080
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x114]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x110]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x110]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov edx, ntohs
lea r8d, [rdx - 8]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
je 0x1400e5442
cmp dword [rsp + 0x114], 0
jbe 0x1400e5442
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x118]
call fcn.1400af080
mov rbx, rax
mov eax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
add rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400e5490
mov rcx, rax
call fcn.1400bd760
mov rdx, rax
mov rcx, qword [rbx]
call fcn.1400acb00
test rax, rax
jne 0x1400e53fe
lea rcx, [rsp + 0x70]
call fcn.1400e54b0
mov rcx, rax
call fcn.1400bd7c0
mov rdx, rax
mov rcx, qword [rbx]
call fcn.1400acb00
test rax, rax
jne 0x1400e53fe
lea rcx, [rsp + 0x90]
call fcn.1400e54d0
mov rcx, rax
call fcn.1400bd7c0
mov rdx, rax
mov rcx, qword [rbx]
call fcn.1400acb00
test rax, rax
jne 0x1400e53fe
lea rcx, [rsp + 0x50]
call fcn.1400e54f0
mov rcx, rax
call fcn.1400bd760
mov rdx, rax
mov rcx, qword [rbx]
call fcn.1400acb00
test rax, rax
jne 0x1400e53fe
lea rcx, [rsp + 0x60]
call fcn.1400e5510
mov rcx, rax
call fcn.1400bd760
mov rdx, rax
mov rcx, qword [rbx]
call fcn.1400acb00
test rax, rax
je 0x1400e540b
mov eax, dword [rbx + 0x14]
cmp eax, 4
je 0x1400e541c
cmp eax, 2
je 0x1400e541c
inc edi
cmp edi, dword [rsp + 0x114]
jb 0x1400e5330
jmp 0x1400e5442
mov r10, qword [rbx]
lea rcx, [rsp + 0xb0]
call fcn.1400e5530
mov rcx, rax
call fcn.1400e6230
mov rdx, r10
mov rcx, rax
call fcn.1400efc30
mov bpl, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x118]
call fcn.1400c20c0
movzx eax, bpl
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140239380
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400e5550
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
mov dword [rbp - 0x48], 3
lea rcx, [rsp + 0x30]
mov dword [rbp - 0x40], 1
mov rsi, r8
mov dword [rbp - 0x50], 0
mov r10, rdx
call fcn.1400e57f0
mov rcx, rax
call fcn.1400bd760
mov r8, rax
lea rcx, [rbp - 0x30]
mov r9, r10
mov edx, 0x104
call fcn.1400e51b0
lea rcx, [rsp + 0x50]
call fcn.1400e5810
mov rcx, rax
call fcn.1400bdc40
mov rdx, rax
lea r8, [rbp - 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400e57cf
mov rcx, qword [rbp - 0x58]
lea r8, [rbp - 0x60]
mov rdx, rdi
mov qword [rsp + 0x328], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, eax
test eax, eax
je 0x1400e5616
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400e57c7
lea rcx, [rsp + 0x30]
call fcn.1400e5830
mov rcx, rax
call fcn.1400bd7c0
mov rbx, 0xffffffffffffffff
mov rdx, rax
mov rcx, rbx
nop word [rax + rax]
cmp word [rdi + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400e5640
lea eax, [rcx*2 + 1]
mov r9d, 1
mov rcx, qword [rbp - 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x30]
mov edi, eax
call fcn.1400e5850
mov rcx, rax
call fcn.1400bd7c0
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov rcx, qword [rbp - 0x60]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x30]
or edi, eax
call fcn.1400e5870
mov rcx, rax
call fcn.1400bd760
mov rdx, rax
mov rcx, rbx
cmp word [rsi + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400e56c4
lea eax, [rcx*2 + 2]
mov r9d, 1
mov rcx, qword [rbp - 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x30]
or edi, eax
call fcn.1400e5890
mov rcx, rax
call fcn.1400bd7c0
mov rdx, rax
lea rax, [rbp - 0x30]
nop
cmp word [rax + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x1400e5710
mov rcx, qword [rbp - 0x60]
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x28], eax
mov r9d, 1
lea rax, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x30]
or edi, eax
call fcn.1400e58b0
mov rcx, rax
call fcn.1400bd760
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov rcx, qword [rbp - 0x60]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x30]
or edi, eax
call fcn.1400e58d0
mov rcx, rax
call fcn.1400bd760
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov rcx, qword [rbp - 0x60]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x60]
or edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x328]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140239380
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e5b70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rdx
mov rdi, rcx
mov rdx, rcx
lea rcx, [rsp + 0xc0]
call fcn.1400e58f0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400c84e0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0xa0]
call fcn.1400e5ca0
mov rcx, rax
call fcn.1400bd760
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400c8da0
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.1400e6630
test rbx, rbx
je 0x1400e5bfd
mov dword [rbx], eax
test eax, eax
setns bl
test eax, eax
js 0x1400e5c68
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x50]
call fcn.1400e5cc0
mov rcx, rax
call fcn.1400bdc40
mov rdx, rax
lea r8, [rsp + 0xa0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400e5c68
mov rcx, rdi
call fcn.1400c84e0
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xc0]
call fcn.1400c8590
movzx eax, bl
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140239380
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rdi
ret
Function at 0x1400eb1e0
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 0x1400eb258
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400eb258
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400eb245
nop
cmp rbx, rcx
jae 0x1400eb258
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400eb230
cmp rbx, rcx
jae 0x1400eb258
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x1400eb25a
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 0x1400eb2c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, edx
xor r9d, r9d
shr eax, 4
mov ebx, edx
inc ax
mov rdi, rcx
movzx r8d, ax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x1400eb2f8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400eb1e0

Function at 0x1400eb9f0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword gs:[0x58]
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1403387b8], eax
jg 0x1400ebaa2
call fcn.1400ec130
test al, al
je 0x1400eba7e
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14023c420
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 5]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [rsp + 0x40]
lea rdx, str._sha.ini
lea rcx, [0x140338810]
call fcn.1400ec950
mov rcx, rbx
call fcn.1400ec0e0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140239380
add rsp, 0x260
pop rbx
ret
lea rcx, [0x1403387b8]
call fcn.140239530
cmp dword [0x1403387b8], 0xffffffff
jne 0x1400eba2f
lea rcx, [0x140338810]
call fcn.1400af470
call fcn.1400ec100
lea rcx, [0x140274be0]
call fcn.140239c20
lea rcx, [0x1403387b8]
call fcn.1402394d0
jmp 0x1400eba2f
Function at 0x1400ebbb0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
mov rdi, rdx
lea rcx, [rsp + 0x30]
call fcn.1400af470
lea rcx, [rsp + 0x30]
call fcn.1400eb9f0
lea rcx, [rsp + 0x30]
call fcn.1400af080
mov qword [rsp + 0x28], rax
lea r8, [0x1403028f0]
mov r9, rdi
mov dword [rsp + 0x20], 0x80
lea rdx, str.Token
mov rbx, rax
lea rcx, str.Loader
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9, rbx
lea rdx, str.RememberMe
xor r8d, r8d
lea rcx, str.Loader
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rcx, [rsp + 0x30]
mov dword [rsi], eax
call fcn.1400ec080
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140239380
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret