joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180030780
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
lea r13d, [r9 - 3]
mov edi, r9d
mov r15, r8
mov rbx, rdx
mov r12, rcx
mov esi, r9d
cmp r9d, r13d
jbe 0x180030808
mov rdx, qword [0x1800af398]
mov eax, esi
sub eax, 0x84
je 0x180030801
sub eax, 3
je 0x1800307f7
cmp eax, 6
jne 0x180030801
cmp qword [0x1800af3a0], rdx
je 0x1800307e6
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [0x1800af398]
add rdx, 8
mov qword [0x1800af398], rdx
jmp 0x180030801
mov r8, rbx
call fcn.180045f00
mov rdx, qword [0x1800af398]
jmp 0x180030801
cmp dword [rbx], 0
jle 0x180030853
test r12, r12
je 0x180030853
dec esi
cmp esi, r13d
ja 0x1800307b0
mov qword [rsp + 0x60], rbp
mov esi, edi
mov qword [rsp + 0x68], r14
lea r14d, [rdi + 3]
cmp edi, r14d
jae 0x1800308ba
mov eax, esi
sub eax, 0x8a
je 0x18003087e
sub eax, 1
je 0x18003086a
cmp eax, 1
jne 0x1800308af
mov rax, qword [r15]
mov rcx, qword [rbx]
add rcx, qword [rbx + 8]
mov byte [rcx + rax], 0
mov rax, qword [r15]
add qword [rbx + 8], rax
mov eax, 1
jmp 0x180030964
mov eax, 2
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [rbx + 8]
mov rdx, r12
add rcx, qword [rbx]
mov r8, qword [r15]
call fcn.18005c310
jmp 0x1800308af
mov rax, qword [r15]
add rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
jae 0x1800308af
add rax, 5
lea r8, [rsp + 0x20]
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov ecx, 0xc1
call fcn.18002c500
cmp eax, 1
jne 0x180030998
inc esi
cmp esi, r14d
jb 0x180030821
mov rbp, qword [rsp + 0x28]
mov esi, edi
cmp edi, r14d
jae 0x18003093a
mov eax, esi
sub eax, 0x84
je 0x1800308f6
sub eax, 1
je 0x1800308ec
cmp eax, 2
jne 0x180030933
mov ecx, dword [rbx]
lea r8d, [rax + 6]
mov rdx, r12
call fcn.18006b354
movsxd rbp, eax
jmp 0x180030933
mov eax, dword [rsp + 0x28]
mov dword [r12], eax
jmp 0x180030933
mov eax, dword [rbx]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov edx, 0xa8
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x78], 0xc8f
call fcn.18001f580
test eax, eax
jne 0x180030991
and qword [rsp + 0x28], 0x3ff
inc esi
cmp esi, r14d
jb 0x1800308c6
cmp edi, r13d
jbe 0x180030960
nop
mov eax, edi
sub eax, 0x84
je 0x180030998
sub eax, 2
je 0x180030998
cmp eax, 1
jne 0x180030959
cmp rbp, 8
jne 0x180030980
dec edi
cmp edi, r13d
ja 0x180030940
mov eax, dword [rsp + 0x78]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
lea rdx, str.FUSION_MagazineVisit_FUSION_magazine
mov ecx, 4
call fcn.18003cb00
mov eax, 1
jmp 0x180030964
xor eax, eax
jmp 0x180030964
Function at 0x1800309a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov ebx, dword [rsp + 0x88]
mov esi, edx
imul ebp, edx, 0x7e
mov r14, rcx
mov edi, edx
cmp edx, ebp
ja 0x180030a13
cmp edi, 0xf
je 0x1800309ef
cmp edi, 0xbb
je 0x1800309de
cmp edi, 0x1f69
je 0x180030a13
jmp 0x180030a0a
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x50]
jmp 0x180030a0a
lea r8, [r14 + 0xb8]
mov dword [rsp + 0x20], 0x2e
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.180042550
imul eax, esi, 0x2a
add edi, eax
cmp edi, ebp
jbe 0x1800309c7
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180040b90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x1800a5088]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r12, qword [rsp + 0x4c0]
lea r15d, [r8 + 0x75]
mov qword [rsp + 0x28], rdx
mov r14, r9
mov esi, r8d
mov r13, rcx
cmp r8d, r15d
jae case.0x180040c12.15
mov rbp, qword [rsp + 0x38]
lea r8, [0x180000000]
mov edi, dword [rsp + 0x20]
nop dword [rax]
lea eax, [rsi - 0xa]
cmp eax, 0x90
ja case.0x180040c12.18
movzx eax, byte [r8 + rax + 0x40e30]
mov ecx, dword [r8 + rax*4 + 0x40e0c]
add rcx, r8
jmp rcx
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.180057424
cmp edi, 0xf
jg 0x180040c92
cmp edi, 3
jne 0x180040c4e
test rax, rax
je 0x180040c81
lea rdx, [0x18009367c]
mov rcx, rax
call fcn.180057570
test rax, rax
jne 0x180040c81
mov eax, 0xffffffff
jmp 0x180040dde
lea ecx, [rdi - 0xe]
cmp ecx, 1
ja 0x180040c81
mov r8d, 0xa
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1800599a4
mov rcx, qword [rsp + 0x40]
mov edx, 0x36
mov ebx, eax
call fcn.180040ed0
test eax, eax
je 0x180040c81
add dword [r14], ebx
mov rdx, rbp
xor ecx, ecx
inc edi
call fcn.180057424
test rax, rax
jne 0x180040c21
mov esi, 0x31
mov dword [rsp + 0x20], 0
jmp 0x180040dc2
mov rax, qword [r14]
mov qword [r13 + 0x18], rax
mov qword [r13 + 0x20], r12
jmp case.0x180040c12.18
lea rbp, [0x180098a74]
mov edi, 1
test r14, r14
je 0x180040c44
mov dword [r14], 0
jmp case.0x180040c12.18
mov byte [rsp + 0x20], 1
jmp case.0x180040c12.18
xor edx, edx
mov r8, r13
lea ecx, [rdx + 0x32]
call fcn.180033ce0
mov qword [rsp + 0x30], rax
jmp 0x180040dc2
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x180040c44
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.1800544b0
mov r9, rbx
lea rcx, [rsp + 0x50]
mov edx, 1
mov r8d, 0x1ff
call fcn.1800632f8
mov rcx, qword [rsp + 0x30]
mov rbx, rax
call fcn.180058208
test rbx, rbx
je 0x180040c44
jmp 0x180040dc2
test byte [rdx], 2
je 0x180040d93
lea rcx, [r13 + 0x280]
lea r8, [r13 + 0x278]
call fcn.18001dbd0
mov rax, qword [r14]
lea rcx, [rsp + 0x38]
mov r8, r13
mov qword [rsp + 0x38], rax
mov edx, 0x30
call fcn.180026df0
test al, al
je 0x180040d8a
mov rax, qword [r13 + 0x278]
mov qword [r12 + 0x10], rax
jmp 0x180040d93
mov qword [r12 + 0x10], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
jne 0x180040db7
lea rdx, str.Handle_DC_not_received
lea rcx, [rsp + 0x250]
call fcn.1800011d0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, qword [rsp + 0x28]
lea r8, [0x180000000]
add esi, 0xd
cmp esi, r15d
jb 0x180040bf0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180051f60
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180041550
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, qword [rax + 0x90]
mov esi, edx
mov r14, qword [rax + 0x58]
mov rdi, rcx
mov r15, qword [rax + 0x50]
mov ebx, 0xc7
mov r12, qword [rax + 0x48]
mov r13, qword [rax + 0x28]
movaps xmmword [rax - 0x48], xmm6
movsd xmm6, qword [rax + 0x80]
nop word [rax + rax]
mov eax, ebx
sub eax, 0xbe
je 0x180041699
sub eax, 1
je 0x18004162a
sub eax, 4
je 0x180041602
cmp eax, 4
jne 0x18004167b
mov ecx, 0xb7
mov eax, ecx
sub eax, 0xb7
je 0x1800415dd
cmp eax, 0xa
jne 0x1800415f7
mov eax, 1
jmp 0x18004169b
mov eax, esi
test esi, esi
je 0x1800415ef
sub eax, 1
jne 0x1800415ef
mov qword [0x1800a62d0], rdi
mov ecx, 0xb7
lea ebx, [rcx + 0x10]
add ecx, 0xa
cmp ecx, 0xcb
jb 0x1800415c5
mov r8, qword [rsp + 0x1d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18004167b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp esi, 8
jg 0x180041656
je 0x180041651
mov ecx, esi
sub ecx, 1
je 0x18004164c
sub ecx, 1
je 0x180041647
cmp ecx, 2
jne 0x180041692
mov rdi, r15
jmp 0x180041676
mov rdi, r12
jmp 0x180041676
mov rdi, r13
jmp 0x180041676
mov rdi, r14
jmp 0x180041676
cmp esi, 0x4000
je 0x180041673
cmp esi, 0x8000
jne 0x180041692
movsd qword [rsp + 0x70], xmm6
mov rdi, qword [rsp + 0x70]
jmp 0x180041676
mov rdi, rbp
mov ebx, 0xbf
dec ebx
cmp ebx, 0xc3
ja 0x1800415a0
mov eax, dword [rsp + 0x88]
jmp 0x18004169b
mov eax, 2
jmp 0x18004169b
xor eax, eax
mov rbx, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800456c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800456f4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800456e0
ret
Function at 0x1800568c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x180056797
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180056797
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180056797
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180056797
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180056797
cmp dword [rcx + 0x84], 0xe
jbe 0x180056797
cmp dword [rcx + 0xf8], 0
je 0x180056797
mov ecx, ebx
call fcn.180056838
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.180056628
cmp dword [rbp + 0x20], 0
je 0x1800567e4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800567ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x180056730

Function at 0x180071580
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x18007155d
call fcn.18005cf10
mov dword [rax], 0x16
call fcn.180063b84
or eax, 0xffffffff
jmp 0x18007157a
sub dword [rcx + 0x10], 1
jns 0x18007156c
add rsp, 0x28
jmp fcn.180072334
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x18007153c
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
push rcx
push rsi
mov rsi, qword [rdx + 0x50]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
push rax
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00600480]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00600490]
mov dword [rax], 1
mov rax, qword [0x006004a0]
mov dword [rax], 1
mov rax, qword [0x00600470]
mov dword [rax], 1
mov rax, qword [0x00600330]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x00600460]
mov dword [0x00603008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call dbg._encode_pointer
mov rdx, qword [0x006003c0]
mov qword [rdx], rax
mov rdx, qword [0x006003b0]
mov qword [rdx], rax
mov rax, qword [0x00600420]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x006002e0]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x401530
Capabilities:
Create process on windows

Disassembly:
push rbp
mov eax, 0x1fcc40
call fcn.00402aa0
sub rsp, rax
lea rbp, [rsp + 0x80]
call dbg.__main
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str._t:Build__p:ConfigurationRelease__p:PlatformAnyCPU
lea r8, str.msbuild.exe
lea rdx, str.open
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
lea rax, [rbp - 0x50]
lea rdx, [0x00403040]
mov ecx, 0x1fcc00
mov r8, rcx
mov rcx, rax
call sym.memcpy
lea rax, [rbp - 0x50]
mov qword [rbp + 0x1fcbb8], rax
mov rax, qword [rbp + 0x1fcbb8]
call rax
mov eax, 0
add rsp, 0x1fcc40
pop rbp
ret
Function at 0x4017c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00603054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x4018da
mov rax, qword [0x00603058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x40180e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4018c0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x4017f2
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401912
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00603058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x00603058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4018f5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4018b9
sub eax, 0x40
and eax, 0xffffffbf
je 0x4018b9
mov r9, rbp
add r9, qword [0x00603058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4018e1
add dword [0x00603054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x40181b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00603058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]

Function at 0x4024f0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402500
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402510
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402551
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402548
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402553
add rax, 0x28
cmp rax, r9
jne 0x402534
xor eax, eax
repz ret

Function at 0x402600
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x00600330]
cmp word [rbx], 0x5a4d
je 0x402620
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402614
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x402870
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x006039c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x006039a0]
test rbx, rbx
je 0x4028c4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4028bb
test rsi, rsi
je 0x4028bb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4028a0
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x006039c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x140001180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x85bf37612cee3c9b
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xe]
mul rcx
add r11d, 0xe
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xb]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xc]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xd]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xe
jb 0x1400011d0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x72]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x14000f040]
mov r11, rax
sub rbx, rax
movabs rdi, 0x85bf37612cee3c9b
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 0x7a
jb 0x140001450
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400014c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x85bf37612cee3c9b
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xb]
mul rcx
add r11d, 0xb
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xb
jb 0x140001510
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x14000f230]
mov r11, rax
sub rbx, rax
movabs rdi, 0x85bf37612cee3c9b
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1ea
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 2
jb 0x1400017c0
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret