joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016712
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140036248]
test eax, eax
je 0x1400167aa
lea rax, [0x140036220]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140036250]
mov qword [rbp - 8], rax
jmp 0x14001678e
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 0x140016782
cmp qword [rbp - 0x10], 0
je 0x140016782
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 0x140016748
lea rax, [0x140036220]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400167ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400168b0
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 0x1400168d8
mov eax, 0
jmp 0x140016926
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 0x140016901
mov eax, 0
jmp 0x140016926
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 0x140016921
mov eax, 0
jmp 0x140016926
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14001692c
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 0x1400169aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400169a1
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 0x1400169a1
mov rax, qword [rbp - 8]
jmp 0x1400169bf
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 0x140016974
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400010d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, 0x12c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, 0xfffffed4
sub ecx, ebx
lea ebx, [rax + rcx]
movsxd rdx, ebx
lea rcx, str.v4:_d_n
mov rdi, rdx
shr rdi, 0x20
call fcn.140001070
mov eax, edi
xor eax, ebx
sub eax, edi
cmp eax, 0x64
jle 0x14000112b
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400017f0
lea rcx, str.svchost.exe
call fcn.1400011b0
lea rdx, str.explorer.exe
mov ecx, eax
call fcn.1400014f0
lea rcx, str.explorer.exe
call fcn.1400011b0
lea rdx, str.C:UsersPublicwsc.exe
mov ecx, eax
call fcn.1400014f0
lea rcx, str.explorer.exe
call fcn.1400011b0
lea rdx, str.dir.exe
mov ecx, eax
call fcn.1400014f0
lea rcx, str.dir.exe
call fcn.1400011b0
lea rdx, str.C:UsersPublicwsc.exe
mov ecx, eax
call fcn.1400014f0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1400011b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x140001242
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001239
nop
lea r8, [rsp + 0x4c]
mov rcx, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140001223
inc rcx
test eax, eax
jne 0x140001210
test edx, edx
je 0x140001265
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001970
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
mov eax, dword [rsp + 0x28]
jmp 0x140001244
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov dl, 1
mov cl, dl
call sub.jli.dll_JLI_InitArgProcessing
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001072
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001072
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x140001047
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010be
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010ab
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010d5
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010e4
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 3
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x1400022fc]
mov qword [rsp + 0x38], rax
lea rax, [0x140002300]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x1400018fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001946
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001946
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001946
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001946
cmp dword [rcx + 0x84], 0xe
jbe 0x140001946
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001948
xor al, al
add rsp, 0x28
ret
Function at 0x402110
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
test rdx, rdx
jle 0x402274
mov r12, qword [fcn.00420c40]
lea r14, [rcx + rdx*8]
mov rdi, rcx
lea r13, [0x004240f8]
lea rbp, [0x004240f9]
mov rbx, qword [rdi]
mov ecx, 1
call r12
mov rsi, rax
test rbx, rbx
je 0x402210
cmp qword [rbx], 0
lea r8, [rbx + 0x10]
mov rdx, rbp
mov rcx, rax
cmove r8, r13
call sub.msvcrt.dll_fprintf
mov r15d, eax
movsxd rax, r15d
cmp rax, qword [rbx]
jge 0x40219f
cmp byte [rbx + rax + 0x10], 0
jne 0x4021f0
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40219f
add r15d, 1
movsxd rax, r15d
cmp rax, qword [rbx]
jl 0x40217e
add rdi, 8
cmp rdi, r14
jne 0x402145
mov ecx, 1
call r12
mov r8d, 1
mov edx, 1
lea rcx, [0x004240fc]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call r12
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_fflush
lea r8, [rbx + rax + 0x10]
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40219f
add r15d, eax
jmp 0x402176
mov r8, r13
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ebx, eax
test ebx, ebx
jns 0x40219f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
jne 0x402259
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40219f
add ebx, 1
test ebx, ebx
jns 0x40219f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
je 0x402232
add r8, 0x10
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40219f
add ebx, eax
jmp 0x402220
mov r12, qword [fcn.00420c40]
jmp 0x4021a8

Function at 0x402380
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x40239f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x4025b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.00420c40]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret
Function at 0x40a090
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x00443de0], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x40a18f
mov rax, qword [0x0043a0c0]
lea rcx, [rbp - 0x110]
mov rdx, rbp
mov qword [0x0043a0c0], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rax
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x40a1b0
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x40a160
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x40a12a
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
lea r8, [0x00440f00]
lea rcx, [0x00421020]
call fcn.00409010
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x00443de0]
mov rax, qword [0x0043a0c0]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rax, qword [rax]
mov qword [0x0043a0c0], rax
jne 0x40a224
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x40a230
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x0043a0c0]
mov rax, qword [rax]
mov qword [rbp - 0x108], 0
mov qword [0x0043a0c0], rax
mov rax, qword [0x00443d48]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x40a1ed
add qword [rbx - 0x10], 8
mov rax, qword [0x00443d48]
test rax, rax
je 0x40a20f
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x40a20f
lea rcx, [0x00440f18]
call fcn.00405820
cmp qword [rbp - 0x108], 0
mov qword [0x00443d48], rbx
je 0x40a18f
call fcn.0040a9b0
jmp 0x40a18f
mov ecx, 2
call qword [fcn.00420c40]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x40a19e
Function at 0x4122a0
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x412524
jbe 0x412300
cmp cx, 0x25
je 0x412710
jbe 0x412430
cmp cx, 0x44
je 0x412700
ja 0x412403
cmp cx, 0x41
je 0x4126f0
jbe 0x412350
cmp cx, 0x42
je 0x4126e0
cmp cx, 0x43
jne 0x4126d0
lea rcx, [0x00425440]
jmp fcn.0040ae90
cmp cx, 0xa
je 0x4126c0
ja 0x4123c3
cmp cx, 4
je 0x4126b0
jbe 0x412390
cmp cx, 7
je 0x4126a0
jbe 0x412370
cmp cx, 8
je 0x412690
cmp cx, 9
jne 0x4126d0
lea rcx, [0x004257c0]
jmp fcn.0040ae90
cmp cx, 0x26
je 0x412680
cmp cx, 0x40
jne 0x4126d0
lea rcx, [0x004254a0]
jmp fcn.0040ae90
cmp cx, 5
je 0x412670
cmp cx, 6
jne 0x4126d0
lea rcx, [0x00425820]
jmp fcn.0040ae90
cmp cx, 1
je 0x412660
test cx, cx
je 0x412650
cmp cx, 2
je 0x412640
cmp cx, 3
jne 0x4126d0
lea rcx, [0x00425880]
jmp fcn.0040ae90
cmp cx, 0x10
je 0x412630
jbe 0x412500
cmp cx, 0x13
je 0x412620
jbe 0x4124e0
cmp cx, 0x14
je 0x412610
cmp cx, 0x15
jne 0x4126d0
lea rcx, [0x00425660]
jmp fcn.0040ae90
cmp cx, 0x47
je 0x412600
jbe 0x412470
cmp cx, 0x48
je 0x4125f0
cmp cx, 0xfff
jne 0x4126d0
lea rcx, [0x00425340]
jmp fcn.0040ae90
cmp cx, 0x1b
je 0x4125e0
jbe 0x4124b0
cmp cx, 0x1e
je 0x4125d0
jbe 0x412490
cmp cx, 0x1f
je 0x4125c0
cmp cx, 0x24
jne 0x4126d0
lea rcx, [0x00425500]
jmp fcn.0040ae90
cmp cx, 0x45
je 0x4125b0
cmp cx, 0x46
jne 0x4126d0
lea rcx, [0x004253a0]
jmp fcn.0040ae90
cmp cx, 0x1c
je 0x4125a0
cmp cx, 0x1d
jne 0x4126d0
lea rcx, [0x00425560]
jmp fcn.0040ae90
cmp cx, 0x18
je 0x412590
jb 0x412580
cmp cx, 0x19
je 0x412570
cmp cx, 0x1a
jne 0x4126d0
lea rcx, [0x004255c0]
jmp fcn.0040ae90
cmp cx, 0x11
je 0x412560
cmp cx, 0x12
jne 0x4126d0
lea rcx, [0x004256c0]
jmp fcn.0040ae90
cmp cx, 0xc
je 0x412550
jb 0x412540
cmp cx, 0xd
je 0x412530
cmp cx, 0xe
jne 0x4126d0
lea rcx, [0x00425720]
jmp fcn.0040ae90
lea rcx, [0x00425640]
jmp fcn.0040ae90
lea rcx, [0x00425740]
jmp fcn.0040ae90
lea rcx, [0x00425780]
jmp fcn.0040ae90
lea rcx, [0x00425760]
jmp fcn.0040ae90
lea rcx, [0x004256e0]
jmp fcn.0040ae90
lea rcx, [0x004255e0]
jmp fcn.0040ae90
lea rcx, [0x00425620]
jmp fcn.0040ae90
lea rcx, [0x00425600]
jmp fcn.0040ae90
lea rcx, [0x00425580]
jmp fcn.0040ae90
lea rcx, [0x004253c0]
jmp fcn.0040ae90
lea rcx, [0x00425520]
jmp fcn.0040ae90
lea rcx, [0x00425540]
jmp fcn.0040ae90
lea rcx, [0x004255a0]
jmp fcn.0040ae90
lea rcx, [0x00425360]
jmp fcn.0040ae90
lea rcx, [0x00425380]
jmp fcn.0040ae90
lea rcx, [0x00425680]
jmp fcn.0040ae90
lea rcx, [0x004256a0]
jmp fcn.0040ae90
lea rcx, [0x00425700]
jmp fcn.0040ae90
lea rcx, [0x004258a0]
jmp fcn.0040ae90
lea rcx, [0x004258e0]
jmp fcn.0040ae90
lea rcx, [0x004258c0]
jmp fcn.0040ae90
lea rcx, [0x00425840]
jmp fcn.0040ae90
lea rcx, [0x004254c0]
jmp fcn.0040ae90
lea rcx, [0x004257e0]
jmp fcn.0040ae90
lea rcx, [0x00425800]
jmp fcn.0040ae90
lea rcx, [0x00425860]
jmp fcn.0040ae90
lea rcx, [0x004257a0]
jmp fcn.0040ae90
lea rcx, [0x004259a0]
jmp fcn.0040ae90
lea rcx, [0x00425460]
jmp fcn.0040ae90
lea rcx, [0x00425480]
jmp fcn.0040ae90
lea rcx, [0x00425400]
jmp fcn.0040ae90
lea rcx, [0x004254e0]
jmp fcn.0040ae90
Function at 0x4176b0
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x417725
cmp rcx, 0xffffffffffffffff
mov r8, qword [0x0044c920]
mov r9, qword [0x0044c928]
je 0x417730
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
not rdx
mov r10, rdx
nop dword [rax]
lea rax, [r9 + r8]
mov rdx, r9
xor rdx, r8
ror r8, 9
mov r9, rdx
xor r8, rdx
ror rdx, 0x1c
shl r9, 0xe
xor r8, r9
cmp rax, r10
mov r9, rdx
ja 0x4176e0
movq xmm1, rdx
movq xmm0, r8
add rcx, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [0x0044c920], xmm0
div rcx
mov rax, rdx
ret
mov rax, r8
mov rdx, r8
xor rax, r9
ror rdx, 9
mov rcx, rax
xor rdx, rax
ror rax, 0x1c
shl rcx, 0xe
mov qword [0x0044c928], rax
xor rdx, rcx
mov qword [0x0044c920], rdx
lea rdx, [r8 + r9]
mov rax, rdx
ret

Function at 0x417780
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040ae90
test rax, rax
je 0x4177cd
mov r9, qword [rax]
test r9, r9
jle 0x4177cd
mov rcx, rax
add r9, rbx
sub rcx, rbx
mov rdx, rbx
mov r8, rbx
sar rdx, 8
sar r8, 0x10
xor edx, ebx
xor edx, r8d
mov r8, rbx
sar r8, 0x18
xor edx, r8d
xor byte [rcx + rbx + 0x10], dl
add rbx, 1
cmp rbx, r9
jne 0x4177a3
add rsp, 0x20
pop rbx
ret
Function at 0x419e40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040ae90
test rax, rax
je 0x419fed
mov r10, qword [rax]
test r10, r10
jle 0x419fed
mov r11, rbx
mov r9, rbx
mov rdx, rbx
lea rcx, [r10 - 1]
sar r11, 8
sar r9, 0x10
sar rdx, 0x18
cmp rcx, 0xe
jbe 0x419ff3
movd xmm1, r9d
movd xmm0, r11d
mov r8, r10
punpcklbw xmm1, xmm1
punpcklbw xmm0, xmm0
punpcklwd xmm1, xmm1
punpcklwd xmm0, xmm0
pshufd xmm2, xmm1, 0
and r8, 0xfffffffffffffff0
pshufd xmm1, xmm0, 0
movd xmm0, ebx
pxor xmm1, xmm2
punpcklbw xmm0, xmm0
mov rcx, rax
punpcklwd xmm0, xmm0
add r8, rax
pshufd xmm2, xmm0, 0
movd xmm0, edx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pxor xmm0, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
add rcx, 0x10
pxor xmm0, xmm1
movups xmmword [rcx], xmm0
cmp rcx, r8
jne 0x419ee4
mov rcx, r10
and rcx, 0xfffffffffffffff0
cmp rcx, r10
je 0x419fed
lea r8, [rcx + 1]
xor r9d, r11d
xor r9d, ebx
xor edx, r9d
xor byte [rax + rcx + 0x10], dl
cmp r8, r10
jge 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 2]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 3]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 4]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 5]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 6]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 7]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 8]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 9]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xa]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xb]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xc]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xd]
cmp r10, r8
jle 0x419fed
xor byte [rax + r8 + 0x10], dl
add rcx, 0xe
cmp r10, rcx
jle 0x419fed
xor byte [rax + rcx + 0x10], dl
add rsp, 0x20
pop rbx
ret
xor ecx, ecx
jmp 0x419f09
Function at 0x41a000
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov edx, 0x2cdd6eb0
mov rbx, rcx
lea rcx, [0x00427bc0]
call fcn.00417780
lea rdi, [rbx + 2]
mov edx, 0xf386e10
mov rcx, rax
call fcn.00419e40
movzx r9d, word [rbx]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop dword [rax + rax]
mov rax, qword [r8 + 0x50]
test r9w, r9w
movzx r10d, word [rax]
je 0x41a0ad
test r10w, r10w
je 0x41a0b3
mov r12, rdi
mov edx, r9d
sub r12, rax
jmp 0x41a076
cmp word [rax], 0
je 0x41a0ad
movzx ecx, word [rax]
lea esi, [rdx - 0x41]
lea r11d, [rdx + 0x20]
cmp si, 0x1a
cmovb edx, r11d
lea esi, [rcx - 0x41]
lea r11d, [rcx + 0x20]
cmp si, 0x1a
cmovb ecx, r11d
cmp dx, cx
jne 0x41a0b3
mov rdx, rax
add rax, 2
movzx edx, word [r12 + rdx]
test dx, dx
jne 0x41a070
cmp r10w, r9w
je 0x41a130
mov r8, qword [r8]
cmp rbp, r8
jne 0x41a050
lea rcx, [0x00427b40]
mov edx, 0x1152c690
call fcn.00417780
lea rsi, [rsp + 0x30]
mov edx, 0x7f31a9b0
mov rcx, rax
call fcn.00419e40
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x0044ca80]
xor edx, edx
xor ecx, ecx
mov r8, rsi
lea r9, [rsp + 0x28]
call qword [0x0044ca30]
mov edx, eax
xor eax, eax
test edx, edx
jne 0x41a134
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [r8 + 0x20]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x41a8c0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, rcx
mov ebx, edx
mov edx, 0x2cdd6eb0
lea rcx, [0x00427bc0]
call fcn.00417780
lea rbp, [rdi + 2]
mov edx, 0xf386e10
mov rcx, rax
call fcn.00419e40
movzx r9d, word [rdi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
lea r12, [rax + 0x20]
nop dword [rax]
mov rax, qword [r8 + 0x50]
test r9w, r9w
movzx r10d, word [rax]
je 0x41a96e
test r10w, r10w
je 0x41a974
mov r13, rbp
mov edx, r9d
sub r13, rax
jmp 0x41a936
cmp word [rax], 0
je 0x41a96e
movzx ecx, word [rax]
lea esi, [rdx - 0x41]
lea r11d, [rdx + 0x20]
cmp si, 0x1a
cmovb edx, r11d
lea esi, [rcx - 0x41]
lea r11d, [rcx + 0x20]
cmp si, 0x1a
cmovb ecx, r11d
cmp dx, cx
jne 0x41a974
mov rdx, rax
add rax, 2
movzx edx, word [r13 + rdx]
test dx, dx
jne 0x41a930
cmp r10w, r9w
je 0x41a9f0
mov r8, qword [r8]
cmp r12, r8
jne 0x41a910
xor esi, esi
test ebx, ebx
je 0x41a9f4
lea rcx, [0x00427b40]
mov edx, 0x1152c690
call fcn.00417780
lea rbx, [rsp + 0x30]
mov edx, 0x7f31a9b0
mov rcx, rax
call fcn.00419e40
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x0044ca80]
xor edx, edx
xor ecx, ecx
mov r8, rbx
lea r9, [rsp + 0x28]
call qword [0x0044ca30]
test eax, eax
jne 0x41a9f4
mov rsi, qword [rsp + 0x28]
jmp 0x41a9f4
mov rsi, qword [r8 + 0x20]
mov rax, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x41dd60
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor eax, eax
test rcx, rcx
mov r12, rcx
je 0x41de8b
cmp word [rcx], 0x5a4d
jne 0x41de8b
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x41de8b
lea rcx, [rdx + rcx]
cmp dword [rcx], 0x4550
jne 0x41de8b
movsxd rdx, dword [rcx + 0x90]
test edx, edx
je 0x41de8b
movsxd rax, dword [rcx + 0x94]
test rax, rax
mov qword [rsp + 0x28], rax
je 0x41de86
lea rax, [rdx + r12]
xor r13d, r13d
mov qword [rsp + 0x20], rax
nop dword [rax]
mov rax, qword [rsp + 0x20]
add rax, r13
mov edx, dword [rax]
movsxd rsi, dword [rax + 0x10]
test edx, edx
jne 0x41dea0
test esi, esi
je 0x41de86
movsxd rdi, dword [rax + 0xc]
mov rbx, rsi
add rdi, r12
lea rbp, [0x0044c9a0]
mov rcx, rdi
sub rsi, rbx
call qword [0x0044c9a0]
lea r15, [r12 + rbx]
jmp 0x41de4c
mov rbx, qword [r15]
test rbx, rbx
je 0x41de77
cmp qword [r14], rbx
jne 0x41de48
mov rcx, rdi
movsxd rbx, ebx
call qword [rbp]
lea rdx, [r12 + rbx + 2]
mov rcx, rax
call qword [0x0044c950]
mov qword [r15], rax
add r15, 8
lea r14, [rsi + r15]
test qword [r14], 0xffffffff80000000
je 0x41de21
mov rcx, rdi
call qword [rbp]
movzx edx, word [r14]
mov rcx, rax
call qword [0x0044c950]
mov rbx, rax
mov qword [r15], rax
test rbx, rbx
jne 0x41de29
add r13, 0x14
cmp qword [rsp + 0x28], r13
ja 0x41dde0
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd rdi, dword [rax + 0xc]
movsxd rbx, esi
movsxd rsi, edx
add rdi, r12
jmp 0x41de08