joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011a3f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov edi, r8d
mov rbx, rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 8]
call qword [sym.imp.sciter_x.dll_SciterGetFocusElement]
lea r8, [rsp + 0x50]
lea rdx, [0x1401a7a2c]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.sciter_x.dll_SciterGetAttributeByName]
lea ecx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14011a46a
lea ecx, [rbp + 0x72]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14011a4cf
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14011a4a0
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14011a4a0
mov ecx, 0x47
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14011a4cf
mov ecx, ntohs
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14011a51f
cmp qword [rsp + 0x48], rbp
je 0x14011a51f
mov rdx, qword [rsp + 0x50]
lea rcx, str.find_previous
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14011a51f
call fcn.1400545b0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, str.main.ds.setPreviousFindItem
lea rdx, [rsp + 0x58]
call fcn.140054aa0
mov eax, 8
mov dword [rsp + 0x40], eax
and eax, 0xfffffff7
mov dword [rsp + 0x40], eax
or eax, 4
mov dword [rsp + 0x40], eax
and eax, 0xfffffffb
mov dword [rsp + 0x40], eax
jmp 0x14011a5d1
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14011a586
mov ecx, ntohs
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14011a586
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14011a567
mov ecx, 0x47
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14011a586
mov rax, qword [rbx]
mov r9, qword [rsp + 0xb0]
mov r8, rsi
mov edx, edi
mov rcx, rbx
mov rax, qword [rax + 0x50]
call qword [case.0x1400309a4.0]
jmp 0x14011a5de
call fcn.1400545b0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, str.main.ds.setNextFindItem
lea rdx, [rsp + 0x58]
call fcn.140054aa0
mov eax, 2
mov dword [rsp + 0x40], eax
and eax, 0xfffffffd
mov dword [rsp + 0x40], eax
or eax, 1
mov dword [rsp + 0x40], eax
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.sciter_x.dll_ValueClear]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140160900
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14011a660
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rsi, rcx
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
bt ax, 0xf
jae 0x14011a7af
lea ecx, [rbx + 0x12]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x14011a7af
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x14011a7af
lea ecx, [rbx + 0x5b]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x14011a7af
lea ecx, [rbx + 0x51]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x14011a7af
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r8d, [rbx + 0x13]
lea rdx, str.GUIDebugger.open___
lea rcx, [rsp + 0x20]
call fcn.14002b930
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueInit]
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rdi]
call qword [sym.imp.sciter_x.dll_SciterEval]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14011a79c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011a797
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011a797
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140027f70
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bx
cmp dword [rdi + 8], 0x10
jne 0x14011a7f1
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 8]
cmp qword [rdi], rcx
jne 0x14011a7f1
mov rax, qword [0x1401fdbf0]
test rax, rax
je 0x14011a7d2
mov rbx, qword [rax + 8]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0xbc0
mov rcx, qword [rbx + 8]
call qword [0x1401f2048]
mov eax, 1
jmp 0x14011a7f3
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140160900
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14011b5b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14011b658
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14011b5f3
mov rdx, qword [rdi + 8]
mov r8, rdx
mov rdx, qword [rdx]
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14011bdc0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14011b625
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x28
call fcn.140027f70
mov rcx, rbx
test rbx, rbx
jne 0x14011b610
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
call fcn.1400e6720
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rsi, r8
mov rbp, rdx
cmp rdx, r8
je 0x14011be7c
lea r14, [rcx + 8]
mov rax, qword [r14]
mov qword [rsp + 0xb8], rax
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0x40], r14
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x50], rdx
mov rax, qword [rdx + 8]
mov qword [rsp + 0xc0], rax
add rdx, 0x10
call fcn.14011c0c0
add rax, rax
lea r15, [rbx + rax*8]
mov r12, qword [r15]
mov r13, qword [r15 + 8]
nop dword [rax]
cmp rdi, r13
sete bl
mov rcx, rdi
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
mov edx, 0x28
call fcn.140027f70
dec qword [r14 + 8]
test bl, bl
jne 0x14011be90
cmp rdi, rsi
jne 0x14011be40
cmp r12, rbp
jne 0x14011be70
mov qword [r15], rdi
mov rax, qword [rsp + 0x20]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rax, rsi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp r12, rbp
mov r12, qword [rsp + 0xb8]
jne 0x14011bea5
mov qword [r15], r12
mov rax, r12
jmp 0x14011bead
mov rax, qword [rsp + 0xc0]
mov qword [r15 + 8], rax
cmp rdi, rsi
je 0x14011be70
mov r13, qword [rsp + 0xb0]
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rdx, rax
mov rax, qword [rdi + 0x18]
lea r8, [rax + rax]
xor eax, eax
test r8, r8
je 0x14011bf14
mov r9, qword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r9]
xor rdx, rcx
imul rdx, r10
inc rax
cmp rax, r8
jb 0x14011bf00
mov r15, qword [r13 + 0x30]
and r15, rdx
shl r15, 4
add r15, qword [rsp + 0xc8]
mov rbp, qword [r15 + 8]
nop dword [rax + rax]
cmp rdi, rbp
sete bl
mov rcx, rdi
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
mov edx, 0x28
call fcn.140027f70
dec qword [r14 + 8]
test bl, bl
jne 0x14011bf5e
cmp rdi, rsi
je 0x14011be6d
jmp 0x14011bf30
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rdi, rsi
je 0x14011be70
jmp 0x14011bebe
Function at 0x14011bdc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14011b658
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14011b5f3
mov rdx, qword [rdi + 8]
mov r8, rdx
mov rdx, qword [rdx]
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14011bdc0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14011b625
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x28
call fcn.140027f70
mov rcx, rbx
test rbx, rbx
jne 0x14011b610
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
call fcn.1400e6720
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rsi, r8
mov rbp, rdx
cmp rdx, r8
je 0x14011be7c
lea r14, [rcx + 8]
mov rax, qword [r14]
mov qword [rsp + 0xb8], rax
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0x40], r14
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x50], rdx
mov rax, qword [rdx + 8]
mov qword [rsp + 0xc0], rax
add rdx, 0x10
call fcn.14011c0c0
add rax, rax
lea r15, [rbx + rax*8]
mov r12, qword [r15]
mov r13, qword [r15 + 8]
nop dword [rax]
cmp rdi, r13
sete bl
mov rcx, rdi
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
mov edx, 0x28
call fcn.140027f70
dec qword [r14 + 8]
test bl, bl
jne 0x14011be90
cmp rdi, rsi
jne 0x14011be40
cmp r12, rbp
jne 0x14011be70
mov qword [r15], rdi
mov rax, qword [rsp + 0x20]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rax, rsi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp r12, rbp
mov r12, qword [rsp + 0xb8]
jne 0x14011bea5
mov qword [r15], r12
mov rax, r12
jmp 0x14011bead
mov rax, qword [rsp + 0xc0]
mov qword [r15 + 8], rax
cmp rdi, rsi
je 0x14011be70
mov r13, qword [rsp + 0xb0]
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rdx, rax
mov rax, qword [rdi + 0x18]
lea r8, [rax + rax]
xor eax, eax
test r8, r8
je 0x14011bf14
mov r9, qword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r9]
xor rdx, rcx
imul rdx, r10
inc rax
cmp rax, r8
jb 0x14011bf00
mov r15, qword [r13 + 0x30]
and r15, rdx
shl r15, 4
add r15, qword [rsp + 0xc8]
mov rbp, qword [r15 + 8]
nop dword [rax + rax]
cmp rdi, rbp
sete bl
mov rcx, rdi
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
mov edx, 0x28
call fcn.140027f70
dec qword [r14 + 8]
test bl, bl
jne 0x14011bf5e
cmp rdi, rsi
je 0x14011be6d
jmp 0x14011bf30
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rdi, rsi
je 0x14011be70
jmp 0x14011bebe
Function at 0x14011c0c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x18
movups xmm0, xmmword [rdx]
mov rdx, qword [rdx + 8]
mov r10, rcx
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp], xmm0
lea r9, [rdx + rdx]
xor edx, edx
test r9, r9
je 0x14011c114
mov r8, qword [rsp]
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r8]
inc rdx
xor rax, rcx
imul rax, r11
cmp rdx, r9
jb 0x14011c100
and rax, qword [r10 + 0x30]
add rsp, 0x18
ret
Function at 0x14011e540
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdx, qword [rdx]
lea r8, [rsp + 0x48]
mov r9d, 0xa
mov byte [rsp + 0x20], 1
call fcn.14005aa30
test al, al
jne 0x14011e58d
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140160900
add rsp, 0x288
ret
mov qword [rsp + 0x2a0], rbx
lea rax, [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x60]
mov qword [rsp + 0x280], rdi
xor edx, edx
xor edi, edi
mov dword [rsp + 0x40], 0x101
mov qword [rsp + 0x30], rdi
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14011e62f
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140029e10
test al, al
je 0x14011e689
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x101
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14011e5e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov bl, 1
mov rcx, qword [rsp + 0x48]
lea rdx, [0x1401a3ce0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x48]
test eax, eax
movzx ebx, bl
cmovne ebx, edi
call qword [0x1401f2168]
mov rdi, qword [rsp + 0x280]
movzx eax, bl
mov rbx, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140160900
add rsp, 0x288
ret
xor bl, bl
jmp 0x14011e639

Function at 0x140127730
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140127746
lea rax, [rcx - 1]
add rsp, 0x38
ret
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov rax, 0xffffffffffffffff
je 0x140127769
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x140127790
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1401277a6
lea rax, [rcx - 1]
add rsp, 0x28
ret
lea rdx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x1401277d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, 0xffffffffffffffff
mov rax, qword [rsp + 0x30]
test ecx, ecx
cmovne rax, rdx
add rsp, 0x28
ret
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x14013b010
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov ecx, 0x88
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x14013b055
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x58], rax
mov dword [rax + 8], 1
lea rcx, vtable.RefCountObj_class_HashAlgorithmMD5_.0
mov qword [rax], rcx
lea rdx, [rax + 0x18]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
mov qword [rax + 0x80], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x60], rdx
lea rcx, vtable.HashAlgorithmMD5.0
mov qword [rdx], rcx
lea rcx, [rdx + 8]
test rcx, rcx
je 0x14013b0d4
mov qword [rcx + 0x10], rdi
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rax + 0x10], 1
mov qword [rbx], rdx
mov qword [rbx + 8], rax
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14013b1f0
Capabilities:
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov ecx, 0x278
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x14013b23b
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov dword [rsp + 0x20], 1
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x80], rsi
mov dword [rax + 8], 1
lea rax, vtable.RefCountObj_class_HashAlgorithmSHA2_.0
mov qword [rsi], rax
mov dword [rsi + 0x10], ebp
lea rbx, [rsi + 0x18]
lea rcx, [rsi + 0x20]
xor edx, edx
mov r8d, 0x258
call main
nop
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x88], rbx
mov eax, dword [r14]
lea rcx, vtable.HashAlgorithmSHA2.0
mov qword [rbx], rcx
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], ebp
mov dword [rbx + 0x218], eax
cmp eax, 1
jne 0x14013b2c1
lea rcx, [rbx + 0x18]
lea rdx, [0x1401a3cc0]
call fcn.14000e980
mov dword [rbx + 0x10], 4
lea rax, [0x14013bc80]
jmp 0x14013b34e
cmp eax, 2
jne 0x14013b2e6
lea rcx, [rbx + 0x18]
lea rdx, [0x1401a3ca0]
call fcn.14000e980
mov dword [rbx + 0x10], 5
lea rax, [0x14013bc80]
jmp 0x14013b34e
cmp eax, 3
jne 0x14013b307
lea rcx, [rbx + 0xc8]
lea rdx, [0x1401a3c60]
call fcn.140013110
mov dword [rbx + 0x10], 6
jmp 0x14013b347
cmp eax, 4
jne 0x14013b328
lea rcx, [rbx + 0xc8]
lea rdx, [0x1401a3c20]
call fcn.140013110
mov dword [rbx + 0x10], 7
jmp 0x14013b347
cmp eax, 5
jne 0x14013b352
lea rcx, [rbx + 0xc8]
lea rdx, [0x1401a3be0]
call fcn.140013110
mov dword [rbx + 0x10], 8
lea rax, [0x14013bc90]
mov qword [rbx + 8], rax
mov dword [rsi + 0x10], 1
mov qword [rdi], rbx
mov qword [rdi + 8], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14013ba50
Capabilities:
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x218]
mov rbx, rcx
cmp eax, 1
jne 0x14013ba8c
add rcx, 0x18
lea rdx, [0x1401a3cc0]
call fcn.14000e980
lea rax, [0x14013bc80]
mov dword [rbx + 0x10], 4
mov qword [rbx + 8], rax
add rsp, 0x20
pop rbx
ret
cmp eax, 2
jne 0x14013bab9
add rcx, 0x18
lea rdx, [0x1401a3ca0]
call fcn.14000e980
lea rax, [0x14013bc80]
mov dword [rbx + 0x10], 5
mov qword [rbx + 8], rax
add rsp, 0x20
pop rbx
ret
cmp eax, 3
jne 0x14013bae9
add rcx, 0xc8
lea rdx, [0x1401a3c60]
call fcn.140013110
lea rax, [0x14013bc90]
mov dword [rbx + 0x10], 6
mov qword [rbx + 8], rax
add rsp, 0x20
pop rbx
ret
cmp eax, 4
jne 0x14013bb19
add rcx, 0xc8
lea rdx, [0x1401a3c20]
call fcn.140013110
lea rax, [0x14013bc90]
mov dword [rbx + 0x10], 7
mov qword [rbx + 8], rax
add rsp, 0x20
pop rbx
ret
cmp eax, 5
jne 0x14013bb43
add rcx, 0xc8
lea rdx, [0x1401a3be0]
call fcn.140013110
lea rax, [0x14013bc90]
mov dword [rbx + 0x10], 8
mov qword [rbx + 8], rax
add rsp, 0x20
pop rbx
ret
Function at 0x14015f8b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14015f934
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14019f790]
cmp byte [rcx + rax], 0
je 0x14015f934
dec r8
sub rdx, 1
jne 0x14015f91a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401619a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401619f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401619f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401619f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401619f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1401619f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401619f4
xor al, al
add rsp, 0x28
ret
Function at 0x140d012c0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140d01447
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d012f1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d012d7
add dl, dl
jne 0x140d012fe
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d0135e
xor eax, eax
add dl, dl
jne 0x140d0130d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d01415
add dl, dl
jne 0x140d0131e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d0132b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d01338
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d01345
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d01352
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d012e6
mov eax, 1
add dl, dl
jne 0x140d0136e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d0137b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d01363
sub eax, ebx
mov ebx, 1
jne 0x140d013b4
mov ecx, 1
add dl, dl
jne 0x140d01396
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d013a3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d0138b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d012e6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d013d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d013dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d013c5
cmp eax, 0x7d00
jae 0x140d01403
cmp eax, 0x500
jb 0x140d013fe
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d012e6
cmp eax, 0x7f
ja 0x140d01406
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d012e6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d0143a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d012e6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x418140
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4182e6
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00437aa0
xorps xmm15, xmm15
mov r14, qword [0x005aa7a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4181ab
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4181c7
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.004520e0
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
test rbx, rbx
jbe 0x4181eb
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4181ff
cmp rbx, 0x1000
jae 0x4181b5
jmp 0x418269
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x418211
xor edx, edx
jmp 0x418260
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00437aa0
xorps xmm15, xmm15
mov r14, qword [0x005aa7a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4181f5
jmp 0x4181e0
call fcn.004684e0
xorps xmm15, xmm15
mov r14, qword [0x005aa7a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.0043c1c0
lea rax, [0x004c5910]
mov ebx, 0x18
call fcn.0043cac0
mov rax, qword [rsp + 0x38]
call fcn.0043c7c0
lea rax, [0x004c59d0]
mov ebx, 0x19
call fcn.0043cac0
mov rax, qword [rsp + 0x30]
nop
call fcn.0043c7c0
call fcn.0043c420
call fcn.0043c240
lea rax, [0x004c7c82]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.0043a980
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00418140