joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140196668
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.14018eb9c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14018eb9c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401967b8
cmp rax, 0xffffffffffffffff
je 0x1401967b8
xor edi, edi
test rbp, rbp
jle 0x140196763
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14018bde0
mov rbx, rax
test rax, rax
jne 0x1401966f0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140196759
mov edx, 0x8000
mov ecx, r14d
call fcn.14018109c
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.14018a0e4
cmp eax, 0xffffffff
je 0x140196739
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140196700
mov edx, r15d
mov ecx, r14d
call fcn.14018109c
jmp 0x140196759
cmp byte [rsi + 0x38], dil
je 0x140196750
cmp dword [rsi + 0x34], 5
jne 0x140196750
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
cmp byte [rsi + 0x30], dil
je 0x140196759
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14018bda4
jmp 0x1401967cc
jns 0x1401967cc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14018eb9c
cmp rax, 0xffffffffffffffff
jne 0x140196784
cmp byte [rsi + 0x30], dil
je 0x1401967cc
mov edi, dword [rsi + 0x2c]
jmp 0x1401967cc
mov ecx, r14d
call fcn.1401963e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401967cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recvfrom
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
jmp 0x1401967cc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401967c5
mov eax, dword [rsi + 0x2c]
jmp 0x1401967ca
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14018eb9c
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 0x1401974f8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140197518
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401698d8
or eax, 0xffffffff
jmp 0x14019751a
xor eax, eax
add rsp, 0x28
ret
Function at 0x140199240
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401679ac
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401992ca
cmp byte [rbp - 0x21], r15b
je 0x1401992c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140199300
call fcn.14018c3b0
test eax, eax
jne 0x1401992ec
cmp byte [rbp - 0x21], r15b
je 0x1401992e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140199300
cmp byte [rbp - 0x21], r15b
je 0x1401992fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401832a8
test eax, eax
jne 0x1401993a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401679ac
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14019933f
cmp byte [rbp - 0x21], r15b
je 0x140199374
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140199374
call fcn.14018c3b0
test eax, eax
jne 0x140199360
cmp byte [rbp - 0x21], r15b
je 0x140199359
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140199374
cmp byte [rbp - 0x21], r15b
je 0x140199371
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401832a8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401993a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401993a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401993b1
mov rcx, rdi
call fcn.14018bda4
cmp byte [rbp + 0x3f], r15b
je 0x1401993c0
mov rcx, qword [rbp + 0x27]
call fcn.14018bda4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14019aa20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14019aa48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14019aa48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001d70
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r8, qword [rcx]
mov r9d, dword [rcx + 0x68]
mov rbp, rcx
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec r9
mov r11d, dword [rax + r8 + 0x20]
lea rbx, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [rbx + 0x10]
not r9
or r11, r15
and r9, r11
test eax, eax
jne 0x180001dd3
mov ecx, dword [rbx + 0x24]
test cl, 0x40
je 0x180001dcb
mov eax, dword [r8 + 0x20]
jmp 0x180001dd3
test cl, cl
jns 0x180001dd3
mov eax, dword [r8 + 0x24]
mov edx, dword [rbx + 0x24]
mov edi, 1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov r10d, eax
mov r14d, edi
lea rsi, [0x18001c058]
cmp di, word [r8 + 6]
jae 0x180001f35
add rbx, 0x4c
mov esi, dword [rbp + 0x68]
mov r12d, dword [rbx - 0x1c]
mov eax, dword [rbx - 0x14]
or r12, r15
lea rdi, [rsi - 1]
not rdi
and rdi, r12
test eax, eax
jne 0x180001e31
mov ecx, dword [rbx]
test cl, 0x40
je 0x180001e29
mov eax, dword [r8 + 0x20]
jmp 0x180001e31
test cl, cl
jns 0x180001e31
mov eax, dword [r8 + 0x24]
mov r13d, eax
cmp r9, rdi
je 0x180001eef
lea rax, [r10 + r11]
cmp rax, rdi
ja 0x180001eef
test r10, r10
je 0x180001ee2
bt edx, 0x19
jae 0x180001e95
cmp r11, r9
jne 0x180001ee2
cmp dword [r8 + 0x38], esi
je 0x180001e75
xor edx, edx
mov rax, r10
div rsi
test rdx, rdx
jne 0x180001ee2
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
mov edx, dword [rbx]
mov r11, r12
mov r9, rdi
mov r10, r13
jmp 0x180001f10
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
bt edx, 0x1a
lea rcx, [rax + rcx*2]
lea rax, [0x18001c058]
mov r8d, dword [rax + rcx*4]
jae 0x180001ecd
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180001f5a
mov edx, dword [rbx]
mov r11, r12
mov r9, rdi
mov r10, r13
jmp 0x180001f10
mov eax, dword [rbx]
bt eax, 0x19
jae 0x180001f01
bt edx, 0x19
jae 0x180001f01
or edx, eax
jmp 0x180001f07
or edx, eax
btr edx, 0x19
mov r10, r13
sub r10, r11
add r10, r12
mov r8, qword [rbp]
inc r14d
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp r14d, eax
jl 0x180001e01
mov edi, 1
lea rsi, [0x18001c058]
test r10, r10
je 0x180001fa4
bt edx, 0x19
jae 0x180001f5e
cmp r11, r9
jne 0x180001fa4
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
jmp 0x180001fa4
xor eax, eax
jmp 0x180001fa6
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
bt edx, 0x1a
lea rcx, [rax + rcx*2]
mov r8d, dword [rsi + rcx*4]
jae 0x180001f8f
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180001f5a
mov eax, edi
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180003550
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x18001c030]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov edi, edx
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], 0
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x28], 0x44
mov byte [rsp + 0x29], 0x5a
mov byte [rsp + 0x2a], 0x50
mov byte [rsp + 0x2b], 0x52
mov byte [rsp + 0x2c], 0x4f
mov byte [rsp + 0x2d], 0x4c
mov byte [rsp + 0x2e], 0x56
mov byte [rsp + 0x2f], 0x58
mov byte [rsp + 0x30], 0x2e
mov byte [rsp + 0x31], 0x54
mov byte [rsp + 0x32], 0x4d
mov byte [rsp + 0x33], 0x50
mov byte [rsp + 0x34], 0
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea r8, [0x180019c20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call qword [sym.imp.MSVCR90.dll_fopen_s]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180003634
lea rdx, str._s:_d
mov r9d, edi
mov r8, rbx
call qword [sym.imp.MSVCR90.dll_fprintf]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.MSVCR90.dll_fclose]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180014460
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x180003660
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Read file on windows

Disassembly:
push rbp
push r12
push r13
push r14
sub rsp, 0x188
mov rax, qword [0x18001c030]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r12, rcx
mov r13, r8
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x60], 0
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov byte [rsp + 0x48], 0x44
mov byte [rsp + 0x49], 0x5a
mov byte [rsp + 0x4a], 0x50
mov byte [rsp + 0x4b], 0x52
mov byte [rsp + 0x4c], 0x4f
mov byte [rsp + 0x4d], 0x4c
mov byte [rsp + 0x4e], 0x56
mov byte [rsp + 0x4f], 0x58
mov byte [rsp + 0x50], 0x2e
mov byte [rsp + 0x51], 0x54
mov byte [rsp + 0x52], 0x4d
mov byte [rsp + 0x53], 0x50
mov byte [rsp + 0x54], 0
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor r11d, r11d
mov qword [r12], r11
xor r14d, r14d
mov qword [r12 + 8], r11
mov qword [rsp + 0x30], r14
lea r8d, [r11 + 1]
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [r13], r14d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x180003755
or rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180003824
mov qword [rsp + 0x1b8], rbx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x180], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov edi, eax
call qword [sym.imp.MSVCR90.dll_malloc]
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.MSVCR90.dll_memset
mov dword [rsp + 0x40], r14d
mov rbx, rsi
nop word [rax + rax]
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r11d, dword [rsp + 0x40]
test r11d, r11d
je 0x1800037cb
add rbx, r11
sub edi, r11d
jne 0x1800037a0
lea rdx, [0x180019c18]
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll_strstr]
mov rdi, qword [rsp + 0x180]
mov rbx, rax
test rax, rax
je 0x180003814
lea r8, [rax + 1]
mov byte [rax], r14b
sub r8, rsi
cmp r8, 0x10
jg 0x180003814
mov rdx, rsi
mov rcx, r12
call sub.MSVCR90.dll_memcpy
lea rcx, [rbx + 1]
call qword [sym.imp.MSVCR90.dll_atoi]
mov dword [r13], eax
mov rbx, qword [rsp + 0x1b8]
mov rsi, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180014460
add rsp, 0x188
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800043d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
mov r11, rdx
mov rbx, rcx
test r8d, r8d
je 0x18000441c
mov r10, rdx
nop word [rax + rax]
mov eax, 0x51eb851f
inc r10
mul r9d
mov al, 0x64
shr edx, 5
imul dl
mov cl, al
movzx eax, r9b
inc r9d
sub al, cl
add al, byte [r10 - 1]
xor al, 0xb2
mov byte [r10 - 1], al
cmp r9d, r8d
jb 0x1800043f0
mov rax, qword [rbx + 8]
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
mov rdx, r11
call qword [rax + 0x50]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rbx
ret

Function at 0x180004440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
mov esi, r8d
mov rbp, rdx
mov r12, rcx
mov ebx, edi
test r8d, r8d
jle 0x180004496
nop dword [rax]
mov rax, qword [r12 + 8]
mov rcx, qword [r12 + 0x20]
mov r8d, esi
movsxd rdx, ebx
sub r8d, ebx
xor r9d, r9d
add rdx, rbp
call qword [rax + 0x58]
test eax, eax
jle 0x1800044e3
add ebx, eax
cmp ebx, esi
jl 0x180004470
test esi, esi
je 0x1800044c6
nop word [rax + rax]
movzx ecx, byte [rbp]
mov eax, 0x51eb851f
inc rbp
xor cl, 0xb2
mul edi
shr edx, 5
mov al, 0x64
imul dl
add al, cl
sub al, dil
inc edi
mov byte [rbp - 1], al
cmp edi, esi
jb 0x1800044a0
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
xor al, al
jmp 0x1800044c8
Function at 0x180004530
Capabilities:
Encode data using xor
Get session user name

Disassembly:
push rbx
sub rsp, 0x4c0
mov rax, qword [0x18001c030]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x78]
call sub.MSVCR90.dll_memset
mov eax, dword [rbx + 0x30]
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x4c], 0x2710
mov dword [rsp + 0x50], 0x186a1
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x34], 0x12346790
mov dword [rcx], eax
mov eax, dword [rbx + 0x34]
mov dword [rcx + 4], eax
mov eax, dword [rbx + 0x38]
mov edx, 0x1e
mov dword [rcx + 8], eax
mov eax, dword [rbx + 0x3c]
mov dword [rcx + 0xc], eax
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x48], 1
call qword [rax + 0x28]
test eax, eax
jne 0x1800045f0
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x58]
call qword [rax + 0x30]
test rax, rax
je 0x1800045f0
mov rax, qword [rax + 0x18]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [rdx + 0x20]
lea rdx, [rsp + 0x76]
nop dword [rax]
movzx ecx, byte [rax]
inc rdx
inc rax
mov byte [rdx - 1], cl
test cl, cl
jne 0x1800045e0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x8a]
mov dword [rsp + 0x20], 0x1e
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x400
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x30]
mov r8d, 0x78
call sub.MSVCR90.dll_memcpy
mov r11, qword [rbx + 0x28]
cmp r11, 0xffffffffffffffff
je 0x1800046ca
xor r9d, r9d
lea r10, [rsp + 0xb1]
movzx ecx, byte [r10 - 1]
mov eax, 0x51eb851f
add r10, 2
mul r9d
shr edx, 5
mov al, 0x64
imul dl
sub cl, al
mov eax, 0x51eb851f
add cl, r9b
xor cl, 0xb2
mov byte [r10 - 3], cl
lea ecx, [r9 + 1]
mul ecx
shr edx, 5
mov al, 0x64
imul dl
movzx edx, byte [r10 - 2]
sub dl, al
add dl, r9b
add r9d, 2
inc dl
xor dl, 0xb2
mov byte [r10 - 2], dl
cmp r9d, 0x78
jb 0x180004651
mov r10, qword [rbx + 0x10]
xor r9d, r9d
lea rdx, [rsp + 0xb0]
lea r8d, [r9 + 0x78]
mov rcx, r11
call qword [r10 + 0x50]
cmp eax, 0xffffffff
je 0x1800046ca
mov eax, 1
jmp 0x1800046cc
xor eax, eax
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.180014460
add rsp, 0x4c0
pop rbx
ret
Function at 0x180004e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0xb0
mov rax, qword [0x18001c030]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rsi, [rcx + 0x68]
mov rbp, rcx
mov r12, rdx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x64]
call sub.MSVCR90.dll_memset
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x180004f8b
xor edi, edi
mov ebx, edi
nop dword [rax]
mov r10, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x28]
movsxd rax, ebx
mov r8d, 0xd
lea rdx, [rsp + rax + 0x30]
xor r9d, r9d
sub r8d, ebx
call qword [r10 + 0x58]
test eax, eax
jle 0x180004f8b
add ebx, eax
cmp ebx, 0xd
jl 0x180004eb0
lea r8, [rsp + 0x30]
nop word [rax + rax]
movzx ecx, byte [r8]
mov eax, 0x51eb851f
inc r8
xor cl, 0xb2
mul edi
shr edx, 5
mov al, 0x64
imul dl
add al, cl
sub al, dil
inc edi
mov byte [r8 - 1], al
cmp edi, 0xd
jb 0x180004ef0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rdx], rax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
movzx eax, byte [rcx + 0xc]
mov byte [rdx + 0xc], al
mov rax, qword [rsp + 0x30]
cmp eax, 0x2710
jne 0x180004f8b
shr rax, 0x20
cmp eax, 0x186a3
jne 0x180004f8b
mov eax, dword [rsp + 0x39]
test eax, eax
je 0x180004f8b
mov rcx, rax
call fcn.180005180
cmp qword [rbp + 0x28], 0xffffffffffffffff
mov edi, dword [rsp + 0x29]
mov rbx, rax
je 0x180004f79
lea rcx, [rbp + 8]
mov r8d, edi
mov rdx, rax
call fcn.180004440
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [r12], edi
mov rax, rbx
jmp 0x180004f96
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180014460
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180004fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
sub rsp, 0x80
mov rax, qword [0x18001c030]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r8, qword [rdx]
lea rax, [0x180004b10]
mov byte [rsp + 0x60], 0x54
mov qword [r11 - 0x60], rax
lea rax, [fcn.180004e50]
add r8, 0x88
mov qword [r11 - 0x58], rax
lea rax, [0x180004e00]
mov byte [rsp + 0x61], 0x72
mov qword [r11 - 0x50], rax
lea rax, [0x180004d30]
mov byte [rsp + 0x62], 0x61
mov qword [r11 - 0x48], rax
lea rax, [0x180004fc0]
mov byte [rsp + 0x63], 0x6e
mov byte [rsp + 0x64], 0x73
mov byte [rsp + 0x65], 0x66
mov byte [rsp + 0x66], 0x69
mov qword [r11 - 0x40], rax
mov byte [rsp + 0x67], 0x6c
mov byte [rsp + 0x68], 0x65
mov byte [rsp + 0x69], 0
mov qword [r11 - 0x30], rcx
cmp dword [r8 + 4], 0
mov rsi, rcx
jne 0x18000507f
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x18000515e
lea rcx, [rsp + 0x60]
call fcn.1800026b0
mov rbx, rax
test rax, rax
je 0x18000515e
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0x20], 0xfffffffe
call rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.180004e50
mov ecx, 0x18
mov rdi, rax
call qword [sym.imp.MSVCR90.dll_malloc]
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov ecx, dword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov dword [rax + 0x10], ecx
test rdi, rdi
je 0x180005139
nop dword [rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call rbx
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180004e50
mov ecx, 0x18
mov rdi, rax
call qword [sym.imp.MSVCR90.dll_malloc]
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov ecx, dword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov dword [rax + 0x10], ecx
test rdi, rdi
jne 0x1800050f0
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0xfffffffd
call rbx
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdi, qword [rsp + 0xa0]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180014460
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rsi
ret
Function at 0x1800149ef
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18001c030]
jne 0x18001447a
rol rcx, 0x10
test cx, 0xffff
jne 0x180014476
repz ret
ror rcx, 0x10
jmp 0x180014948
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18001c180]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18001c278]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800149cd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18001c180]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800149ef
mov rax, qword [rsp + 0x88]
mov qword [0x18001c278], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18001c218], rax
mov rax, qword [0x18001c278]
mov qword [0x18001c0f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18001c200], rax
mov dword [0x18001c0e0], 0xc0000409
mov dword [0x18001c0e4], 1
mov rax, qword [0x18001c030]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18001c038]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18001c178], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180019ba0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18001c178], 0
jne 0x180014a76
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret