joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075b40
Capabilities:
Initialize winsock library

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov eax, dword [0x1400f0d48]
cmp eax, 2
je 0x140075d9e
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x1400f0d48], edi
mov ecx, eax
test eax, eax
je 0x140075cdb
sub ecx, edi
je 0x140075c30
cmp ecx, edi
je 0x140075d9e
mov qword [rsp + 0x98], reloc.WS2_32.dll_ntohs
xor ebx, ebx
mov qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], bl
lea r8d, [rdi + 0x15]
lea rdx, str.Unknown_WinSock_state.
lea rcx, [rsp + 0x78]
call fcn.1400016f0
nop
lea rcx, [rsp + 0xa0]
call fcn.140082b74
nop
lea rax, vtable.std::runtime_error.0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xd0], rbx
mov byte [rsp + 0xc0], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xb8]
call fcn.1400015d0
nop
lea rdx, [0x1400e8ca0]
lea rcx, [rsp + 0xa0]
call fcn.140083174
nop
nop dword [rax]
mov ecx, dword [0x1400f0d48]
sub ecx, edi
jne 0x140075c42
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140075c30
cmp ecx, edi
je 0x140075d9e
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], bl
lea r8d, [rbx + 0x16]
lea rdx, [0x1400c2cb0]
lea rcx, [rsp + 0x50]
call fcn.1400016f0
nop
lea rcx, [rsp + 0xe0]
call fcn.140082b74
nop
lea rax, vtable.std::runtime_error.0
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x118], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x110], rbx
mov byte [rsp + 0x100], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xf8]
call fcn.1400015d0
nop
lea rdx, [0x1400e8ca0]
lea rcx, [rsp + 0xe0]
call fcn.140083174
nop
mov ecx, 0x202
lea rdx, [0x1400f0bb0]
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x140075d8f
xor ebx, ebx
mov eax, edi
lock cmpxchg dword [0x1400f0d48], ebx
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
lea r8d, [rbx + 0x1d]
lea rdx, str.Could_not_initialize_WinSock.
lea rcx, [rsp + 0x20]
call fcn.1400016f0
nop
lea rcx, [rsp + 0x120]
call fcn.140082b74
nop
lea rax, vtable.std::runtime_error.0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x158], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x150], rbx
mov byte [rsp + 0x140], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x138]
call fcn.1400015d0
nop
lea rdx, [0x1400e8ca0]
lea rcx, [rsp + 0x120]
call fcn.140083174
nop
mov ecx, 2
mov eax, edi
lock cmpxchg dword [0x1400f0d48], ecx
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x140075e70
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push rbx
push rbp
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400ee620]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13, r8
movzx r14d, dx
mov rbp, rcx
call fcn.140075b40
xor r8d, r8d
mov r15d, 2
lea edx, [r8 + 1]
mov ecx, r15d
call sub.WS2_32.dll_socket
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140075ec1
or rax, rax
jmp 0x140075fd5
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
or r12d, 0xffffffff
cmp qword [rbp + 0x20], 0x10
jb 0x140075ee8
mov rcx, qword [rbp + 8]
lea rdi, [rbp + 8]
jmp 0x140075eef
lea rdi, [rbp + 8]
mov rcx, rdi
call sub.WS2_32.dll_gethostbyname
mov rsi, rax
test rax, rax
je 0x140075f03
cmp word [rax + 0x10], r15w
je 0x140075f2a
cmp qword [rbp + 0x20], 0x10
jb 0x140075f0d
mov rdi, qword [rdi]
mov rcx, rdi
call sub.WS2_32.dll_inet_addr
mov r12d, eax
cmp eax, 0xffffffff
jne 0x140075f2a
mov dword [r13], r15d
or rax, 0xffffffffffffffff
jmp 0x140075fc3
movzx ecx, r14w
call sub.WS2_32.dll_htons
mov word [rsp + 0x38], r15w
mov word [rsp + 0x3a], ax
test rsi, rsi
je 0x140075f52
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + 0x3c], eax
jmp 0x140075f60
mov dword [rsp + 0x3c], r12d
nop word [rax + rax]
lea rdx, [rsp + 0x38]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x140075f92
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2714
je 0x140075f60
mov rcx, rbx
call sub.WS2_32.dll_closesocket
or rax, 0xffffffffffffffff
jmp 0x140075fc3
mov edx, 6
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8d, [rdx - 5]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 4
call sub.WS2_32.dll_setsockopt
test eax, eax
jne 0x140075f84
mov dword [r13], eax
mov rax, rbx
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140083f40
add rsp, 0x60
pop r15
pop r14
pop r13
pop rbp
pop rbx
ret
Function at 0x140076030
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
movzx ebp, dl
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x90], r12d
lea rbx, str.unknown
lea ecx, [r12 + 8]
call fcn.1400830d8
test rax, rax
je 0x14007607d
lea rcx, [rsp + 0x28]
mov qword [rax], rcx
jmp 0x140076080
mov rax, r12
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x90], 0
lea r8, [rsp + 0x90]
mov edx, 0x400
lea rcx, [rsp + 0x28]
call fcn.140076440
nop
nop word [rax + rax]
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
sub rdi, rcx
jne 0x1400760c9
call fcn.1400830b8
mov rcx, qword [rsp + 0x40]
lea edx, [rdi - 1]
call sub.WS2_32.dll_gethostname
test eax, eax
je 0x140076101
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x271e
jne 0x14007618a
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsp + 0x40]
add rdx, rdx
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.1400764e0
jmp 0x1400760b0
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp rax, rbx
jne 0x14007611a
call fcn.1400830b8
mov rbx, qword [rsp + 0x40]
test bpl, bpl
je 0x14007618a
mov rcx, rbx
call sub.WS2_32.dll_gethostbyname
test rax, rax
je 0x14007612f
mov rbx, qword [rax]
mov qword [rsi + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], r12
mov byte [rsi + 8], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
mov rcx, rsi
call fcn.1400016f0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14007616c
call fcn.140082dfc
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov rcx, qword [rsp + 0x28]
call fcn.140082dfc
mov rax, rsi
jmp 0x1400761e3
mov qword [rsi + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], r12
mov byte [rsi + 8], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
mov rcx, rsi
call fcn.1400016f0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400761c7
call fcn.140082dfc
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov rcx, qword [rsp + 0x28]
call fcn.140082dfc
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140079350
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0xa0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
mov byte [rcx + 0x10], 1
mov rax, qword [rcx + 8]
movsxd rdx, dword [rax + 4]
lea rcx, [rdx + rcx + 8]
call fcn.140073840
or rcx, 0xffffffffffffffff
xchg qword [rbx + 0x18], rcx
cmp rcx, 0xffffffffffffffff
je 0x14007938f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbx + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140079340]
xor edx, edx
xor ecx, ecx
call fcn.14008817c
test rax, rax
jne 0x14007945d
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rbx + 8]
call fcn.140073880
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov r8d, 0x22
lea rdx, str.Thread_creation_was_not_successful
lea rcx, [rsp + 0x38]
call fcn.1400016f0
nop
lea rcx, [rsp + 0x60]
call fcn.140082b74
nop
lea rax, vtable.std::runtime_error.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x98], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x90], 0
mov byte [rsp + 0x80], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.1400015d0
nop
lea rdx, [0x1400e8ca0]
lea rcx, [rsp + 0x60]
call fcn.140083174
nop
xchg qword [rbx + 0x18], rax
add rsp, 0xa0
pop rbx
ret

Function at 0x14007b440
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov r12, rcx
xor r13d, r13d
mov ebx, r13d
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov dword [rsp + 0x90], r13d
mov edx, ebx
add rdx, rsi
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14007b4ba
add ebx, dword [rsp + 0x90]
cmp ebx, edi
je 0x14007b50d
jmp 0x14007b480
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x40], r13b
mov r8d, reloc.WS2_32.dll_gethostname
lea rdx, str.Win32ConsoleAppender::write_handle__WriteFile_has_failed.
lea rcx, [rsp + 0x38]
call fcn.1400016f0
nop
mov rcx, r12
call fcn.14006bfb0
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.14006be30
nop
cmp qword [rsp + 0x58], 0x10
jb 0x14007b50d
mov rcx, qword [rsp + 0x40]
call fcn.140082dfc
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14007cff0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x14007d009
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x1400c56f0]
cmp r11d, 8
jb 0x14007d102
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
sub rbx, 1
jne 0x14007d030
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x14007d130
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
add r11d, 0xffffffff
jne 0x14007d110
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret

Function at 0x14007d150
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov r9d, dword [rcx]
movsx rax, dl
mov r10, rcx
mov r8, r9
shr r9d, 8
xor r8, rax
movzx eax, r8b
lea r8, [0x1400c56f0]
mov edx, dword [r8 + rax*4]
xor edx, r9d
mov dword [rcx], edx
movzx eax, dl
mov edx, dword [rcx + 8]
add eax, dword [rcx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rcx + 4], eax
movzx eax, byte [r10 + 7]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov eax, dword [r8 + rcx*4]
xor eax, edx
mov dword [r10 + 8], eax
ret

Function at 0x14007d820
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
mov rbp, rdx
mov r10, rcx
imul esi, edx
cmp byte [r9], 0
je 0x14007d870
mov rdx, rcx
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, esi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14007d86a
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x14007d8a1
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
mov qword [rsp + 0x40], rbx
lea eax, [rdx + rsi]
cmp eax, ecx
jbe 0x14007d888
sub ecx, edx
mov esi, ecx
add rdx, qword [r9 + 0x20]
mov r8d, esi
mov rcx, r10
call fcn.140084f90
add dword [rdi + 0x2c], esi
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x58]
xor edx, edx
div rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400801a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
sub rsp, 0x20
cmp qword [rcx], 0
mov esi, r9d
mov r12d, r8d
mov rbp, rdx
mov rbx, rcx
jne 0x14008028e
cmp dword [rcx + 8], 0xffffffff
jne 0x14008028e
mov qword [rsp + 0x48], rdi
lea rdi, [rcx + 0x150]
mov ecx, 0x103
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rdi, qword [rsp + 0x48]
not rcx
movzx eax, byte [rcx + rbx + 0x14e]
cmp al, 0x5c
je 0x140080217
cmp al, 0x2f
je 0x140080217
mov byte [rcx + rbx + 0x14f], gethostbyname
mov byte [rcx + rbx + 0x150], 0
cmp esi, 1
jne 0x14008023c
mov rcx, rbp
call fcn.14007bfe0
cmp eax, 0xffffffff
jne 0x14008023c
mov eax, 0x2000000
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
lea r9, [rsp + 0x40]
mov r8d, esi
mov edx, r12d
mov rcx, rbp
call fcn.14007d570
test rax, rax
jne 0x140080266
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.14007fc30
xor ecx, ecx
mov edx, 0x200
test rax, rax
mov qword [rbx], rax
cmove ecx, edx
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
mov eax, 0x1000000
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret

Function at 0x140080990
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400ee620]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
mov rsi, rcx
mov ebp, 0x104
test rcx, rcx
je 0x140080a17
mov r8, rcx
lea rcx, [rsp + 0x20]
mov r9, rbp
mov rdx, rbp
call fcn.140087380
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
je 0x1400809fc
movzx eax, byte [rsp + rcx + 0x1f]
cmp al, 0x2f
je 0x1400809f7
cmp al, 0x5c
jne 0x1400809fc
mov byte [rsp + rcx + 0x1f], 0
lea rcx, [rsp + 0x20]
call fcn.14007c0c0
test al, al
jne 0x140080a17
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movzx eax, byte [rbx]
test al, al
je 0x140080ae7
mov rdi, rbx
mov rcx, rbx
cmp al, 0x2f
je 0x140080a30
cmp al, 0x5c
jne 0x140080a33
mov rdi, rcx
mov al, byte [rcx + 1]
inc rcx
test al, al
jne 0x140080a28
cmp rdi, rbx
je 0x140080a67
sub rdi, rbx
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8, rdi
call fcn.140084f90
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov byte [rsp + rdi + 0x20], 0
call fcn.140080990
mov byte [rsp + 0x130], 0
test rsi, rsi
je 0x140080a8a
lea rcx, [rsp + 0x130]
mov r9, rbp
mov r8, rsi
mov rdx, rbp
call fcn.140087380
or rcx, 0xffffffffffffffff
xor eax, eax
mov byte [rsp + 0x233], 0
lea rdi, [rsp + 0x130]
mov rdx, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
sub rbp, rcx
lea rcx, [rsp + rcx + 0x130]
mov r8, rbp
call fcn.140089c90
lea rcx, [rsp + 0x130]
mov byte [rsp + 0x233], 0
call fcn.14007c0c0
test al, al
jne 0x140080ae7
lea rcx, [rsp + 0x130]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140083f40
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008570c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140090c60
nop
cmp dword [0x1400f1310], 1
je 0x1400856b8
mov dword [0x1400f130c], 1
mov byte [0x1400f1308], r12b
test ebx, ebx
jne 0x1400856a4
mov rcx, qword [0x1400f3450]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140085691
mov rcx, qword [0x1400f3448]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140085630
call fcn.14008dbf0
cmp qword [rdi], rax
jne 0x140085630
jmp 0x140085616
cmp rdi, rsi
jb 0x140085691
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14008dbf0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400f3450]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400f3448]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14008566f
cmp r13, rax
je 0x14008568f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140085616
lea rdx, [0x1400b3c10]
lea rcx, [0x1400b3bf8]
call fcn.140085460
lea rdx, [0x1400b3c20]
lea rcx, [0x1400b3c18]
call fcn.140085460
nop
test r12d, r12d
je 0x1400856c7
mov ecx, 8
call fcn.140090b60
test r12d, r12d
jne 0x1400856f2
mov dword [0x1400f1310], 1
lea ecx, [r12 + 8]
call fcn.140090b60
mov ecx, r15d
call fcn.1400853f4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140085580

Function at 0x140085718
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140085580

Function at 0x1400857ac
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400857c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400857c4
xor eax, eax
test eax, eax
je 0x1400857d4
mov ecx, eax
call fcn.140087ae4
or eax, 0xffffffff
jmp 0x1400857d6
xor eax, eax
add rsp, 0x28
ret

Function at 0x140087a2c
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x140087a42
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140087a44
xor eax, eax
test eax, eax
je 0x140087a54
mov ecx, eax
call fcn.140087ae4
or eax, 0xffffffff
jmp 0x140087a56
xor eax, eax
add rsp, 0x28
ret
Function at 0x14008eaff
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400ee620]
jne 0x140083f5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140083f56
repz ret
ror rcx, 0x10
jmp 0x14008ea58
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400f1450]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400f1548]
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 0x14008eadd
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, [0x1400f1450]
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 0x14008eaff
mov rax, qword [rsp + 0x88]
mov qword [0x1400f1548], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400f14e8], rax
mov rax, qword [0x1400f1548]
mov qword [0x1400f13c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400f14d0], rax
mov dword [0x1400f13b0], 0xc0000409
mov dword [0x1400f13b4], 1
mov rax, qword [0x1400ee620]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400ee628]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400f1448], eax
mov ecx, 1
call fcn.14008dbe0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400c6ae0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400f1448], 0
jne 0x14008eb86
mov ecx, 1
call fcn.14008dbe0
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 0x14009a084
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14008dbf0
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400f2110], rbx
jne 0x14009a18a
lea rcx, [0x1400c87b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14009a25f
lea rdx, [0x1400c87a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14009a25f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400c8790]
mov rcx, rsi
mov qword [0x1400f2110], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400c8778]
mov rcx, rsi
mov qword [0x1400f2118], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400c8758]
mov rcx, rsi
mov qword [0x1400f2120], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400f2130], rax
test rax, rax
je 0x14009a181
lea rdx, [0x1400c8740]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400f2128], rax
jmp 0x14009a191
mov rax, qword [0x1400f2128]
jmp 0x14009a198
mov rax, qword [0x1400f2128]
mov r11, qword [0x1400f2130]
cmp rax, rdi
je 0x14009a200
cmp r11, rdi
je 0x14009a200
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400f2130]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14009a200
test rax, rax
je 0x14009a200
call rsi
test rax, rax
je 0x14009a1fa
lea rcx, [rsp + 0x88]
mov r9d, ntohs
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14009a1fa
test byte [rsp + 0x38], 1
jne 0x14009a200
bts ebp, 0x15
jmp 0x14009a23e
mov rcx, qword [0x1400f2118]
cmp rcx, rdi
je 0x14009a23e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14009a23e
call rax
mov rbx, rax
test rax, rax
je 0x14009a23e
mov rcx, qword [0x1400f2120]
cmp rcx, rdi
je 0x14009a23e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14009a23e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400f2110]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14009a25f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14009a261
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret