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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4c6210
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4c5b52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ea108]
test eax, eax
je 0x2fc4c5bea
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ea110]
mov qword [rbp - 8], rax
jmp 0x2fc4c5bce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5bc2
cmp qword [rbp - 0x10], 0
je 0x2fc4c5bc2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5b88
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c5beb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5cf0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5d18
mov eax, 0
jmp 0x2fc4c5d66
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5d41
mov eax, 0
jmp 0x2fc4c5d66
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5d61
mov eax, 0
jmp 0x2fc4c5d66
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5d6c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5dea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5de1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5de1
mov rax, qword [rbp - 8]
jmp 0x2fc4c5dff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5db4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1401ce460
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ce4aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401ce4aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401ce4aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ce4aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1401ce4aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401ce4ac
xor al, al
add rsp, 0x28
ret

Function at 0x1401d18fc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401d196b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401d196b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401d196b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401d196b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401d196b
cmp dword [rcx + 0x84], 0xe
jbe 0x1401d196b
cmp dword [rcx + 0xf8], 0
je 0x1401d196b
mov ecx, ebx
call fcn.1401d1a1c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401d17f8
nop
cmp dword [rbp + 0x20], 0
je 0x1401d19b9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401d19c4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401d18fc

Function at 0x1401d1b00
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401d18fc
Function at 0x1401d4bb4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401d4be4
xor eax, eax
jmp 0x1401d4ca7
mov rbp, rbx
cmp word [rax], si
je 0x1401d4c09
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401d4bf0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401d4bec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401d4ad4
movsxd r14, eax
test eax, eax
jne 0x1401d4c47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401d4bdd
mov rcx, r14
call fcn.1401d5648
mov rdi, rax
test rax, rax
jne 0x1401d4c60
xor ecx, ecx
call fcn.1401d310c
jmp 0x1401d4c3c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401d4ad4
test eax, eax
jne 0x1401d4c91
mov rcx, rdi
call fcn.1401d310c
jmp 0x1401d4c9b
xor ecx, ecx
call fcn.1401d310c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1401da410
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401da438
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401da438
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0x8f
add al, 0xd4
xor al, 0xd0
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
sbb rbx, qword [r12 + r12*2 + 0x3bd5735b]
jb 0x1400010f8
invalid
mov ecx, 0x7f1a53e0
movsb byte [rdi], byte [rsi]
or r12b, byte [r14 - 0x4c]
test byte [rsi + rcx*2], bh
mov esp, 0xec4e0a4b
outsb dx, byte [rsi]
or byte [r15 + 0x737383ae], cl
jae 0x140001181
test byte [rsi + rcx*2 - 0x34], dl
insd dword [rdi], dx
test byte [rsi + rcx*2 - 0x24], ah
or r10b, byte [r14 - 0x7c]
insd dword [rdi], dx
test byte [rsi + rax*2 - 0x74], ah
or byte [r11 + 0x53], cl
or r13b, byte [r14 - 0x44]
or r12b, byte [r14 - 0x4c]
test byte [rsi + rcx*2], bh
mov esp, 0x7b3a084b
invalid
insd dword [rdi], dx
invalid
Function at 0x181a94058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.181a941df
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 0x181a94089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181a9406f
add dl, dl
jne 0x181a94096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181a940f6
xor eax, eax
add dl, dl
jne 0x181a940a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181a941ad
add dl, dl
jne 0x181a940b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181a940c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181a940d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181a940dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x181a940ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x181a9407e
mov eax, 1
add dl, dl
jne 0x181a94106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181a94113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181a940fb
sub eax, ebx
mov ebx, 1
jne 0x181a9414c
mov ecx, 1
add dl, dl
jne 0x181a9412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181a9413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181a94123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181a9407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x181a94168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181a94175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181a9415d
cmp eax, 0x7d00
jae 0x181a9419b
cmp eax, 0x500
jb 0x181a94196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181a9407e
cmp eax, 0x7f
ja 0x181a9419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181a9407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x181a941d2
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 0x181a9407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18001131b
Capabilities:
Terminate process

Disassembly:
jmp 0x18001ac20
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x180011613
Capabilities:
Read file on windows

Disassembly:
jmp 0x180017140
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
mov rax, qword [0x180026040]
xor rax, rbp
mov qword [rbp + 0x160], rax
lea rcx, [0x18002c039]
call fcn.1800115a0
nop
mov r9, qword [rbp + 0x190]
mov r8d, 5
mov edx, 1
lea rcx, [rbp + 4]
call qword [sym.imp.ucrtbased.dll_fread]
nop
mov r8d, 5
lea rdx, str.PATCH
lea rcx, [rbp + 4]
call qword [sym.imp.ucrtbased.dll_strncmp]
test eax, eax
je 0x1800171cc
jmp 0x180017325
xor eax, eax
cmp eax, 1
je 0x180017325
mov r9, qword [rbp + 0x190]
mov r8d, 3
mov edx, 1
lea rcx, [rbp + 0x24]
call qword [sym.imp.ucrtbased.dll_fread]
nop
mov r9, qword [rbp + 0x190]
mov r8d, 2
mov edx, 1
lea rcx, [rbp + 0x44]
call qword [sym.imp.ucrtbased.dll_fread]
nop
mov eax, dword [rbp + 0x24]
shr eax, 0x10
mov ecx, dword [rbp + 0x24]
and ecx, 0xff
shl ecx, 0x10
or eax, ecx
mov ecx, dword [rbp + 0x24]
and ecx, 0xff00
or eax, ecx
mov dword [rbp + 0x24], eax
movzx eax, word [rbp + 0x44]
sar eax, 8
movzx ecx, word [rbp + 0x44]
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov word [rbp + 0x44], ax
cmp dword [rbp + 0x24], 0x464f45
jne 0x18001725b
jmp 0x180017325
movzx eax, word [rbp + 0x44]
test eax, eax
je 0x180017292
movzx eax, word [rbp + 0x44]
mov ecx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x198]
add rdx, rcx
mov rcx, rdx
mov r9, qword [rbp + 0x190]
mov r8d, eax
mov edx, 1
call qword [sym.imp.ucrtbased.dll_fread]
nop
jmp 0x180017320
mov r9, qword [rbp + 0x190]
mov r8d, 2
mov edx, 1
lea rcx, [rbp + 0x64]
call qword [sym.imp.ucrtbased.dll_fread]
nop
mov r9, qword [rbp + 0x190]
mov r8d, 1
mov edx, 1
lea rcx, [rbp + 0x84]
call qword [sym.imp.ucrtbased.dll_fread]
nop
movzx eax, word [rbp + 0x64]
sar eax, 8
movzx ecx, word [rbp + 0x64]
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov word [rbp + 0x64], ax
movzx eax, word [rbp + 0x64]
movzx ecx, byte [rbp + 0x84]
mov edx, dword [rbp + 0x24]
mov r8, qword [rbp + 0x198]
add r8, rdx
mov rdx, r8
mov qword [rbp + 0x158], rdx
mov r8d, eax
mov edx, ecx
mov rax, qword [rbp + 0x158]
mov rcx, rax
call fcn.18001144c
nop
jmp 0x1800171cc
lea rcx, [rbp - 0x20]
lea rdx, [0x180021f00]
call fcn.1800114ab
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.1800112ad
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x1401327ea
Capabilities:
Contain obfuscated stackstrings
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
invalid
fadd qword [rax]
add byte [rax], al
or eax, 0x8b9c24ba
pop rcx
jnp 0x140132669
jge 0x140131bbf
jmp 0x14013288c
jle 0x14013184b
int3
Function at 0x140f7636c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f76376
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f7639f
pop rbp
sub rbp, 0x33
sub rbp, 0xf7636c
sub rsp, 0x20
jmp 0x140f763be
mov rax, 0xf7636c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff85dbff16
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f763dd
jmp 0x140f763f4
pop rsi
lahf
call [rbp + 0x16162a9f]
invalid
Function at 0x140001000
Capabilities:
Download url
Receive data

Disassembly:
sub rsp, 0x38
cmp ecx, 3
jge 0x140001036
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Usage:_downloader__url___file_path_
call fcn.140001120
mov rcx, rax
lea rdx, [0x1400012f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
add rsp, 0x38
ret
mov r8, qword [rdx + 0x10]
xor r9d, r9d
mov rdx, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov ebx, eax
test eax, eax
jne 0x140001072
lea rdx, str.Download_completed_successfully.
call fcn.140001120
jmp 0x140001089
lea rdx, str.Download_failed._Error_code:
call fcn.140001120
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x1400012f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140001c1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c66
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c66
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c66
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c66
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c66
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c68
xor al, al
add rsp, 0x28
ret
Function at 0x14001511c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001519a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015191
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015191
mov rax, qword [rbp - 8]
jmp 0x1400151af
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015164
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x1400119ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140018098]
test rax, rax
je 0x1400119f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400119f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400119f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400119f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400119f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400119f8
xor al, al
add rsp, 0x28
ret

Function at 0x1400160e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016108
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016108
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005afc
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140052630], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140005b5c
movdqa xmm0, xmmword [0x140038a40]
movdqa xmm1, xmmword [0x140038a30]
movdqa xmmword [0x1400493a0], xmm0
movdqa xmm0, xmmword [0x140038a10]
movdqa xmmword [0x1400493b0], xmm1
movdqa xmm1, xmmword [0x140038a20]
movdqa xmmword [0x1400493c0], xmm0
movdqa xmmword [0x1400493d0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1400245f0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x1400389f0]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140005b78
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140006380
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400063a6
movzx r9d, byte [rdx]
inc rdx
movzx eax, cl
xor r9, rax
shr ecx, 8
lea rax, [0x1400493e0]
xor ecx, dword [rax + r9*4]
sub r8, 1
jne 0x140006385
mov eax, ecx
ret

Function at 0x140006558
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x1400065e4
and qword [r11 - 0x38], 0
lea r9d, [r14 - 0x1c]
and qword [r11 - 0x40], 0
lea r8, [r11 + 8]
mov eax, dword [rbx]
mov edx, r14d
and qword [r11 - 0x48], 0
mov rcx, rsi
and qword [r11 - 0x50], 0
mov dword [r11 + 8], eax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x58], rax
call fcn.140006e64
xor r9d, r9d
lea r10, [rsp + 0x50]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x1400065c2
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x14000662c
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140006e64
mov r8, r14
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140024920
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140007148
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
mov rax, r8
mov r15, rdx
mov r8d, 0x40
mov r12, rcx
cmp r9, r8
lea rcx, [rbp - 0x40]
mov rdx, rax
mov rbx, r9
cmovb r8, r9
call fcn.140024920
xor edi, edi
mov dword [rbp + rbx - 0x40], 0x1000000
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
lea r9, [rbx + 4]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x40]
mov qword [rsp + 0x28], rdi
mov rdx, r15
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140006e64
lea r13d, [rdi + 0x20]
mov r8d, r13d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140024920
mov eax, dword [rbp + 0x178]
lea rsi, [rbp - 0x80]
dec eax
mov byte [rbp + 0x178], dil
mov dword [rsp + 0x50], eax
lea r14d, [r13 - 0x1d]
mov rax, qword [rbp + 0x160]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x170]
mov byte [rbp + 0x160], dil
lea rdi, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x54], 0x10
mov dword [rsp + 0x58], 0x10
cmp dword [rdi], 0
jbe 0x1400072cf
mov ebx, dword [rdi]
lea rax, [rbp + 0x178]
mov r9, r13
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x60]
lea rax, [rbp + 0x30]
mov rdx, r15
mov qword [rsp + 0x38], rax
mov rcx, r12
lea rax, [rbp + 0x160]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140006e64
mov r8, r13
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140024920
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm0, xmmword [rbp + rax - 0x68]
movdqu xmm1, xmmword [rsp + rax + 0x60]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x78], xmm1
sub rcx, 1
jne 0x1400072a5
sub rbx, 1
jne 0x140007246
mov rcx, qword [rsi]
lea rdx, [rbp - 0x68]
mov r8, r13
call fcn.140024920
add rdi, 4
add rsi, 8
sub r14, 1
jne 0x14000723b
lea edx, [r14 + 0x44]
lea rcx, [rbp - 0x40]
call fcn.140010d70
mov rdx, r13
lea rcx, [rbp - 0x68]
call fcn.140010d70
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140010d70
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.140010d70
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret