joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055120
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400552c8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140055185
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140055185
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140055185
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400551bc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140055212
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140055212
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140055212
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140055212
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140055212
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140054bd0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140055274
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140030f80
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140054fa0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400552c0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140030f80
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140056a30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14009cd00]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140056ac5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140056b26
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140030f80
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006a530
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140056be1
sub ecx, 1
je 0x140056c54
sub ecx, 1
je 0x140056b90
cmp ecx, 1
je 0x140056b73
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14007fbf0]
call fcn.140030f80
jmp 0x140056c54
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140056760
test eax, eax
je 0x140056c54
jmp 0x140056afa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140056c54
sub rax, rsi
cmp rax, rbp
jae 0x140056c54
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140031100
jmp 0x140056c54
cmp r8d, 4
jle 0x140056c54
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140056c54
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140030ea0
mov esi, eax
test eax, eax
je 0x140056c33
mov edx, 5
mov rcx, rbx
call fcn.140057720
mov eax, esi
jmp 0x140056afa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14003f980
mov rcx, r14
call fcn.14003fc60
test eax, eax
je 0x140056af8
mov edx, 5
mov rcx, rbx
call fcn.140057720
mov eax, Ordinal_45
jmp 0x140056afa
Function at 0x1400699f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140069a32
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140069a79
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140069ad2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140069a90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140069b13
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008537a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008537b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140069ae0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14006abb4
Capabilities:
Parse pe header

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

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b104
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b104
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027b2c
cmp rax, 0xffffffffffffffff
je 0x140027b2c
xor edi, edi
test rbp, rbp
jle 0x140027ad7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001da18
mov rbx, rax
test rax, rax
jne 0x140027a64
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027acd
mov edx, 0x8000
mov ecx, r14d
call fcn.140018a68
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001bde0
cmp eax, 0xffffffff
je 0x140027aad
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027a74
mov edx, r15d
mov ecx, r14d
call fcn.140018a68
jmp 0x140027acd
cmp byte [rsi + 0x38], dil
je 0x140027ac4
cmp dword [rsi + 0x34], 5
jne 0x140027ac4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027acd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400197c8
jmp 0x140027b40
jns 0x140027b40
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b104
cmp rax, 0xffffffffffffffff
jne 0x140027af8
cmp byte [rsi + 0x30], dil
je 0x140027b40
mov edi, dword [rsi + 0x2c]
jmp 0x140027b40
mov ecx, r14d
call fcn.140017594
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027b40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027b40
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027b39
mov eax, dword [rsi + 0x2c]
jmp 0x140027b3e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b104
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140028c30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028c58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028c58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140073975
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov rax, qword [rsp + 5]
xchg dword [rsp + 2], ecx
adc rax, 0xe47fbc1
jmp 0x140073a6b
setne al
lea r10, [rdx + riz + 0xc6]
jmp 0x140073991
jb 0x14007395e
neg r9w
mov rbx, r13
jmp 0x1400739a7

Function at 0x14007472b
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
xchg qword [rsp + 0x18], rdi
mov ecx, dword [rsp]
jmp 0x14007473b
invalid
rdtsc
call fcn.140074793
push 0xfffffffffffffffc
xchg edx, eax
cmc
add al, 0xb3
pop rsp
leave
pop rcx
cmp bl, cl
ja 0x140074737
or esp, dword [rdx + reloc.USER32.dll_CreateWindowExW]
mov ah, 0x7b
Function at 0x1423c60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1423c6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1423c7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1423c65
lea eax, [rcx + 1]
jmp 0x1423c8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1423c9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1423c84
sub eax, 3
jb 0x1423cbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1423d0d
sar eax, 1
movsxd rbp, eax
jb 0x1423cf4
jmp 0x1423ccc
add ebx, ebx
jne 0x1423cca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1423cf4
inc ecx
add ebx, ebx
jne 0x1423cda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1423cf4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1423ced
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1423cdc
add ecx, 2
jmp 0x1423cf9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01423c22
jmp 0x1423c6d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x100f000]
mov eax, dword [rdi]
or eax, eax
je 0x1423d69
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1023000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1423d19
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1423d63
mov qword [rbx], rax
add rbx, 8
jmp 0x1423d39
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1423dad
cmp al, 0xef
ja 0x1423d95
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1423d75
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1423d84
mov eax, dword [rdi]
add rdi, 4
jmp 0x1423d84
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1423e01
sub rsp, 0xffffffffffffff80
jmp 0x45bb20
Function at 0x180002d70
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002da2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002da2
nop word cs:[rax + rax]
jmp 0x180002da0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002e78
mov rsi, r10
test r8b, r8b
je 0x180002e90
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002e10
test r9b, r9b
je 0x180002ea0
sub rsi, rcx
je 0x180002e74
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002e70
test ebp, ebp
jne 0x180002e70
add rbx, 1
cmp rsi, rbx
jne 0x180002e30
jmp 0x180002e74
test ebp, ebp
jne 0x180002dfc
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002e90
jmp 0x180002ea0
Function at 0x140011299
Capabilities:
Terminate process

Disassembly:
jmp 0x140014c50
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 0x14001135c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015fa0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015fc0
xor al, al
jmp 0x140016041
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015fd3
xor al, al
jmp 0x140016041
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 0x140015ffd
xor al, al
jmp 0x140016041
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016011
xor al, al
jmp 0x140016041
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016023
xor al, al
jmp 0x140016041
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001603f
xor al, al
jmp 0x140016041
mov al, 1
add rsp, 0x38
ret
Function at 0x140013e80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400114d8
movzx eax, al
test eax, eax
jne 0x140013ea0
mov ecx, 7
call fcn.14001142e
nop
mov byte [rsp + 0x20], 0
call fcn.140011442
mov byte [rsp + 0x21], al
cmp dword [0x140020868], 1
jne 0x140013ec4
mov ecx, 7
call fcn.14001142e
nop
jmp 0x140013f1c
cmp dword [0x140020868], 0
jne 0x140013f17
mov dword [0x140020868], 1
lea rdx, [0x14001c660]
lea rcx, [0x14001c330]
call fcn.14001123f
test eax, eax
je 0x140013ef8
mov eax, 0xff
jmp 0x140014021
lea rdx, [0x14001c220]
lea rcx, [section..rdata]
call fcn.140011438
mov dword [0x140020868], 2
jmp 0x140013f1c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011415
call fcn.14001138e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013f79
mov rcx, qword [rsp + 0x30]
call fcn.1400111db
movzx eax, al
test eax, eax
je 0x140013f79
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140027020]
nop
call fcn.1400113cf
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140013fad
mov rcx, qword [rsp + 0x38]
call fcn.1400111db
movzx eax, al
test eax, eax
je 0x140013fad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011488
nop
call fcn.1400140d0
mov dword [rsp + 0x28], eax
call fcn.14001135c
movzx eax, al
test eax, eax
jne 0x140013fcc
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140013fdb
call fcn.140011492
nop
xor edx, edx
mov cl, 1
call fcn.1400111c7
mov eax, dword [rsp + 0x28]
jmp 0x140014021
add rsp, 0x68
ret
Function at 0x180002ac0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002af2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002af2
nop word cs:[rax + rax]
jmp 0x180002af0
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
mov edx, dword [0x180020a9c]
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete dl
cmp dword [0x180020aa0], 0xa
setl r9b
mov r14, qword [rbx + 0x10]
lea r10, [rbx + 0x10]
cmp r14, r10
je 0x180002be8
or r8b, al
or r9b, dl
lea r11, [rcx - 1]
xor eax, eax
mov rsi, r11
test r8b, r8b
je 0x180002bd0
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002b60
test r9b, r9b
je 0x180002be0
sub rsi, rcx
je 0x180002be2
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx edx, word [r15 + rbx*2]
movsx r13d, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
lea r12d, [r13 - 0x41]
lea edi, [r13 + 0x20]
cmp r12b, 0x1a
cmovae edi, r13d
cmp ebp, edi
jne 0x180002bbd
test dx, dx
je 0x180002be2
add rbx, 1
cmp rsi, rbx
jne 0x180002b80
jmp 0x180002be2
mov r14, qword [r14]
cmp r14, r10
jne 0x180002b57
jmp 0x180002bea
jmp 0x180002bd0
jmp 0x180002be0
mov rax, qword [r14 + 0x30]
jmp 0x180002bea
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140df20b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140df2237
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 0x140df20e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140df20c7
add dl, dl
jne 0x140df20ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140df214e
xor eax, eax
add dl, dl
jne 0x140df20fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140df2205
add dl, dl
jne 0x140df210e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140df211b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140df2128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140df2135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140df2142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140df20d6
mov eax, 1
add dl, dl
jne 0x140df215e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140df216b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140df2153
sub eax, ebx
mov ebx, 1
jne 0x140df21a4
mov ecx, 1
add dl, dl
jne 0x140df2186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140df2193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140df217b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140df20d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140df21c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140df21cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140df21b5
cmp eax, 0x7d00
jae 0x140df21f3
cmp eax, 0x500
jb 0x140df21ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140df20d6
cmp eax, 0x7f
ja 0x140df21f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140df20d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140df222a
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 0x140df20d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800150c4
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
lea rax, [rcx + 4]
mov r9d, r11d
mov r10, rax
movzx edx, word [r10]
mov r8d, dword [rcx]
add r8w, r9w
inc r9
xor r8w, dx
mov word [r10], r8w
lea r10, [r10 + 2]
cmp r9, 0xc
jb 0x1800150d1
mov word [rcx + 0x1c], r11w
ret
Function at 0x180016f54
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180199710]
mov rbx, rdx
test rax, rax
jne 0x180016ff7
mov byte [rbp - 0x40], 0x5c
xor ecx, ecx
mov byte [rbp - 0x3f], 0x6f
mov byte [rbp - 0x3e], 0x78
mov byte [rbp - 0x3d], 0x7a
mov byte [rbp - 0x3c], 0x7b
mov byte [rbp - 0x3b], 0x67
mov byte [rbp - 0x3a], 0x72
mov byte [rbp - 0x39], 0x57
mov byte [rbp - 0x38], 0x7b
mov byte [rbp - 0x37], 0x6b
mov byte [rbp - 0x36], 0x78
mov byte [rbp - 0x35], 0x7f
mov byte [rbp - 0x34], al
mov al, byte [rbp - 0x40]
mov al, byte [rbp + rcx - 0x40]
sub al, 6
mov byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x180016fac
lea rcx, [0x180164c98]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea rcx, [rbp - 0x40]
mov qword [0x180199710], rax
lea r8d, [rdx + 0xd]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rax, qword [0x180199710]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
test rax, rax
je 0x180017020
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rbx
call rax
cmp rax, 0x30
jne 0x18001704c
cmp dword [rbp - 0x10], 0x10000
je 0x18001704c
cmp qword [rbp - 0x18], 0x1000
jb 0x18001704c
cmp dword [rbp - 8], 0x1000000
je 0x180017048
cmp dword [rbp - 8], 0x40000
sete al
jmp 0x18001704e
mov al, 1
jmp 0x18001704e
xor al, al
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret