joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400071a0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov edi, ecx
xor ecx, ecx
mov rbx, rdx
test rdx, rdx
je 0x1400071bb
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000729a
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov ecx, edi
call qword [sym.imp.USER32.DLL_GetClipboardFormatNameW]
lea rdx, [0x1400f1b40]
lea rcx, [rsp + 0x20]
mov r8d, reloc.OLEAUT32.DLL_VariantChangeType
call fcn.1400d7250
test eax, eax
je 0x140007287
lea rdx, [0x1400f1b58]
lea rcx, [rsp + 0x20]
call fcn.1400d6a7c
test eax, eax
je 0x140007287
lea rdx, [0x1400f1b70]
lea rcx, [rsp + 0x20]
call fcn.1400d6a7c
test eax, eax
je 0x140007287
lea rdx, [0x1400f1b88]
lea rcx, [rsp + 0x20]
call fcn.1400d6a7c
test eax, eax
je 0x140007287
lea rdx, [0x1400f1b98]
lea rcx, [rsp + 0x20]
call fcn.1400d6a7c
test eax, eax
je 0x140007287
lea rdx, [0x1400f1bb8]
lea rcx, [rsp + 0x20]
call fcn.1400d6a7c
test eax, eax
je 0x14000727c
lea rdx, [0x1400f1be0]
lea rcx, [rsp + 0x20]
call fcn.1400d6a7c
test eax, eax
jne 0x14000729f
test rbx, rbx
je 0x140007287
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.DLL_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x1400072c0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400072da
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rcx, qword [0x14012aab8]
mov edi, eax
call qword [sym.imp.USER32.DLL_OpenClipboard]
test eax, eax
jne 0x140007354
xor esi, esi
nop
mov ecx, dword [0x140125590]
cmp ecx, 0xffffffff
je 0x140007324
test ecx, ecx
je 0x140007370
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [0x140125590]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140007370
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140125594], esi
call fcn.140001b60
mov rcx, qword [0x14012aab8]
mov dword [0x140125594], 1
call qword [sym.imp.USER32.DLL_OpenClipboard]
test eax, eax
je 0x140007300
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140007750
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
movzx ebp, r9w
mov qword [rdi], 0
mov r12d, r8d
mov r13d, edx
mov byte [r14], 0
call qword [sym.imp.WSOCK32.DLL_gethostbyname]
mov rsi, rax
test rax, rax
je 0x140007828
cmp word [rax + 0x10], 2
mov qword [rsp + 0x40], rbx
jne 0x1400077eb
cmp word [rax + 0x12], 4
jne 0x1400077eb
mov rbx, qword [rax + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400077eb
nop dword [rax]
mov r9d, dword [rcx]
movzx r8d, bp
mov edx, r12d
mov ecx, r13d
call fcn.1400076b0
mov qword [rdi], rax
test rax, rax
je 0x140007821
mov rcx, qword [rbx + 8]
add rbx, 8
lea rdi, [rax + 0x28]
test rcx, rcx
jne 0x1400077c0
mov r8, qword [rsi]
mov r9d, 0x400
mov rcx, r14
lea edx, [r9 + 1]
call fcn.1400d7e2c
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
mov eax, 8
jmp 0x140007802
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
sub eax, 0x2af9
je 0x14000783f
dec eax
je 0x14000784d
dec eax
je 0x140007846
dec eax
mov eax, 0x2af9
jmp 0x140007807
mov eax, 0x2afb
jmp 0x140007807
mov eax, 0x2afa
jmp 0x140007807
Function at 0x1400080c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x1401293c0], 0
lea rax, [0x140007b20]
lea rbx, [0x1400f1dd0]
mov qword [rsp + 0x28], rax
lea rax, [0x1400f1dc0]
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140007e40]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, [0x1400f1db0]
mov qword [rsp + 0x40], rax
lea rax, [fcn.140007ac0]
mov qword [rsp + 0x48], rax
jne 0x14000827a
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x140008270
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x280], rsi
call fcn.1400d7dc8
lea r8, [0x1400f1df0]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d829c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400081a2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
jne 0x140008202
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d7dc8
lea r8, [0x1400f1df8]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d829c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008268
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
jne 0x140008202
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x140008268
mov qword [rsp + 0x288], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x140008257
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008211
mov rax, qword [rsp + 0x28]
mov qword [0x140124930], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140124940], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.140007ac0], rax
jmp 0x140008260
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x1401293c0], 1
mov rbx, qword [rsp + 0x290]
movzx eax, bp
lea rcx, [0x140124928]
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x140008680
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
movzx edi, byte [rcx + 0xb4]
mov rbp, rcx
test dil, dil
je 0x140008792
xor al, al
cmp qword [0x14012ac08], 0
mov qword [rsp + 0x80], r12
movzx eax, al
mov r12d, 1
cmovne eax, r12d
cmp qword [0x14012ac10], 0
je 0x1400086c8
or al, 2
cmp dil, al
je 0x140008783
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
movzx esi, dil
xor ebx, ebx
mov ecx, dword [0x1401298f8]
xor r9d, r9d
mov r8, rsi
mov edx, 0x417
call qword [sym.imp.USER32.DLL_PostThreadMessageW]
test eax, eax
jne 0x14000870c
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.DLL_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x1400086e1
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rsi, qword [rsp + 0x78]
mov ebx, eax
nop dword [rax]
test dil, dil
je 0x1400087a0
mov r9d, 0x417
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, r9d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x1400087a9
cmp qword [rsp + 0x40], 0
je 0x14000877e
xorpd xmm3, xmm3
lea rcx, [0x1400f4da0]
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140125594], 0
mov qword [rsp + 0x20], 0
call fcn.1400c0050
mov dword [0x140125594], r12d
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
mov byte [rbp + 0xb4], 0
mov rbp, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
call fcn.140014750
test al, al
je 0x14000877e
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x14000877e
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x140008720
Function at 0x14000a5f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x20
cmp byte [rcx + 0x23], 0
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
jne 0x14000a616
mov rax, qword [rcx + 0x10]
movzx ecx, byte [rax + 0x21]
jmp 0x14000a61a
movzx ecx, byte [rcx + 0x21]
and cl, 1
mov byte [rdx + 0x5b], cl
movzx ecx, byte [rbx + 0x23]
test cl, cl
jne 0x14000a630
mov rax, qword [rbx + 0x10]
movzx ecx, byte [rax + 0x23]
xor r12d, r12d
cmp cl, 1
mov qword [rsp + 0x48], rsi
setne al
mov byte [rdx + 0x59], al
test al, al
je 0x14000a77b
movzx ecx, byte [rbx + 0x23]
test ecx, ecx
je 0x14000a6d0
dec ecx
je 0x14000a681
dec ecx
je 0x14000a66c
dec ecx
je 0x14000a6c0
mov rdx, qword [rbx + 0x28]
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.DLL_SafeArrayGetElement]
jmp 0x14000a6db
xor ecx, ecx
call fcn.140006b40
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, r12
jmp 0x14000a6db
mov rcx, rbx
call fcn.140001130
cmp dword [0x14012ac4c], r12d
jne 0x14000a6c5
cmp qword [rbx + 0x10], r12
jne 0x14000a6c5
mov rcx, qword [rbx + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x14000a6b9
mov qword [0x14012e1a8], r12
dec eax
jmp 0x14000a6db
mov qword [0x14012e1a8], rbx
mov rax, r12
jmp 0x14000a6db
mov rax, qword [rbx + 0x10]
shr rax, 1
jmp 0x14000a6db
mov rcx, qword [rbx + 0x10]
xor edx, edx
call fcn.1400bda90
mov rcx, qword [rbp]
lea rsi, [rax + 1]
test rcx, rcx
je 0x14000a6f6
call fcn.1400d8888
lea rcx, [rsi + rsi]
cmp rax, rcx
jae 0x14000a727
mov rcx, qword [rbp]
call fcn.1400d6fc8
mov eax, 0x104
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + rsi]
call fcn.1400d6f08
mov qword [rbp], rax
test rax, rax
jne 0x14000a727
mov eax, 0x3e6
jmp 0x14000a7b2
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.1400bda90
mov r11, qword [rbp]
mov dword [rdi + 0x30], r12d
mov qword [rdi + 0x20], r11
cmp dword [0x14012d254], r12d
je 0x14000a7b0
cmp qword [0x14012d238], r12
je 0x14000a765
mov rcx, qword [0x14012d228]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov qword [0x14012d238], r12
call qword [sym.imp.USER32.DLL_CloseClipboard]
mov dword [0x14012d254], r12d
mov qword [0x14012d228], r12
jmp 0x14000a7b0
cmp byte [rbx + 0x23], r12b
jne 0x14000a787
mov rax, qword [rbx + 0x10]
jmp 0x14000a78a
mov rax, rbx
test byte [rax + 0x21], 4
je 0x14000a7a4
lea rax, [0x1400f1524]
mov dword [rdx + 0x30], 3
mov qword [rdx + 0x20], rax
jmp 0x14000a7b0
add rdx, 0x20
mov rcx, rbx
call fcn.1400073f0
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
Function at 0x14000cff0
Capabilities:
Receive data
Receive data on socket

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
xor esi, esi
mov r12, rdx
mov rbx, rcx
mov edi, esi
mov rcx, qword [rbx + 0x50]
cmp rdi, rcx
jae 0x14000d034
mov rax, qword [rbx + 0x40]
cmp byte [rax + rdi], 0
je 0x14000d0b6
inc esi
mov edi, esi
cmp rdi, rcx
jb 0x14000d021
cmp rcx, qword [rbx + 0x48]
jne 0x14000d089
mov rcx, qword [rbx + 0x48]
lea rax, [rcx + rcx]
test rcx, rcx
jne 0x14000d04c
mov eax, 0x800
cmp dword [rbx + 0x58], 0
jne 0x14000d0ca
test rcx, rcx
mov ebp, 0x800
cmovne rbp, rcx
cmp rbp, rax
jae 0x14000d06b
add rbp, rbp
cmp rbp, rax
jb 0x14000d063
cmp rbp, rcx
jbe 0x14000d089
mov rcx, qword [rbx + 0x40]
mov rdx, rbp
call fcn.1400d7008
test rax, rax
je 0x14000d0c3
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rbp
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x20]
sub r8d, dword [rbx + 0x50]
add rdx, qword [rbx + 0x50]
xor r9d, r9d
call qword [sym.imp.WSOCK32.DLL_recv]
cmp eax, 0xffffffff
je 0x14000d0ca
cdqe
add qword [rbx + 0x50], rax
jmp 0x14000d014
test r12, r12
je 0x14000d0bf
mov dword [r12], esi
xor eax, eax
jmp 0x14000d0d6
mov dword [rbx + 0x58], 1
lea rcx, [0x1400f29b0]
call fcn.14000d6c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14000d100
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x20]
add rcx, 0x26
mov r8d, 0xa
call fcn.1400d8698
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.1400d8280
lea r8, [0x1400f2a88]
lea rdx, [0x1400f2ab0]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.1400d81bc
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x20]
movsxd r8, eax
lea rax, [rsp + 0x20]
xor r9d, r9d
add r8, rbx
sub r8d, eax
call qword [sym.imp.WSOCK32.DLL_send]
cmp eax, 0xffffffff
je 0x14000d1cd
cmp dword [rdi + 0x78], 0
jne 0x14000d1cd
mov rdx, qword [rdi + 0x70]
lea rcx, [rdi + 0x60]
inc rdx
call fcn.14000e0e0
test eax, eax
jne 0x14000d1cd
mov rcx, qword [rdi + 0x70]
movzx eax, byte [0x1400f1524]
xor r9d, r9d
add rcx, qword [rdi + 0x60]
mov byte [rcx], al
inc qword [rdi + 0x70]
mov r8d, dword [rdi + 0x70]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.DLL_send]
cmp eax, 0xffffffff
je 0x14000d1cd
xor eax, eax
mov qword [rdi + 0x70], rax
mov dword [rdi + 0x78], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, [0x1400f29b0]
call fcn.14000d6c0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000d790
Capabilities:
Encode data using base64

Disassembly:
push rbx
xor r9d, r9d
mov qword [rsp + 0x10], rdi
mov r11, rdx
mov r10, rcx
cmp r8, 0xffffffffffffffff
jne 0x14000d7b7
or rcx, r8
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rbx, [0x1400f1c00]
cmp r8, 2
jbe 0x14000d85e
lea rcx, [r8 - 3]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rdi, rdx
shr rdi, 1
inc rdi
mov rax, rdi
imul rax, rax, 0xfffffffffffffffd
add r8, rax
nop dword [rax]
movzx eax, byte [r11 + 1]
movzx ecx, byte [r11]
add r9, 4
shl ecx, 8
add r11, 3
or ecx, eax
movzx eax, byte [r11 - 1]
shl ecx, 8
movsxd rdx, ecx
or rdx, rax
mov rax, rdx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r10 + r9 - 4], al
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r10 + r9 - 3], al
mov rax, rdx
and edx, 0x3f
shr rax, 6
and eax, 0x3f
dec rdi
movzx eax, byte [rax + rbx]
mov byte [r10 + r9 - 2], al
movzx eax, byte [rdx + rbx]
mov byte [r10 + r9 - 1], al
jne 0x14000d7f0
mov rdi, qword [rsp + 0x10]
test r8, r8
je 0x14000d8d2
movzx eax, byte [r11]
shl eax, 0x10
movsxd rcx, eax
cmp r8, 1
jbe 0x14000d885
movzx eax, byte [r11 + 1]
shl eax, 8
cdqe
or rcx, rax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + r10], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + r10 + 1], al
cmp r8, 1
jbe 0x14000d8bd
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + rbx]
jmp 0x14000d8bf
mov al, 0x3d
mov byte [r9 + r10 + 2], al
mov word [r9 + r10 + 3], 0x3d
lea rax, [r9 + 4]
pop rbx
ret
mov byte [r9 + r10], 0
mov rax, r9
pop rbx
ret

Function at 0x14000e8f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
xor r8d, r8d
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x14000e961
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e994
mov eax, dword [rdi + 0x20]
dec eax
mov dword [rdi + 0x20], eax
jne 0x14000e942
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e93a
call fcn.1400d6fc8
mov rcx, rdi
call fcn.1400d6fc0
mov qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov rcx, rbx
call fcn.14000eea0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14000eca0
mov r11, qword [rbx + 8]
mov r8d, edi
mov rdx, qword [r11]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400158d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
xor al, al
cmp qword [0x14012ac08], 0
mov esi, 1
movzx edi, al
cmovne edi, esi
cmp qword [0x14012ac10], 0
je 0x1400158fb
or dil, 2
xor ebp, ebp
mov qword [rsp + 0x58], rbx
test dil, dil
je 0x140015a55
mov qword [rsp + 0x60], r12
mov ebx, ebp
mov ecx, dword [0x1401298f8]
mov r9, rsi
xor r8d, r8d
mov edx, 0x417
call qword [sym.imp.USER32.DLL_PostThreadMessageW]
test eax, eax
jne 0x14001593d
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.DLL_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x140015912
xor r12b, r12b
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebx, eax
nop dword [rax + rax]
mov rcx, qword [0x14012b668]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp dword [rsp + 0x50], 0x103
jne 0x140015985
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x14001599e
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x140015950
mov rcx, qword [0x14012b668]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [0x14012b668], rbp
call fcn.140014780
cmp qword [0x14012ac08], rbp
je 0x1400159c6
test sil, dil
jne 0x1400159df
lea r8, [0x1400f4d68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov qword [0x14012b658], rax
jmp 0x1400159df
test sil, dil
je 0x1400159df
mov rcx, qword [0x14012b658]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [0x14012b658], rbp
cmp qword [0x14012ac10], rbp
je 0x140015a08
test dil, 2
jne 0x140015a22
lea r8, [0x1400f4d80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov qword [0x14012b660], rax
jmp 0x140015a22
test dil, 2
je 0x140015a22
mov rcx, qword [0x14012b660]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [0x14012b660], rbp
test r12b, r12b
mov r12, qword [rsp + 0x60]
je 0x140015a55
xorpd xmm3, xmm3
lea rcx, [0x1400f4da0]
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140125594], ebp
mov qword [rsp + 0x20], rbp
call fcn.1400c0050
mov dword [0x140125594], esi
mov rcx, qword [0x14012ac18]
test rcx, rcx
je 0x140015a67
call qword [sym.imp.USER32.DLL_UnhookWindowsHookEx]
mov r8, qword [0x140127158]
mov edi, ebp
cmp bp, word [r8]
jae 0x140015b0b
mov rdx, qword [0x14012c458]
mov r9, qword [0x14012c450]
mov rsi, rbp
nop dword [rax + rax]
mov rax, qword [0x14012b6a8]
mov rbx, qword [rsi + rax]
test rbx, rbx
je 0x140015afd
cmp byte [rbx + 0x18], bpl
je 0x140015ad4
movzx edx, word [rbx + 4]
mov rcx, qword [0x14012aab8]
call qword [sym.imp.USER32.DLL_UnregisterHotKey]
mov r8, qword [0x140127158]
mov rdx, qword [0x14012c458]
mov r9, qword [0x14012c450]
test eax, eax
sete al
mov byte [rbx + 0x18], al
cmp rbx, rdx
jne 0x140015afd
test rdx, rdx
je 0x140015afd
mov rax, qword [r9 + 8]
mov rcx, rax
sub rcx, rdx
mov rdx, rbp
sub rax, rcx
add qword [r9 + 0x10], rcx
mov qword [0x14012c458], rdx
mov qword [r9 + 8], rax
movzx eax, word [r8]
inc edi
add rsi, 8
cmp edi, eax
jl 0x140015a90
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400161e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov eax, 0x1030
call fcn.1400e0a90
sub rsp, rax
cmp byte [0x14012d3f0], 0
mov rbx, rdx
mov rbp, rcx
jne 0x140016366
cmp dword [0x14012b69c], 0
jne 0x14001621b
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x14012b69c], eax
inc dword [0x14012d3f4]
mov qword [rsp + 0x1040], rsi
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov r9d, dword [0x14012d3f4]
mov edx, dword [0x1401255ac]
mov ecx, eax
sub ecx, dword [0x14012b69c]
cmp r9d, dword [0x1401255a8]
mov dword [0x14012b6a0], eax
jbe 0x1400162d9
cmp ecx, edx
jae 0x1400162d9
mov dword [rsp + 0x20], ecx
lea r8, [0x1400f5720]
lea rcx, [rsp + 0x30]
mov edx, 0x800
mov esi, 1
call fcn.1400b9310
call fcn.140014d70
lea edx, [rsi + 3]
xorpd xmm3, xmm3
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov byte [0x14012d3f0], sil
mov dword [0x140125594], 0
mov qword [rsp + 0x20], 0
call fcn.1400c0050
cmp eax, 7
jne 0x1400162c4
lea edx, [rsi + 3]
lea rcx, [0x14012c5c0]
xor r8d, r8d
call fcn.14002a1f0
mov eax, dword [0x14012b6a0]
mov dword [0x140125594], esi
mov byte [0x14012d3f0], 0
jmp 0x1400162df
xor esi, esi
cmp ecx, edx
jbe 0x1400162f3
mov dword [0x14012d3f4], 0
mov dword [0x14012b69c], eax
test esi, esi
jne 0x14001635e
movzx eax, byte [rbp + 0xf]
xor r9d, r9d
xor r8d, r8d
mov byte [0x14012d13e], al
inc byte [rbx + 0x22]
mov rdx, qword [0x14012d090]
mov rcx, rbx
mov qword [rsp + 0x20], 0
call fcn.1400b37b0
dec byte [rbx + 0x22]
test eax, eax
jne 0x14001632a
mov byte [rbx + 0x27], al
jmp 0x14001635e
cmp byte [rbx + 0x27], 0
je 0x14001635e
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14001635e
movzx r8d, word [rbp + 4]
mov rcx, qword [0x14012aab8]
xor r9d, r9d
mov edx, 0x312
call qword [sym.imp.USER32.DLL_PostMessageW]
mov rsi, qword [rsp + 0x1040]
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rbp
ret
Function at 0x14001f240
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
cmp dword [0x14012b780], 2
movzx ebp, r8b
mov ebx, edx
sete sil
movzx edi, cx
test sil, sil
je 0x14001f29a
movzx ecx, cx
lea rdx, [rsp + 0x30]
test ecx, 0xffffff80
je 0x14001f287
mov eax, gethostbyname
lea rdx, [rsp + 0x32]
mov word [rsp + 0x30], ax
mov r8d, 0xa
call fcn.1400d67d0
movzx edi, word [rsp + 0xa8]
test ebx, ebx
jle 0x14001f368
mov qword [rsp + 0xa0], r12
xor r12d, r12d
nop dword [rax]
cmp dword [0x14012b780], r12d
jne 0x14001f31a
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rcx, qword [0x1401255c8]
sub eax, dword [0x14012d1a4]
cmp eax, dword [rcx + 0x118]
jbe 0x14001f31a
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x14001f30e
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140125594], r12d
call fcn.140001b60
mov dword [0x140125594], 1
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x14012d1a4], eax
test sil, sil
je 0x14001f32b
lea rcx, [rsp + 0x30]
call fcn.14001f380
jmp 0x14001f337
movzx edx, bpl
movzx ecx, di
call fcn.14001d170
cmp dword [0x14012b780], 2
mov rax, qword [0x1401255c8]
jne 0x14001f34f
mov ecx, dword [rax + 0x80]
jmp 0x14001f352
mov ecx, dword [rax + 0x7c]
call fcn.140021620
dec rbx
jne 0x14001f2b0
mov r12, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret