joyce8/EMBER2024-capa huggingface dataset:
Function at 0x723c40
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x723cf3
mov rcx, qword [rbx + 0x10]
call fcn.005dd0c0
mov rcx, qword [0x005f9288]
mov dl, 1
mov r8, rax
call fcn.005d43a0
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor edx, edx
call fcn.0060d110
lea rax, [rsi + 0x4b8]
mov qword [rax + 8], rbx
lea rcx, [0x007232b0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005dd0c0
mov rsi, rax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xc0]
call fcn.005dd0c0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x723d9c
mov rcx, qword [rbx + 0x10]
call fcn.005dd0c0
mov rcx, qword [0x005f9288]
mov dl, 1
mov r8, rax
call fcn.005d43a0
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.0060d110
lea rax, [rsi + 0x4b8]
mov qword [rax + 8], rbx
lea rcx, [0x00723310]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005dd0c0
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005dd0c0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x723e36
mov rcx, qword [rbx + 0x10]
call fcn.005dd0c0
mov rcx, qword [0x005fa298]
mov dl, 1
mov r8, rax
call fcn.005d43a0
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x488], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005dd0c0
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov edi, eax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005dd0c0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x75f800
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x48], 0
nop
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x75f9a0
mov rdi, qword [rbp + 0x38]
mov rax, rdi
test rax, rax
je 0x75f83b
mov esi, dword [rax - 4]
jmp 0x75f83d
xor esi, esi
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x75f851
mov rax, qword [rbp + 0x38]
movzx rax, word [rax - 0xa]
jmp 0x75f855
mov ax, 2
cmp ax, 1
jne 0x75f906
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x75f873
mov rax, qword [rbp + 0x38]
movzx rax, word [rax - 0xc]
jmp 0x75f87e
mov rax, qword [0x008d64c0]
movzx rax, word [rax]
mov r13, qword [rbp + 0x38]
movzx ecx, ax
xor edx, edx
mov r8, r13
mov r9d, esi
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.00417f80
mov esi, eax
cmp esi, 0x100
jle 0x75f8be
mov ecx, esi
add ecx, ecx
movsxd rcx, ecx
call fcn.00409130
mov rbx, rax
jmp 0x75f8c2
lea rbx, [rbp + 0x50]
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x75f8d2
movzx rax, word [r13 - 0xc]
jmp 0x75f8dd
mov rax, qword [0x008d64c0]
movzx rax, word [rax]
test rdi, rdi
je 0x75f8e7
mov ecx, dword [rdi - 4]
jmp 0x75f8e9
xor ecx, ecx
movzx eax, ax
xor edx, edx
mov r8, r13
mov r9d, ecx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], esi
mov ecx, eax
call fcn.00417f80
jmp 0x75f945
cmp esi, 0x100
jle 0x75f91f
mov ecx, esi
add ecx, ecx
movsxd rcx, ecx
call fcn.00409130
mov rbx, rax
jmp 0x75f923
lea rbx, [rbp + 0x50]
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x38]
call fcn.004354e0
mov rcx, qword [rbp + 0x48]
mov rdx, rbx
mov r8d, esi
add r8d, r8d
movsxd r8, r8d
call fcn.00409570
xor eax, eax
mov dword [rbp + 0x44], eax
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x75f98c
sub edx, ecx
add edx, 1
mov ecx, dword [rbp + 0x44]
shl ecx, 5
mov r8d, dword [rbp + 0x44]
shr r8d, 0x1b
or ecx, r8d
mov dword [rbp + 0x44], ecx
movsxd rcx, eax
movzx ecx, word [rbx + rcx*2]
mov r8d, dword [rbp + 0x44]
xor r8d, ecx
mov dword [rbp + 0x44], r8d
add eax, 1
sub edx, 1
test edx, edx
jne 0x75f95c
nop
lea rax, [rbp + 0x50]
cmp rbx, rax
je 0x75f9a5
mov rcx, rbx
call fcn.00409160
jmp 0x75f9a5
xor eax, eax
mov dword [rbp + 0x44], eax
nop
lea rcx, [rbp + 0x48]
call fcn.0040ffb0
mov eax, dword [rbp + 0x44]
lea rsp, [rbp + 0x250]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x7b8040
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rbx
sub rsp, 0x78
mov rbp, rsp
mov qword [rbp + 0x38], 0
nop
mov cx, 0x101
lea rdx, [0x008e2a48]
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x7b80c1
lea rcx, [rbp + 0x38]
mov edx, ebx
xor r8, r8
call fcn.0043f400
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], 0x11
mov dword [rbp + 0x50], ebx
mov byte [rbp + 0x58], 0
lea rax, [0x007b8104]
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x68], 0x11
mov rcx, qword [0x007b5c20]
mov dl, 1
mov r8, qword [0x008d6608]
lea r9, [rbp + 0x40]
mov dword [rsp + 0x20], 2
call fcn.00441620
mov rcx, rax
call fcn.0040f0e0
nop
lea rcx, [rbp + 0x38]
call fcn.0040ffb0
lea rsp, [rbp + 0x78]
pop rbx
pop rbp
ret
Function at 0x7b8be0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov rbx, rcx
xor esi, esi
xor eax, eax
movzx rcx, byte [rbx + 0x40]
cmp cl, byte [0x007b8c50]
je 0x7b8c0c
mov esi, 0x401
mov rcx, rbx
call fcn.007b8dd0
mov rcx, qword [rbx + 8]
mov rdx, rax
mov r8d, esi
movzx r9, byte [rbx + 0x40]
call sub.wsock32.dll_WSAAsyncSelect
movzx rax, byte [rbx + 0x40]
cmp al, byte [0x007b8c50]
jne 0x7b8c47
mov dword [rbp + 0x2c], 0
mov rcx, qword [rbx + 8]
mov edx, 0x8004667e
lea r8, [rbp + 0x2c]
call sub.wsock32.dll_ioctlsocket
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret

Function at 0x7b8d20
Capabilities:
Connect socket

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, rbx
call fcn.007b8be0
mov rcx, rbx
or edx, 0xffffffff
call fcn.0040d200
mov rsi, rax
mov rcx, rbx
mov rdx, rbx
mov r8b, 1
call rsi
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0x30]
mov r8d, 0x10
call sub.wsock32.dll_connect
mov ecx, eax
lea rdx, [0x007b8db4]
call fcn.007b7f40
mov byte [rbx + 0x41], 0
movzx rax, byte [rbx + 0x40]
test al, 0x10
jne 0x7b8d9e
cmp qword [rbx + 8], 0xffffffffffffffff
setne al
mov byte [rbx + 0x10], al
mov rcx, rbx
or edx, 0xffffffff
call fcn.0040d200
mov rsi, rax
mov rcx, rbx
mov rdx, rbx
mov r8b, 2
call rsi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x7b9360
Capabilities:
Resolve dns

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], 0
nop
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
xor r8, r8
call fcn.00410e20
mov rcx, qword [rbp + 0x28]
call fcn.00410d30
mov rcx, rax
call sub.wsock32.dll_gethostbyname
mov rbx, rax
lea rcx, [rbp + 0x38]
mov edx, 4
xor r8, r8
call fcn.0040bed0
test rbx, rbx
je 0x7b93d7
mov rax, qword [rbx + 0x18]
mov rax, qword [rax]
movzx rcx, byte [rax]
mov byte [rbp + 0x38], cl
movzx rcx, byte [rax + 1]
mov byte [rbp + 0x39], cl
movzx rcx, byte [rax + 2]
mov byte [rbp + 0x3a], cl
movzx rax, byte [rax + 3]
mov byte [rbp + 0x3b], al
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x3c], eax
nop
lea rcx, [rbp + 0x28]
call fcn.00410000
mov eax, dword [rbp + 0x3c]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x7b9c40
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rbx
mov byte [rsp - 0x58], 0
mov byte [rsp - 0x1058], 0
sub rsp, 0x1058
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x1070], rcx
mov rcx, qword [rbp + 0x1070]
call fcn.007b8990
nop
mov byte [rbp + 0x104f], 0
mov rax, qword [rbp + 0x1070]
cmp qword [rax + 0x18], 0
je 0x7b9e1a
mov rax, qword [rbp + 0x1070]
cmp qword [rax + 8], 0xffffffffffffffff
je 0x7b9e29
mov rax, qword [rbp + 0x1070]
cmp byte [rax + 0x10], 0
je 0x7b9e29
mov rax, qword [rbp + 0x1070]
mov rcx, qword [rax + 0x18]
call fcn.0050e5f0
mov dword [rbp + 0x48], eax
mov rax, qword [rbp + 0x1070]
mov rax, qword [rax + 0x18]
mov rcx, rax
lea rdx, [rbp + 0x4f]
mov r8d, 0x1000
mov rax, qword [rax]
call qword [rax + 0x18]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jle 0x7b9e0a
mov rax, qword [rbp + 0x1070]
mov rcx, qword [rax + 8]
lea rdx, [rbp + 0x4f]
mov r8d, dword [rbp + 0x44]
xor r9, r9
call sub.wsock32.dll_send
mov dword [rbp + 0x40], eax
cmp dword [rbp + 0x40], 0xffffffff
jne 0x7b9dab
call sub.wsock32.dll_WSAGetLastError
mov dword [rbp + 0x3c], eax
cmp dword [rbp + 0x3c], 0x2733
je 0x7b9d95
mov rcx, qword [rbp + 0x1070]
mov dx, 0xfffe
call fcn.0040d200
mov rbx, rax
mov rcx, qword [rbp + 0x1070]
mov rdx, qword [rbp + 0x1070]
mov r8b, 1
lea r9, [rbp + 0x3c]
call rbx
mov rcx, qword [rbp + 0x1070]
mov rax, qword [rbp + 0x1070]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x1070]
mov rbx, qword [rax]
call qword [rbx + 0x10]
mov rcx, rbp
call fcn.007b9bd0
mov rax, qword [rbp + 0x1070]
movzx rax, byte [rax + 0x40]
cmp al, byte [0x007b9e6c]
je 0x7b9e12
call fcn.004411b0
jmp 0x7b9e12
mov rax, qword [rbp + 0x1070]
mov rcx, qword [rax + 0x18]
movsxd rdx, dword [rbp + 0x48]
call fcn.0050e610
jmp 0x7b9e12
mov eax, dword [rbp + 0x44]
cmp eax, dword [rbp + 0x40]
jle 0x7b9dd1
mov rax, qword [rbp + 0x1070]
mov rcx, qword [rax + 0x18]
mov edx, dword [rbp + 0x48]
add edx, dword [rbp + 0x40]
movsxd rdx, edx
call fcn.0050e610
jmp 0x7b9cad
mov rax, qword [rbp + 0x1070]
mov rcx, qword [rax + 0x18]
call fcn.0050e5f0
mov rbx, rax
mov rax, qword [rbp + 0x1070]
mov rax, qword [rax + 0x18]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
cmp rbx, rax
jne 0x7b9cad
mov rcx, rbp
call fcn.007b9bd0
jmp 0x7b9e12
mov rcx, rbp
call fcn.007b9bd0
nop
mov byte [rbp + 0x104f], 1
nop
mov rcx, qword [rbp + 0x1070]
call fcn.007b89b0
jmp 0x7b9e34
xor ecx, ecx
mov rdx, qword [rbp + 0x28]
call fcn.007b9e50
movzx rax, byte [rbp + 0x104f]
lea rsp, [rbp + 0x1058]
pop rbx
pop rbp
ret
Function at 0x7b9ec0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov dword [rbp + 0xb0], r8d
nop
mov rcx, qword [rbp + 0xa0]
call fcn.007b8990
nop
mov dword [rbp + 0x7c], 0
mov rax, qword [rbp + 0xa0]
cmp byte [rax + 0x10], 0
je 0x7ba011
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0xa8]
mov r8d, dword [rbp + 0xb0]
xor r9, r9
call sub.wsock32.dll_send
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0xffffffff
jne 0x7ba002
call sub.wsock32.dll_WSAGetLastError
mov dword [rbp + 0x78], eax
cmp dword [rbp + 0x78], 0x2733
je 0x7ba002
mov rcx, qword [rbp + 0xa0]
mov dx, 0xfffe
call fcn.0040d200
mov rbx, rax
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa0]
mov r8b, 1
lea r9, [rbp + 0x78]
call rbx
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x10]
cmp dword [rbp + 0x78], 0
je 0x7ba002
lea rcx, [rbp + 0x30]
mov edx, dword [rbp + 0x78]
xor r8, r8
call fcn.0043f400
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0x11
mov eax, dword [rbp + 0x78]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
lea rax, [0x007ba084]
mov qword [rbp + 0x58], rax
mov byte [rbp + 0x60], 0x11
mov rcx, qword [0x007b5c20]
mov dl, 1
mov r8, qword [0x008d6608]
lea r9, [rbp + 0x38]
mov dword [rsp + 0x20], 2
call fcn.00441620
mov rcx, rax
call fcn.0040f0e0
nop
mov rcx, qword [rbp + 0xa0]
call fcn.007b89b0
jmp 0x7ba01e
xor ecx, ecx
mov rdx, qword [rbp + 0x68]
call fcn.007ba040
jmp 0x7ba01f
nop
lea rcx, [rbp + 0x30]
call fcn.0040ffb0
mov eax, dword [rbp + 0x7c]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret
Function at 0x7ba100
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov dword [rbp + 0xb0], r8d
nop
mov rcx, qword [rbp + 0xa0]
call fcn.007b8990
nop
mov dword [rbp + 0x7c], 0
cmp dword [rbp + 0xb0], 0xffffffff
jne 0x7ba177
mov rax, qword [rbp + 0xa0]
cmp byte [rax + 0x10], 0
je 0x7ba177
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 8]
mov edx, 0x4004667f
lea r8, [rbp + 0x7c]
call sub.wsock32.dll_ioctlsocket
jmp 0x7ba2af
mov rax, qword [rbp + 0xa0]
cmp byte [rax + 0x10], 0
je 0x7ba2be
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 8]
mov edx, 0x4004667f
lea r8, [rbp + 0x74]
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x7ba1c0
cmp dword [rbp + 0x74], 0
jle 0x7ba1c0
mov eax, dword [rbp + 0x74]
cmp eax, dword [rbp + 0xb0]
jge 0x7ba1c0
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0xb0], eax
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0xa8]
mov r8d, dword [rbp + 0xb0]
xor r9, r9
call sub.wsock32.dll_recv
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0xffffffff
jne 0x7ba2af
call sub.wsock32.dll_WSAGetLastError
mov dword [rbp + 0x78], eax
cmp dword [rbp + 0x78], 0x2733
je 0x7ba2af
mov rcx, qword [rbp + 0xa0]
mov dx, 0xfffe
call fcn.0040d200
mov rbx, rax
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa0]
mov r8b, 2
lea r9, [rbp + 0x78]
call rbx
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x10]
cmp dword [rbp + 0x78], 0
je 0x7ba2af
lea rcx, [rbp + 0x30]
mov edx, dword [rbp + 0x78]
xor r8, r8
call fcn.0043f400
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0x11
mov eax, dword [rbp + 0x78]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
lea rax, [0x007ba334]
mov qword [rbp + 0x58], rax
mov byte [rbp + 0x60], 0x11
mov rcx, qword [0x007b5c20]
mov dl, 1
mov r8, qword [0x008d6608]
lea r9, [rbp + 0x38]
mov dword [rsp + 0x20], 2
call fcn.00441620
mov rcx, rax
call fcn.0040f0e0
nop
mov rcx, qword [rbp + 0xa0]
call fcn.007b89b0
jmp 0x7ba2cb
xor ecx, ecx
mov rdx, qword [rbp + 0x68]
call fcn.007ba2f0
jmp 0x7ba2cc
nop
lea rcx, [rbp + 0x30]
call fcn.0040ffb0
mov eax, dword [rbp + 0x7c]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret

Function at 0x7c10f0
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea rdx, [0x008e2bf0]
mov eax, ecx
mov r8d, 8
mov r9d, eax
and r9d, 1
test r9b, r9b
je 0x7c1119
shr eax, 1
xor eax, 0xedb88320
jmp 0x7c111c
shr eax, 1
sub r8d, 1
test r8d, r8d
jne 0x7c1102
nop
mov dword [rdx], eax
add ecx, 1
add rdx, 4
cmp ecx, 0x100
jne 0x7c10f9
nop
mov byte [0x008e2ff0], 1
ret
Function at 0x7c1140
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, r8d
mov edi, ecx
cmp byte [0x008e2ff0], 0
jne 0x7c115d
call fcn.007c10f0
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x7c11a3
sub edx, ecx
add edx, 1
lea rcx, [0x008e2bf0]
movsxd r8, eax
movzx r8, byte [rbx + r8]
mov r9d, edi
xor r9d, r8d
and r9d, 0xff
mov r9d, r9d
shr edi, 8
mov ecx, dword [rcx + r9*4]
xor ecx, edi
mov edi, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x7c116f
nop
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x816460
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xca
jne 0x8164af
mov rcx, qword [rsp + 0x40]
call fcn.00817270
mov r11, qword [rsp + 0x40]
cmp dword [r11 + 0x58], 0
je 0x8164a3
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcf
mov eax, 1
jmp 0x8165f9
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcb
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcb
jne 0x8165b0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x240]
cmp dword [rax + 0x20], 0
je 0x816598
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x8164f3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x240]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x816518
xor eax, eax
jmp 0x8165f9
cmp dword [rsp + 0x20], 2
jne 0x816521
jmp 0x816598
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x816593
cmp dword [rsp + 0x20], 3
je 0x81653b
cmp dword [rsp + 0x20], 1
jne 0x816593
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 8]
add ecx, 1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov dword [rax + 8], ecx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0xc]
cmp dword [rcx + 8], eax
jl 0x816593
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x40]
add ecx, dword [rax + 0x1a4]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov dword [rax + 0xc], ecx
jmp 0x8164d7
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xac]
mov dword [rcx + 0xb4], eax
jmp 0x8165ef
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x8165ef
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov dword [rax + 0x28], 0x14
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.00816610
add rsp, 0x38
ret
Function at 0x816610
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x816656
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
cmp dword [rax + 0x10], 0
je 0x81675d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
cmp dword [rcx + 0xa8], eax
jae 0x816721
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x8166d2
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x40]
add r8, 0xa8
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x228]
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov r11, qword [rsp + 0x40]
mov eax, dword [rsp + 0x20]
cmp dword [r11 + 0xa8], eax
jne 0x81671c
xor eax, eax
jmp 0x81678b
jmp 0x81666c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
jmp 0x816656
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x5c], 0
je 0x816772
mov dword [rsp + 0x24], 0xce
jmp 0x81677a
mov dword [rsp + 0x24], 0xcd
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x24]
mov dword [rcx + 0x24], eax
mov eax, 1
add rsp, 0x38
ret
Function at 0x83b860
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
mov dword [rbp + 0x34], r9d
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
nop
mov esi, dword [rbp + 0x34]
mov rcx, qword [rbp + 0x20]
call fcn.0040ffb0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x28]
call fcn.00417950
xor eax, eax
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x83b8ae
mov eax, dword [rcx - 4]
xor ecx, ecx
mov edx, eax
sub edx, 1
mov ebx, ecx
cmp ebx, edx
jg 0x83b8fd
sub edx, ecx
add edx, 1
movsxd rax, ebx
mov rcx, qword [rbp + 0x48]
lea rcx, [rcx + rax]
movzx r8d, si
shr r8d, 8
xor byte [rcx], r8b
mov rcx, qword [rbp + 0x48]
movzx ax, byte [rcx + rax]
add ax, si
imul ax, word [rbp + 0x90]
add ax, word [rbp + 0x98]
mov esi, eax
add ebx, 1
sub edx, 1
test edx, edx
jne 0x83b8c0
nop
xor eax, eax
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x83b90c
mov eax, dword [rcx - 4]
xor ecx, ecx
mov esi, eax
sub esi, 1
mov ebx, ecx
cmp ebx, esi
jg 0x83b951
sub esi, ecx
add esi, 1
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0x48]
movsxd rdx, ebx
movzx rdx, byte [rax + rdx]
mov r8d, 2
call fcn.00436780
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x38]
call fcn.00411680
add ebx, 1
sub esi, 1
test esi, esi
jne 0x83b91e
nop
nop
lea rcx, [rbp + 0x38]
call fcn.0040ffb0
lea rcx, [rbp + 0x48]
call fcn.00410000
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret

Function at 0x83b9b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x10
mov rbp, rsp
mov word [rbp + 0xa], 0xf7b
mov word [rbp + 0xc], 0xf9c
mov word [rbp + 0xe], 0x18c3
cmp r8d, dword [rbp + 0x40]
jne 0x83ba20
mov ecx, 1
mov eax, ecx
cmp eax, r8d
ja 0x83ba1b
sub r8d, ecx
add r8d, 1
movzx eax, word [rbp + 0xe]
shr eax, 8
movzx rcx, byte [rdx]
xor cl, al
mov eax, ecx
mov byte [r9], al
add al, byte [rbp + 0xe]
movzx ax, al
imul ax, word [rbp + 0xa]
add ax, word [rbp + 0xc]
mov word [rbp + 0xe], ax
add rdx, 1
add r9, 1
sub r8d, 1
test r8d, r8d
jne 0x83b9e4
nop
mov al, 1
jmp 0x83ba22
xor eax, eax
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x843b70
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x10
mov rbp, rsp
mov word [rbp + 0xa], 0xf7b
mov word [rbp + 0xc], 0xf9c
mov word [rbp + 0xe], 0x18c3
cmp edx, r9d
jne 0x843bdf
mov r9d, 1
mov eax, r9d
cmp eax, edx
ja 0x843bda
sub edx, r9d
add edx, 1
movzx eax, word [rbp + 0xe]
shr eax, 8
movzx r9, byte [rcx]
xor r9b, al
mov eax, r9d
mov byte [r8], al
add al, byte [rbp + 0xe]
movzx ax, al
imul ax, word [rbp + 0xa]
add ax, word [rbp + 0xc]
mov word [rbp + 0xe], ax
add rcx, 1
add r8, 1
sub edx, 1
test edx, edx
jne 0x843ba3
nop
mov al, 1
jmp 0x843be1
xor eax, eax
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x850320
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rax, qword [0x008d5968]
mov rcx, qword [rax]
call fcn.008395e0
xor ecx, ecx
xor edx, edx
lea r8, [0x0084fae0]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x850850
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, edx
call sub.user32.dll_GetKeyState
test ax, 0x80
setg al
add rsp, 0x28
ret

Function at 0x850ef0
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], r8
nop
mov rcx, qword [rbp + 0x58]
call fcn.0040ffb0
nop
mov rcx, qword [rbp + 0x60]
call sub.user32.dll_GetWindowTextLengthW
test eax, eax
je 0x850f8f
mov rcx, qword [rbp + 0x60]
call sub.user32.dll_GetWindowTextLengthW
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.004115a0
mov dword [rbp + 0x34], 0
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x850f52
mov eax, dword [rax - 4]
mov dword [rbp + 0x34], eax
mov rcx, qword [rbp + 0x38]
call fcn.00411310
mov rcx, qword [rbp + 0x60]
mov rdx, rax
mov r8d, dword [rbp + 0x34]
add r8d, 1
call sub.user32.dll_GetWindowTextW
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x38]
call fcn.00410600
jmp 0x850f8f
nop
lea rcx, [rbp + 0x38]
call fcn.0040ffb0
mov rax, qword [rbp + 0x58]
lea rsp, [rbp + 0x40]
pop rbp
ret