joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002270
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400022bd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400022b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400022bf
add rax, 0x28
cmp rax, r9
jne 0x1400022a0
xor eax, eax
ret

Function at 0x1400022c0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002350
mov rdx, qword [0x140022d40]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000233e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000233e
cmp word [rax + 0x18], 0x20b
jne 0x14000233e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002350
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002329
add rbx, 0x28
cmp rbx, rdi
je 0x140002350
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002320
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002360
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140022d40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002380
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002388
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002380
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400023d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002380
add rax, 0x28
cmp rax, r9
jne 0x1400023c0
xor eax, eax
ret

Function at 0x1400023e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140022d40]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002408
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140022d40]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002440
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002448
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002440
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002490
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002487
test rcx, rcx
je 0x140002440
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002478
xor eax, eax
ret
Function at 0x1400024a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140022d40]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400024c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400024e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140022d40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002500
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002508
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002500
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002500
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002554
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002560
add rdx, 0x28
cmp r9, rdx
jne 0x140002540
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002570
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140022d40]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002592
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400025a0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002592
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002592
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002592
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400025f5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002608
add rdx, 0x28
cmp rdx, r10
jne 0x1400025e0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002617
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002627
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400025fe
test ecx, ecx
jg 0x140002610
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140eec058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140eec1df
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 0x140eec089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eec06f
add dl, dl
jne 0x140eec096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eec0f6
xor eax, eax
add dl, dl
jne 0x140eec0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eec1ad
add dl, dl
jne 0x140eec0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eec0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eec0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eec0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140eec0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140eec07e
mov eax, 1
add dl, dl
jne 0x140eec106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eec113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eec0fb
sub eax, ebx
mov ebx, 1
jne 0x140eec14c
mov ecx, 1
add dl, dl
jne 0x140eec12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140eec13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eec123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eec07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140eec168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140eec175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eec15d
cmp eax, 0x7d00
jae 0x140eec19b
cmp eax, 0x500
jb 0x140eec196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eec07e
cmp eax, 0x7f
ja 0x140eec19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eec07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140eec1d2
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 0x140eec07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.DLL_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.DLL_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.DLL_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.DLL_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x140015520
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]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140013be0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140013c00
xor al, al
jmp 0x140013c81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140013c13
xor al, al
jmp 0x140013c81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140013c3d
xor al, al
jmp 0x140013c81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140013c51
xor al, al
jmp 0x140013c81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140013c63
xor al, al
jmp 0x140013c81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140013c7f
xor al, al
jmp 0x140013c81
mov al, 1
add rsp, 0x38
ret
Function at 0x1337c0e91300
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rdi, r8
mov r13, rcx
lea rbp, [rcx + 0x30]
mov qword [rsp + 0x20], rbp
mov byte [rsp + 0x28], 0
mov rcx, rbp
call fcn.1337c1023da0
test eax, eax
jne 0x1337c0e914b3
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
je 0x1337c0e914be
mov byte [rsp + 0x28], 1
mov rsi, qword [rdi]
add rsi, 0x20
mov r12, qword [rdi + 0x18]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x58], rbx
mov rdi, qword [rdi + 0x10]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r12
mov r15, qword [rsi]
mov qword [rsp + 0x30], rsi
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, setsockopt
cmp byte [rax + r14], 0
jne 0x1337c0e9139a
call fcn.1337c1024e28
mov eax, 0x138
mov r14, qword [rax + r14]
mov rcx, qword [r14 + 0x40]
mov r8, qword [rcx + 0x10]
test r8, r8
jne 0x1337c0e913d7
xor r9d, r9d
lea edx, [r8 + 0x38]
mov rcx, r14
call fcn.1337c0f2f2f0
mov r8, rax
test rax, rax
jne 0x1337c0e913e1
lea edx, [rax + 0x38]
mov rcx, r14
call fcn.1337c0f2e160
mov r8, rax
jmp 0x1337c0e913e1
inc dword [rcx + 0x18]
mov rax, qword [r8]
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x38], r8
mov qword [r8 + 0x20], rbx
mov qword [r8 + 0x28], rdi
xor r9d, r9d
mov qword [rsp + 0x68], r9
mov qword [r8 + 0x30], r12
mov qword [r8], r15
mov qword [r8 + 8], r15
mov qword [r8 + 0x10], r15
mov word [r8 + 0x18], r9w
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], r9d
cmp byte [rcx + 0x19], r9b
jne 0x1337c0e91448
mov qword [rsp + 0x40], rcx
cmp rbx, qword [rcx + 0x20]
jge 0x1337c0e91439
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
jmp 0x1337c0e91442
mov dword [rsp + 0x48], r9d
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x1337c0e91421
movabs rax, 0x249249249249249
cmp qword [rsi + 8], rax
je 0x1337c0e914ad
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1337c0e909a0
nop
mov dword [r13], 1
lea rcx, [r13 + 0x80]
call fcn.1337c1023af8
nop
mov rcx, rbp
call fcn.1337c1023da8
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1337c0e90020
nop
mov ecx, 5
call fcn.1337c1023d44
int3
dec eax
mov dword [rbp + 0x4c], eax
mov ecx, 6
call fcn.1337c1023d44
int3
Function at 0x1337c0e95f00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov r14, rcx
mov edx, SHCreateMemStream
lea rcx, [rax + 0x18]
call fcn.1337c0e84d00
nop
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x1337c0e95fdb
xor esi, esi
mov ebp, dword [rbx]
test ebp, ebp
je 0x1337c0e95fdb
mov r13d, dword [r12 + 4]
lea rdi, [rsi - 1]
nop word [rax + rax]
mov eax, esi
imul rcx, rax, 0x128
lea r15, [rcx + rbx]
movzx r9d, word [r15 + 0x2e]
add r9, 0x30
add r9, rcx
add r9, rbx
mov rax, rdi
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x1337c0e95f80
cmp r13, rax
jne 0x1337c0e95fd5
mov r10d, 0xbf41bdf
test eax, eax
je 0x1337c0e95fcf
mov r11d, eax
nop dword [rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
xor eax, r10d
imul r10d, eax, 0x1000193
lea r9, [r9 + 1]
sub r11, 1
jne 0x1337c0e95fa0
cmp dword [r12], r10d
je 0x1337c0e9600e
inc esi
cmp esi, ebp
jb 0x1337c0e95f60
mov byte [r14 + 0x10], 0
test rbx, rbx
je 0x1337c0e95fed
mov rcx, rbx
call fcn.1337c0efd960
mov rax, r14
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rax, [r15 + 0x30]
mov qword [rsp + 0x38], rax
inc rdi
cmp byte [rax + rdi], 0
jne 0x1337c0e96017
mov qword [rsp + 0x40], rdi
mov r8, qword [r15 + 0x18]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1337c0e95a40
mov rax, qword [rsp + 0x28]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [r14], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [r14 + 8], rax
mov byte [r14 + 0x10], 1
jmp 0x1337c0e95fe5

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

Disassembly:
mov qword [rsp + 8], rbx
mov r8, qword [rdx + 8]
mov rbx, rcx
mov eax, dword [rcx + 4]
cmp rax, r8
je 0x1337c0e9607c
xor al, al
mov rbx, qword [rsp + 8]
ret
mov r9, qword [rdx]
mov r10d, 0xbf41bdf
test r8d, r8d
je 0x1337c0e960bf
mov r11d, r8d
nop dword [rax]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
movzx eax, r8b
or al, 0x20
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
xor eax, r10d
imul r10d, eax, 0x1000193
sub r11, 1
jne 0x1337c0e96090
cmp dword [rbx], r10d
mov rbx, qword [rsp + 8]
sete al
ret
Function at 0x1337c0f050b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x60
movups xmm0, xmmword [rdx]
mov rsi, r8
movaps xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [r8 + 0x40], xmm0
movzx r10d, byte [0x1337c12e3634]
cmp r10b, 0xc
jb 0x1337c0f05156
mov r9, qword [rcx + 0x18]
mov r8b, reloc.SHLWAPI.dll_SHCreateMemStream
movsd xmm0, qword [r9]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [r9 + 8]
mov dword [rsp + 0x38], eax
jbe 0x1337c0f05172
add r9, 0xc
nop word [rax + rax]
movzx ecx, r8b
lea r9, [r9 + 1]
mov eax, 0xaaaaaaab
inc r8b
mul ecx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
movsxd rax, ecx
lea rcx, [rsp + 0x30]
add rcx, rax
movzx eax, byte [r9 - 1]
xor byte [rcx], al
cmp r8b, r10b
jb 0x1337c0f05120
jmp 0x1337c0f05172
mov rdx, qword [rcx + 0x18]
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r8, r10
mov dword [rsp + 0x38], eax
call fcn.1337c1053540
lea rcx, [0x1337c12e3698]
call qword [0x1337c10583f0]
mov rcx, qword [rsi]
lea r9, [0x1337c12e3530]
movzx r8d, byte [0x1337c12e3533]
xor ebx, ebx
shr rcx, 1
mov r14d, 8
test r8b, r8b
cmove ebx, r14d
mov rdx, qword [rbx + r9 + 0x1a0]
lea rax, [rdx - 0x7530]
cmp rcx, rax
jl 0x1337c0f052bb
cmp rcx, rdx
jge 0x1337c0f051ca
mov rbx, qword [rbx + r9 + 0x190]
jmp 0x1337c0f051e0
cmp rcx, qword [r9 + r8*8 + 0x1a0]
jge 0x1337c0f052bb
mov rbx, qword [r9 + r8*8 + 0x190]
test rbx, rbx
je 0x1337c0f052bb
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rbp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x90], rdi
xor edx, edx
mov rcx, rbx
call fcn.1337c0f7f0a0
cmp eax, 1
je 0x1337c0f0521c
xor bl, bl
jmp 0x1337c0f05292
mov r9, rsi
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1337c0f7f0d0
cmp eax, 1
jne 0x1337c0f05218
lea r9, [rsi + 8]
mov dword [rsp + 0x20], 0x34
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 8]
call fcn.1337c0f7f0d0
cmp eax, 1
jne 0x1337c0f05218
lea r9, [rsi + 0x3c]
mov rcx, rbx
lea edx, [rax + 0x10]
lea r8d, [rax + 0xf]
call fcn.1337c0f7e800
cmp eax, 1
jne 0x1337c0f05218
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 0x3c]
call fcn.1337c0f7eee0
cmp eax, 1
sete bl
lea rcx, [0x1337c12e3698]
call qword [0x1337c1058408]
mov rdi, qword [rsp + 0x90]
movzx eax, bl
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
lea rcx, [0x1337c12e3698]
call qword [0x1337c1058408]
xor al, al
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
Function at 0x1337c0f12bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx esi, dl
lea r9, [rsp + 0x48]
mov rdx, rcx
mov rdi, r8
xor ebx, ebx
lea rcx, [0x1337c12e36e0]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
call fcn.1337c0f128f0
test sil, sil
je 0x1337c0f12c86
mov eax, dword [rsp + 0x48]
lea r8d, [rax + rax]
cmp sil, 0x14
jae 0x1337c0f12c20
mov ecx, esi
test sil, sil
je 0x1337c0f12c70
jmp 0x1337c0f12c25
mov ecx, setsockopt
mov r9d, ecx
lea r10, [0x1337c12e3530]
nop
movzx edx, byte [rdi]
lea rdi, [rdi + 1]
mov eax, r8d
mov ecx, edx
shl rax, 4
inc r8d
shr rcx, 4
and edx, 0xf
add rcx, rax
mov eax, r8d
shl rax, 4
inc r8d
add rax, rdx
xor ebx, dword [r10 + rcx*4 + 0x1b0]
xor ebx, dword [r10 + rax*4 + 0x1b0]
sub r9, 1
jne 0x1337c0f12c30
mov eax, dword [rsp + 0x38]
xor eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1337c0f132c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx r15d, r8b
mov eax, 1
mov r8d, dword [rsp + 0x90]
mov r14, rdx
mov r13, rcx
lea rdx, [rsp + 0x20]
test r8, r8
cmove r8d, eax
add rcx, 0x20
call fcn.1337c0f2b0c0
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rdi]
cmp rsi, rbx
je 0x1337c0f133c7
cmp qword [rbx + 0x10], r8
jne 0x1337c0f133c7
movzx ebp, word [r14]
mov r12, qword [rsp + 0x30]
cmp bp, word [rbx + 0x20]
jne 0x1337c0f13390
movzx eax, word [rbx + 0x22]
cmp word [r14 + 2], ax
jne 0x1337c0f13390
cmp bp, 2
jne 0x1337c0f13356
mov eax, dword [r14 + 4]
cmp eax, dword [rbx + 0x24]
jmp 0x1337c0f1336b
mov rax, qword [r14 + 8]
sub rax, qword [rbx + 0x28]
jne 0x1337c0f13368
mov rax, qword [r14 + 0x10]
sub rax, qword [rbx + 0x30]
test rax, rax
sete al
test al, al
je 0x1337c0f13390
cmp r15b, byte [rbx + 0x3c]
jne 0x1337c0f13390
mov rcx, qword [rsp + 0x88]
lea rdx, [rbx + 0x3d]
mov r8, r15
call fcn.1337c1053440
test eax, eax
je 0x1337c0f133e9
mov rdi, qword [rdi]
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x1337c0f133c7
cmp dword [r13 + 0x38], 0
je 0x1337c0f133bd
mov rax, rbx
cmp qword [rax + 0x10], 0
mov rbx, rax
jne 0x1337c0f133bd
mov rcx, qword [rax]
mov rdi, rax
mov rax, rcx
cmp rcx, rsi
jne 0x1337c0f133a5
cmp qword [rbx + 0x10], r12
je 0x1337c0f13336
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rbx + 0x18]
jmp 0x1337c0f133c9
Function at 0x1337c0f249b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
movzx edx, byte [rcx + 0x170]
lea r9, [rcx + 0xb0]
mov rbx, rcx
shr dl, 2
lea r8, [rcx + 0x30]
and dl, 0xf
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x10]
call fcn.1337c0f26580
test eax, eax
jns 0x1337c0f24a06
mov rcx, qword [rbx]
lea r9, str.HP_failure
movsxd r8, eax
mov edx, setsockopt
mov word [rsp + 0x20], 0xa
call fcn.1337c0f08100
add rsp, 0x30
pop rbx
ret
movzx ecx, byte [rbx + 0x170]
xor r11b, r11b
test cl, 0x3c
jbe 0x1337c0f24a96
nop dword [rax]
movzx eax, r11b
movzx r9d, r11b
shl r9, 4
mov rdx, qword [rbx + rax*8 + 0x130]
movzx eax, byte [r9 + rbx + 0xb0]
and al, 0x1f
xor byte [rdx], al
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x58]
xor al, al
movzx r10d, byte [rcx + 0x21]
inc r10
add r10, rdx
cmp byte [rbx + 0x179], al
jbe 0x1337c0f24a7f
nop
movzx ecx, al
inc al
lea r8, [rcx + r10]
add rcx, r9
movzx edx, byte [rcx + rbx + 0xb1]
xor byte [r8], dl
cmp al, byte [rbx + 0x179]
jb 0x1337c0f24a60
movzx ecx, byte [rbx + 0x170]
inc r11b
movzx eax, cl
shr al, 2
and al, 0xf
cmp r11b, al
jb 0x1337c0f24a20
and cl, 0xc3
mov byte [rbx + 0x170], cl
add rsp, 0x30
pop rbx
ret