joyce8/EMBER2024-capa huggingface dataset:
Function at 0x689850
Capabilities:
Get keyboard layout

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x90], rcx
nop
mov byte [0x007ec1d0], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x00581a80]
mov dl, 1
call fcn.005831a0
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.00583450
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.004129a0
lea rcx, [rbp + 0x30]
lea rdx, [0x00689a38]
mov r8, qword [rbp + 0x28]
call fcn.00412d00
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.00583840
test al, al
je 0x68998a
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x00689aac]
call fcn.005844b0
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.00447040
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x68998a
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x00689ac4]
call fcn.00422660
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x689980
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x689980
mov rcx, qword [rbp + 0x90]
call fcn.006897c0
test eax, eax
je 0x689964
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x68996e
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
and eax, 1
cmp eax, 1
sete al
mov byte [0x007ec1d0], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040de00
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.00411100
lea rcx, [rbp + 0x68]
call fcn.00411020
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x689b40
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rsi, rcx
lea rdi, [rbp + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movzx bx, byte [rbp + 0x28]
test bx, bx
je 0x689b9c
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x689b78
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x689b8c
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x689b9c
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x69d0a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x0069d108]
mov eax, ecx
test ax, 4
je 0x69d0ba
or bx, 1
mov eax, ecx
test ax, 8
je 0x69d0c7
or bx, 4
mov eax, ecx
test ax, 1
je 0x69d0d4
or bx, 8
mov eax, ecx
test ax, 2
je 0x69d0e1
or bx, 0x10
test cx, 0x10
je 0x69d0ec
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x69d0ff
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x69d110
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x0069d15c]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x69d133
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x69d146
or si, 4
test ebx, 0x20000000
je 0x69d152
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6ac7b0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x510
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x520], rcx
nop
mov rax, qword [rbp + 0x520]
cmp qword [rax + 0x80], 0
jne 0x6ac9bd
mov rcx, qword [0x004c7128]
mov dl, 1
call fcn.005046c0
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.00411020
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor eax, eax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov ecx, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], ecx
jg 0x6ac9a0
mov ecx, dword [rbp + 0x3c]
sub ecx, eax
add ecx, 1
mov dword [rbp + 0x3c], ecx
lea rax, [rbp + 0x2f0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
call fcn.005e40d0
test al, al
je 0x6ac987
mov rax, qword [rbp + 0x60]
movzx eax, word [rax]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x70]
lea rdx, [0x006aca28]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00438af0
mov rcx, 0xffffffff80000002
mov rdx, rax
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x508]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x6ac987
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x006aca96]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4f4]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6ac97a
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.004129a0
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r8, qword [r8]
mov rax, qword [rax]
call qword [rax + 0x80]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rax]
cmp rax, qword [rcx + 0x90]
jne 0x6ac97a
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.004129a0
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey
add qword [rbp + 0x60], 8
mov eax, dword [rbp + 0x3c]
sub eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
test eax, eax
jne 0x6ac863
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.00504540
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.00411020
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x6adad0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x00812d38]
cmp byte [rax + 0x159], 0
jne 0x6adb6e
cmp qword [0x00812d70], 0
jne 0x6adb15
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x007ee590]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x00812d70], rax
cmp qword [0x00812d68], 0
jne 0x6adb35
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x00812d68], rax
cmp qword [0x00812d78], 0
jne 0x6adb6e
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x007ee588]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x00812d78], rax
add rsp, 0x48
ret

Function at 0x6aed10
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
mov rax, qword [rbx + 0x2e0]
test rax, rax
je 0x6aedef
cmp dword [rbx + 0x128], 0
jne 0x6aede5
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x006aec10]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x6aede5
mov rcx, qword [rbp + 0x40]
mov edx, 3
call sub.user32.dll_GetWindow
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x40]
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
test rax, 8
je 0x6aed93
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x6aede4
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.004fc700
mov rcx, rax
mov rdx, qword [rbp + 0x40]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x213
call sub.user32.dll_SetWindowPos
sub esi, 1
cmp esi, 0xffffffff
jne 0x6aeda4
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6af260
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x00812d38]
cmp qword [rax + 0x2e0], 0
je 0x6af424
test sil, sil
jne 0x6af34c
cmp dword [rbx + 0x138], 0
jne 0x6af33d
mov rcx, rbx
call fcn.006b3cd0
lea rcx, [0x006af120]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6af2ff
mov rax, qword [0x00812d38]
cmp byte [rax + 0x193], 0
je 0x6af2ff
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6af2d9
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6af2fe
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor edx, edx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6af2e1
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6af33c
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004fc700
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6af310
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6af424
cmp dword [rbx + 0x138], 0
jle 0x6af424
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6af424
cmp qword [rbx + 0xa8], 0
je 0x6af3c3
mov rax, qword [0x00812d38]
cmp byte [rax + 0x193], 0
je 0x6af3c3
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6af39a
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6af3c2
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6af3a2
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6af400
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004fc700
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6af3d4
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x00697cf8]
call fcn.00415c40
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6b0740
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x158], 0
je 0x6b07ac
cmp byte [rbx + 0x193], 0
jne 0x6b07ac
mov rcx, qword [rbx + 0x2e0]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.00411320
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x6b0797
mov eax, dword [rcx - 4]
test eax, eax
jne 0x6b07bb
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.00411690
jmp 0x6b07bb
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.00411690
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6bf0b0
Capabilities:
Hide graphical window

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
cmp qword [rbx + 0xd0], 0
jne 0x6bf16b
mov rcx, qword [rbx + 0x10]
call fcn.005da6a0
mov rcx, qword [0x005edcc8]
mov dl, 1
mov r8, rax
call fcn.005d12d0
mov qword [rbx + 0xd0], rax
mov rsi, qword [rbx + 0xd0]
mov rcx, rsi
xor edx, edx
call fcn.005f5cf0
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006be730]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xd0]
call fcn.005da6a0
mov rdi, rax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
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 + 0xd0]
call fcn.005da6a0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xf0], 0
jne 0x6bf21a
mov rcx, qword [rbx + 0x10]
call fcn.005da6a0
mov rcx, qword [0x005edcc8]
mov dl, 1
mov r8, rax
call fcn.005d12d0
mov qword [rbx + 0xf0], rax
mov rsi, qword [rbx + 0xf0]
mov rcx, rsi
mov dl, 1
call fcn.005f5cf0
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006be790]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xf0]
call fcn.005da6a0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
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 + 0xf0]
call fcn.005da6a0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6bf2c2
mov rcx, qword [rbx + 0x10]
call fcn.005da6a0
mov rcx, qword [0x005eed70]
mov dl, 1
mov r8, rax
call fcn.005d12d0
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov byte [rsi + 0x4a8], 1
mov rcx, qword [rbx + 0xe0]
call fcn.005da6a0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov r13d, eax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005da6a0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x6c7af0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x6c7b1b
mov rax, qword [rbp + 0x28]
mov rax, qword [rax - 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
lea rax, [rax - 1]
mov dword [rbp + 0x38], eax
mov rcx, qword [rbp + 0x50]
mov rdx, qword [0x006ce170]
mov r8d, 1
mov r9d, dword [rbp + 0x38]
add r9d, 1
movsxd r9, r9d
call fcn.00415a70
mov eax, 1
mov ecx, dword [rbp + 0x38]
mov dword [rbp + 0x3c], eax
cmp dword [rbp + 0x3c], ecx
jg 0x6c7bdd
sub ecx, eax
add ecx, 1
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
mov edx, dword [rbp + 0x3c]
sub edx, 1
movsxd rdx, edx
add rdx, rdx
mov r8, qword [rbp + 0x58]
mov r9d, dword [rbp + 0x38]
sub r9d, dword [rbp + 0x3c]
movsxd r9, r9d
add r9, r9
movsd xmm0, qword [r8 + r9*8]
xorpd xmm0, xmmword [0x006c7c50]
movsd qword [rax + rdx*8], xmm0
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
mov edx, dword [rbp + 0x3c]
sub edx, 1
movsxd rdx, edx
add rdx, rdx
mov r8, qword [rbp + 0x58]
mov r9d, dword [rbp + 0x38]
sub r9d, dword [rbp + 0x3c]
movsxd r9, r9d
add r9, r9
movsd xmm0, qword [r8 + r9*8 + 8]
xorpd xmm0, xmmword [0x006c7c50]
movsd qword [rax + rdx*8 + 8], xmm0
add dword [rbp + 0x3c], 1
sub ecx, 1
test ecx, ecx
jne 0x6c7b60
nop
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
movsxd rcx, dword [rbp + 0x38]
add rcx, rcx
mov rdx, qword [rbp + 0x58]
movsxd r8, dword [rbp + 0x38]
add r8, r8
movsd xmm0, qword [rdx + r8*8]
xorpd xmm0, xmmword [0x006c7c50]
movsd qword [rax + rcx*8], xmm0
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
movsxd rcx, dword [rbp + 0x38]
add rcx, rcx
mov rdx, qword [rbp + 0x58]
movsxd r8, dword [rbp + 0x38]
add r8, r8
movsd xmm0, qword [rdx + r8*8 + 8]
xorpd xmm0, xmmword [0x006c7c50]
movsd qword [rax + rcx*8 + 8], xmm0
mov rax, qword [rbp + 0x50]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x6d8ab0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbp
push rbx
sub rsp, 0x168
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x180], rcx
mov dword [rbp + 0x188], edx
nop
cmp dword [rbp + 0x188], 0
je 0x6d8c9a
mov rcx, qword [rbp + 0x180]
call fcn.006d64a0
test al, al
jne 0x6d8c9a
mov ecx, 0x65
mov eax, dword [rbp + 0x188]
cdq
idiv ecx
mov dword [rbp + 0x188], edx
cvtsi2sd xmm0, dword [rbp + 0x188]
divsd xmm0, qword [0x006d8cc8]
movsd qword [rbp + 0x48], xmm0
movsd xmm0, qword [rbp + 0x48]
comisd xmm0, xmmword [0x006d8cd0]
jbe 0x6d8b86
mov dword [rbp + 0x15c], 0
cvtsi2sd xmm0, dword [rbp + 0x15c]
mov eax, 0xff
sub eax, dword [rbp + 0x15c]
cvtsi2sd xmm1, eax
mulsd xmm1, qword [rbp + 0x48]
addsd xmm0, xmm1
call fcn.0040c3f0
movsxd rcx, dword [rbp + 0x15c]
mov byte [rcx + rbp + 0x50], al
add dword [rbp + 0x15c], 1
cmp dword [rbp + 0x15c], 0x100
jne 0x6d8b40
nop
jmp 0x6d8bcd
mov dword [rbp + 0x15c], 0
cvtsi2sd xmm0, dword [rbp + 0x15c]
cvtsi2sd xmm1, dword [rbp + 0x15c]
mulsd xmm1, qword [rbp + 0x48]
addsd xmm0, xmm1
call fcn.0040c3f0
movsxd rcx, dword [rbp + 0x15c]
mov byte [rcx + rbp + 0x50], al
add dword [rbp + 0x15c], 1
cmp dword [rbp + 0x15c], 0x100
jne 0x6d8b90
nop
lea rcx, [rbp + 0x150]
mov rax, qword [rbp + 0x180]
mov rdx, qword [rax + 0x20]
call fcn.006d3150
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
je 0x6d8c02
mov rax, qword [rbp + 0x38]
mov rax, qword [rax - 8]
mov qword [rbp + 0x38], rax
xor eax, eax
mov rcx, qword [rbp + 0x38]
lea rcx, [rcx - 1]
mov dword [rbp + 0x15c], eax
cmp dword [rbp + 0x15c], ecx
jg 0x6d8c5a
sub ecx, eax
add ecx, 1
mov rax, qword [rbp + 0x150]
movsxd rdx, dword [rbp + 0x15c]
mov r8, qword [rbp + 0x150]
movsxd r9, dword [rbp + 0x15c]
movzx r8, byte [r8 + r9*4 + 1]
movzx r8, byte [r8 + rbp + 0x50]
mov byte [rax + rdx*4 + 1], r8b
add dword [rbp + 0x15c], 1
sub ecx, 1
test ecx, ecx
jne 0x6d8c1f
nop
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x150]
call fcn.006d31f0
mov rax, qword [rbp + 0x180]
lea rcx, [rax + 0x20]
mov rdx, qword [rbp + 0x28]
mov r8, qword [0x006cb7e8]
call fcn.00415cc0
mov rcx, qword [rbp + 0x180]
mov rax, qword [rbp + 0x180]
mov rbx, qword [rax]
call qword [rbx]
nop
lea rcx, [rbp + 0x28]
mov rdx, qword [0x006cb7e8]
call fcn.00415c40
lea rcx, [rbp + 0x150]
mov rdx, qword [0x006ce130]
call fcn.00415c40
lea rsp, [rbp + 0x168]
pop rbx
pop rbp
ret
Function at 0x6eeed0
Capabilities:
Authenticate hmac

Disassembly:
push rbp
sub rsp, 0x110
mov rbp, rsp
mov qword [rbp + 0x120], rcx
mov dword [rbp + 0x128], edx
mov qword [rbp + 0x130], r8
mov dword [rbp + 0x138], r9d
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x140], rax
cmp dword [rbp + 0x138], 0x40
jle 0x6eef5d
lea rcx, [rbp + 0xb8]
call fcn.006edb50
lea rcx, [rbp + 0xb8]
mov rdx, qword [rbp + 0x130]
mov r8d, dword [rbp + 0x138]
call fcn.006edba0
mov rcx, qword [rbp + 0x140]
lea rdx, [rbp + 0xb8]
call fcn.006edd10
mov dword [rbp + 0x138], 0x10
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x28], rax
jmp 0x6eef68
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x34], 0
mov eax, dword [rbp + 0x34]
add eax, 1
cmp eax, dword [rbp + 0x138]
jg 0x6eefaa
movsxd rax, dword [rbp + 0x34]
mov rcx, qword [rbp + 0x28]
movzx rcx, byte [rcx]
xor cl, 0x36
mov byte [rax + rbp + 0x78], cl
movsxd rax, dword [rbp + 0x34]
mov rcx, qword [rbp + 0x28]
movzx rcx, byte [rcx]
xor cl, 0x5c
mov byte [rax + rbp + 0x38], cl
add qword [rbp + 0x28], 1
jmp 0x6eefbc
movsxd rax, dword [rbp + 0x34]
mov byte [rax + rbp + 0x78], 0x36
movsxd rax, dword [rbp + 0x34]
mov byte [rax + rbp + 0x38], 0x5c
add dword [rbp + 0x34], 1
cmp dword [rbp + 0x34], 0x40
jne 0x6eef6f
nop
lea rcx, [rbp + 0xb8]
call fcn.006edb50
lea rcx, [rbp + 0xb8]
lea rdx, [rbp + 0x78]
mov r8d, 0x40
call fcn.006edba0
lea rcx, [rbp + 0xb8]
mov rdx, qword [rbp + 0x120]
mov r8d, dword [rbp + 0x128]
call fcn.006eece0
mov rcx, qword [rbp + 0x140]
lea rdx, [rbp + 0xb8]
call fcn.006edd10
lea rcx, [rbp + 0xb8]
call fcn.006edb50
lea rcx, [rbp + 0xb8]
lea rdx, [rbp + 0x38]
mov r8d, 0x40
call fcn.006edba0
lea rcx, [rbp + 0xb8]
mov rdx, qword [rbp + 0x140]
mov r8d, 0x10
call fcn.006edba0
mov rcx, qword [rbp + 0x140]
lea rdx, [rbp + 0xb8]
call fcn.006edd10
lea rsp, [rbp + 0x110]
pop rbp
ret
Function at 0x7001f0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov byte [rbp + 0xb0], r8b
mov qword [rbp + 0xb8], r9
nop
mov rcx, qword [rbp + 0xa0]
call fcn.00700720
nop
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x34]
test ax, 8
jne 0x7004b1
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x78]
test ax, 8
je 0x7003f3
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x78]
test ax, 1
je 0x700317
mov rax, qword [rbp + 0xa0]
cmp qword [rax + 0x80], 0
je 0x700317
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp + 0x58]
call fcn.007000b0
lea rcx, [rbp + 0x60]
mov edx, 3
mov r8, qword [rbp + 0x58]
mov rax, qword [rbp + 0xa0]
mov r9, qword [rax + 0xb0]
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x20], rax
call fcn.00412e30
mov rax, qword [rbp + 0xa0]
lea rbx, [rax + 0x80]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0xa8]
movzx r8, byte [rbp + 0xb0]
mov r9, qword [rbp + 0x60]
call qword [rbx]
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x78]
test ax, 4
je 0x70037f
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp + 0x48]
call fcn.007000b0
lea rcx, [rbp + 0x50]
mov edx, 3
mov r8, qword [rbp + 0x48]
mov rax, qword [rbp + 0xa0]
mov r9, qword [rax + 0xb0]
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x20], rax
call fcn.00412e30
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x78]
call fcn.004128e0
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x78]
test ax, 2
je 0x7004a2
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp + 0x38]
call fcn.007000b0
lea rcx, [rbp + 0x40]
mov edx, 4
mov r8, qword [rbp + 0x38]
mov rax, qword [rbp + 0xa0]
mov r9, qword [rax + 0xb0]
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x20], rax
lea rax, [0x00700528]
mov qword [rsp + 0x28], rax
call fcn.00412e30
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x40]
call fcn.00700100
jmp 0x7004a2
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x78]
test ax, 1
je 0x700441
mov rax, qword [rbp + 0xa0]
cmp qword [rax + 0x80], 0
je 0x700441
mov rax, qword [rbp + 0xa0]
lea rbx, [rax + 0x80]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0xa8]
movzx r8, byte [rbp + 0xb0]
mov r9, qword [rbp + 0xb8]
call qword [rbx]
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x78]
test ax, 4
je 0x700468
mov rcx, qword [rbp + 0xb8]
call fcn.004128e0
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [rbp + 0xa0]
movzx rax, word [rax + 0x78]
test ax, 2
je 0x7004a2
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0xb8]
lea r8, [0x00700528]
call fcn.00412d00
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x30]
call fcn.00700100
nop
mov rcx, qword [rbp + 0xa0]
call fcn.00700750
jmp 0x7004be
xor ecx, ecx
mov rdx, qword [rbp + 0x68]
call fcn.007004e0
jmp 0x7004bf
nop
lea rcx, [rbp + 0x30]
mov edx, 7
call fcn.00411100
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret