joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404d8c4f
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
not ah
mov al, r14b
cbw
mov qword [rsp + 0x18], rbp
movsx rax, r11w
push rsi
cmovnp rax, rsp
jmp 0x1404d8c7d
push rdi
mov al, 0xb9
xchg ah, ah
bswap ax
push r14
mov eax, 0x1450
jmp 0x1404d8c91
call fcn.1404452b6
sub rsp, rax
mov rax, qword [0x1400b7288]
ror r10w, 0xe6
xor rax, rsp
ror r10w, cl
mov qword [rsp + 0x1440], rax
sal al, 0xf7
or r14d, 0x39f26668
cmp al, r12b
movsxd r10, edx
mov rdi, rcx
inc dl
mov rax, r10
bts edx, r8d
mov ebp, r9d
shrd esi, ebp, 7
sar cx, cl
sub sil, 0x65
sar rax, 6
bts dx, di
rcr sil, 0xfa
lea rcx, [0x1400ba940]
rol dl, cl
ror rdx, 0x26
xchg dl, r14b
and r10d, 0x3f
test bx, r10w
sbb r14, 0x411b2048
add rbp, r8
bswap si
mov rsi, r8
btc r14w, r15w
stc
mov rax, qword [rcx + rax*8]
xor dl, spl
lea rdx, [r10 + r10*8]
shr r14b, cl
bt r14w, r14w
mov r14, qword [rax + rdx*8 + 0x28]
cmp cx, 0x315a
test edi, 0x6086976
stc
sub eax, eax
test dh, 0x93
clc
mov qword [rdi], rax
stc
test r14b, dil
test sp, 0x1192
mov dword [rdi + 8], eax
cmp r11b, r10b
cmp r8, rbp
jmp 0x1404d8d5c
jae 0x1404d8e68
lea rbx, [rsp + 0x40]
stc
cmp rsi, rbp
jmp 0x1404d8d70
jae 0x1404d8ddb
movzx eax, word [rsi]
cmc
add rsi, 2
jmp 0x1404d8d85
cmp ax, 0xa
jmp 0x1404d8d8e
jne 0x1404d8db9
add dword [rdi + 8], 2
xadd cl, cl
btr cx, 0xf9
mov ecx, 0xd
clc
jmp 0x1404d8dab
mov word [rbx], cx
test r14b, 0x3e
test spl, cl
add rbx, 2
mov word [rbx], ax
stc
xadd ax, ax
sbb ah, 0x4d
add rbx, 2
lea rax, [rsp + 0x143e]
clc
stc
cmp rbx, rax
jb 0x1404d8d68
and qword [rsp + 0x20], 0
rcl rdx, cl
neg cx
rol al, cl
lea rax, [rsp + 0x40]
bsf ecx, r13d
sub rbx, rax
lea r9, [rsp + 0x30]
sub dh, 0x89
bsf dx, r12w
sar rbx, 1
lea rdx, [rsp + 0x40]
add ebx, ebx
not cl
mov rcx, r14
bswap r8
mov r8d, ebx
jmp 0x1404d8e1c
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404d8e29
je 0x1404d8e58
mov eax, dword [rsp + 0x30]
add dword [rdi + 4], eax
cmc
clc
cmp eax, ebx
jmp 0x1404d8e3f
jb 0x1404d8e68
cmp rsi, rbp
jmp 0x1404d8e4d
jb 0x1404d8d62
jmp 0x1404d8e68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
add cl, spl
or ax, 0x2d71
lahf
mov rax, rdi
mov rcx, qword [rsp + 0x1440]
cmc
xor rcx, rsp
jmp 0x1404d8e7c
call fcn.14049c411
lea r11, [rsp + 0x1450]
mov di, di
jmp 0x1404d8e94
mov rbx, qword [r11 + 0x20]
cmovs rsi, r8
mov rbp, qword [r11 + 0x30]
movsx edi, ax
movsx di, r10b
mov rsp, r11
pop r14
movzx di, r14b
pop rdi
xchg sil, sil
pop rsi
ret
Function at 0x1404d9bdc
Capabilities:
Check for software breakpoints
Encrypt data using rc4 prga

Disassembly:
movsd qword [rsp + 0x20], xmm3
sub eax, eax
sbb ax, r12w
movsd qword [rsp + 0x18], xmm2
movzx eax, sp
ror r9b, 0x48
inc r9b
push rbx
xchg r9d, eax
cmp r11, 0x20b06080
rcr ax, 0xbe
sub rsp, 0x50
shl r9d, 0xcd
movsx r9d, bx
bt r9w, r13w
lea r9, [0x1400c6cb0]
rol ah, 0xcc
test cx, 0x696d
mov ebx, ecx
sbb eax, r15d
and al, 0x97
movzx ax, dil
mov rax, r9
test r13w, 0x18d3
jmp 0x1404d9c40
sub r8d, r8d
clc
stc
cmp dword [rax], edx
jmp 0x1404d9c4c
je 0x1404d9c88
inc r8d
rcl rcx, cl
bsf cx, cx
lea rcx, [0x1400c6e80]
add rax, 0x10
stc
cmp r12b, bpl
test di, cx
cmp rax, rcx
jmp 0x1404d9c76
jl 0x1404d9c45
xor eax, eax
jmp 0x1404d9c83
jmp 0x1404d9ca2
movsxd rax, r8d
rcr cl, 0xe0
cdq
add rax, rax
movzx dx, bl
movzx rdx, sp
mov rax, qword [r9 + rax*8 + 8]
xor dx, di
mov rcx, qword [rsp + 0x88]
movzx edx, sp
mov edx, 0xffc0
test rsi, 0x3c2f6978
jmp 0x1404d9cbe
mov qword [rsp + 0x28], rax
cmp r10b, 0xcc
test rax, rax
jmp 0x1404d9ccf
je 0x1404d9d82
mov eax, dword [rsp + 0x70]
jmp 0x1404d9cde
mov dword [rsp + 0x30], eax
movzx eax, r11w
jmp 0x1404d9ceb
mov eax, dword [rsp + 0x74]
jmp 0x1404d9cf4
mov dword [rsp + 0x34], eax
movsx rax, bx
movsxd rax, ebx
mov eax, dword [rsp + 0x78]
jmp 0x1404d9d08
mov dword [rsp + 0x38], eax
mov al, r9b
mov eax, dword [rsp + 0x7c]
jmp 0x1404d9d18
mov dword [rsp + 0x3c], eax
movsxd rax, edi
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x40], eax
movzx ax, bpl
nop
mov eax, dword [rsp + 0x84]
jmp 0x1404d9d3d
mov dword [rsp + 0x44], eax
jmp 0x1404d9d46
mov dword [rsp + 0x20], ebx
jmp 0x1404d9d4f
call fcn.1404d7511
lea rcx, [rsp + 0x20]
jmp 0x1404d9d5e
call fcn.140286c00
test eax, eax
jne 0x1404d9d77
mov ecx, ebx
jmp 0x1404d9d72
call fcn.1404d969b
movsd xmm0, qword [rsp + 0x40]
jmp 0x1404d9da6
call fcn.1404d7511
mov ecx, ebx
jmp 0x1404d9d8e
call fcn.1404d969b
movsd xmm0, qword [rsp + 0x80]
shr bl, 0x4c
cmp cl, spl
movsx bx, bl
add rsp, 0x50
mov ebx, edx
movsxd rbx, r10d
pop rbx
jmp 0x1404d9db5
ret
Function at 0x1404dc8d2
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
sal r8, cl
btc r8w, 0xe5
rol bl, 0xd1
push rdi
shrd edi, r8d, 0xf6
inc bl
sub rsp, 0x20
mov rbx, rdx
cmovle r8w, r8w
movsx rdi, sp
bswap r8w
lea r9, [0x1400c8ea8]
mov rdx, r13
mov edi, ecx
cmovle edx, esi
sete dh
lea rdx, [0x1400cf748]
mov ecx, 3
lea r8, [0x1400c8ea0]
jmp 0x1404dc929
call fcn.1404dca3d
mov rdx, rbx
bts cx, r12w
cmovo ecx, r13d
mov ecx, edi
test rax, rax
je 0x1404dc950
call qword [0x1400b8d90]
jmp 0x1404dc956
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
sbb dil, bpl
add rsp, 0x20
jmp 0x1404dc967
pop rdi
jmp 0x1404dc96d
ret

Function at 0x1404de05c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
sub r9d, r9d
mov r8, rcx
test edx, edx
jmp 0x1404de06e
jne 0x1404de0e6
mov rdx, rcx
cmp r10b, 0xfd
and r8d, 0xf
cmp r11w, 0x61c
jmp 0x1404de08d
and rdx, 0xfffffffffffffff0
or r10d, 0xffffffff
jmp 0x1404de09a
xorps xmm0, xmm0
mov ecx, r8d
shl r10d, cl
jmp 0x1404de0a8
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
and eax, r10d
jne 0x1404de0da
add rdx, 0x10
jmp 0x1404de0c2
xorps xmm0, xmm0
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
test eax, eax
jmp 0x1404de0d4
je 0x1404de0b9
bsf eax, eax
cmc
add rax, rdx
jmp 0x1404de215
cmp dword [reloc.d2d1.dll_Ordinal_1], 2
jge 0x1404de24b
movzx eax, dl
movzx r11w, r12b
or r10d, 0xffffffff
add ch, 0x4f
rcl r11d, 0xb0
mov ecx, eax
mov r11, r8
test dl, r8b
cmp r14b, r10b
stc
shl ecx, 8
and r11, 0xfffffffffffffff0
or ecx, eax
and r8d, 0xf
bswap rax
cmove ax, ax
mov eax, r10d
jmp 0x1404de12e
movd xmm0, ecx
mov ecx, r8d
jmp 0x1404de13a
pshuflw xmm1, xmm0, 0
xorps xmm0, xmm0
pcmpeqb xmm0, xmmword [r11]
pmovmskb ebx, xmm0
shl r10d, cl
jmp 0x1404de153
pshufd xmm2, xmm1, 0
movdqa xmm0, xmm2
shl eax, cl
pcmpeqb xmm0, xmmword [r11]
pmovmskb edx, xmm0
and edx, r10d
cmc
test esi, 0x5b640739
and ebx, eax
jmp 0x1404de178
jne 0x1404de1ca
bsr ecx, edx
jmp 0x1404de186
xorps xmm1, xmm1
movdqa xmm0, xmm2
lea rcx, [rcx + r11]
cmc
test edx, edx
jmp 0x1404de199
cmovne r9, rcx
test bx, 0x71c5
add r11, 0x10
jmp 0x1404de1ab
pcmpeqb xmm1, xmmword [r11]
pcmpeqb xmm0, xmmword [r11]
pmovmskb ebx, xmm1
pmovmskb edx, xmm0
test ebx, ebx
jmp 0x1404de1c4
je 0x1404de17e
mov eax, ebx
mov ecx, r9d
dec cx
neg eax
btr rcx, rax
xor cl, 0xc8
and eax, ebx
dec eax
movzx ebx, r9w
jmp 0x1404de1eb
and edx, eax
shl cl, 0x9a
add ebx, r9d
movsx rbx, r11w
bsr ecx, edx
cmc
movsx bx, bh
lea rcx, [rcx + r11]
test edx, edx
cbw
movzx ebx, dx
cmovne r9, rcx
xchg rbx, rax
mov rax, r9
xchg bh, bl
mov rbx, qword [rsp + 8]
jmp 0x1404de21f
ret
movsx eax, byte [r8]
clc
test r14b, 0x2f
jmp 0x1404de22e
cmp eax, edx
jmp 0x1404de235
cmove r9, r8
cmp byte [r8], 0
jmp 0x1404de242
je 0x1404de210
inc r8
test r8b, 0xf
jmp 0x1404de254
jne 0x1404de220
movzx eax, dl
movd xmm0, eax
pcmpistri xmm0, xmmword [r8], 0x40
jae 0x1404de282
movsxd r9, ecx
stc
cmc
add r9, r8
jmp 0x1404de27b
pcmpistri xmm0, xmmword [r8], 0x40
je 0x1404de210
add r8, 0x10
jmp 0x1404de291
jmp 0x1404de261
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f40
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140015c00
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400220a8]
call fcn.14001137a
lea rcx, [0x14001aca4]
call fcn.14001119a
lea r8, [0x14001aca8]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 8], rax
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140015c77
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.failed_to_load_resource._n
mov rcx, rax
call fcn.140011334
mov eax, 1
jmp 0x140015cc9
mov rdx, qword [rbp + 0x28]
lea rcx, str.resource_loaded_at:__p_n
call fcn.14001119a
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x140015ca0
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x10
jge 0x140015cc7
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x48]
movzx eax, byte [rcx + rax]
and eax, 0xff
mov edx, eax
lea rcx, str._02x
call fcn.14001119a
jmp 0x140015c98
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014290
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142b0
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142c3
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400142ed
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014301
xor al, al
jmp 0x140014331
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014313
xor al, al
jmp 0x140014331
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001432f
xor al, al
jmp 0x140014331
mov al, 1
add rsp, 0x38
ret
Function at 0x140004950
Capabilities:
Set current directory

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 rbx, qword [0x140111488]
movzx r12d, r9b
movzx edi, r8b
movzx esi, dl
mov ebp, ecx
test r8b, r8b
je 0x140004997
inc dword [0x140116948]
add rbx, 0x150
mov qword [0x140111488], rbx
lea rdx, [0x140115240]
mov rcx, rbx
mov r8d, 0x150
call fcn.1400c9cf0
mov dword [rbx + 0x3c], ebp
test dil, dil
je 0x1400049c2
lea rcx, [0x1401181e0]
xor edx, edx
call fcn.14001f2a0
xor edi, edi
cmp dword [0x140116994], edi
mov qword [0x140118d98], rdi
je 0x1400049f6
mov rax, qword [0x140112e30]
lea rcx, [0x1400e14ec]
test rax, rax
je 0x1400049f0
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004a82
cmp byte [rbx + 0x12e], dil
jne 0x140004a2a
cmp r12b, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140004a2a
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x140118da4], 0
je 0x140004a3c
cmp dword [0x140118da0], 0
jne 0x140004a45
cmp byte [rbx + 0x12e], 0
je 0x140004a82
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140004a82
cmp dword [0x140118da4], 0
jge 0x140004a6a
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140004a82
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x140118da4]
mov dword [rbx + 0x120], eax
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 0x1400060a0
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp qword [0x140118e48], 0
mov rbx, rdx
mov rsi, rcx
je 0x1400060c7
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x140006137
mov eax, 0xffffffff
cmp rdx, rax
jne 0x1400060f0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
mov ebx, ebx
test rbx, rbx
je 0x140006137
lea rdx, [rbx + 1]
lea rcx, [0x140118e30]
call fcn.140006160
test rax, rax
jne 0x14000611a
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [0x140118e48]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400cc204
xor r11d, r11d
mov word [rdi + rbx*2], r11w
lea rcx, [0x140118e30]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140006220
Function at 0x1400064a0
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 0x1400064bb
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000659a
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
lea rdx, [0x1400e1930]
lea rcx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
call fcn.1400c9264
test eax, eax
je 0x140006587
lea rdx, [0x1400e1948]
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, [0x1400e1960]
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, [0x1400e1978]
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, [0x1400e1988]
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x140006587
lea rdx, [0x1400e19a8]
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
je 0x14000657c
lea rdx, [0x1400e19d0]
lea rcx, [rsp + 0x20]
call fcn.1400c900c
test eax, eax
jne 0x14000659f
test rbx, rbx
je 0x140006587
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 0x1400065c0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400065da
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 [0x1401167a8]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140006654
xor esi, esi
nop
mov ecx, dword [0x140111450]
cmp ecx, 0xffffffff
je 0x140006624
test ecx, ecx
je 0x140006670
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140111450]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140006670
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140111454], esi
call fcn.140001a70
mov rcx, qword [0x1401167a8]
mov dword [0x140111454], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140006600
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 0x14000cfc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov ebp, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor r11b, r11b
cmp qword [0x1401168f8], 0
mov esi, 1
movzx edi, r11b
cmovne edi, esi
cmp qword [0x140116900], 0
je 0x14000cffa
or dil, 2
xor r12d, r12d
mov qword [rsp + 0x50], rbx
test dil, dil
je 0x14000d156
mov qword [rsp + 0x60], r13
mov ebx, r12d
mov ecx, dword [0x14011546c]
mov r9, rsi
xor r8d, r8d
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14000d03e
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000d013
xor r13b, r13b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
nop dword [rax]
mov rcx, qword [0x140117360]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x58], 0x103
jne 0x14000d085
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x14000d09e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000d050
mov rcx, qword [0x140117360]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140117360], r12
call fcn.14000bdf0
cmp qword [0x1401168f8], r12
je 0x14000d0c6
test sil, dil
jne 0x14000d0df
lea r8, [0x1400e38b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140117350], rax
jmp 0x14000d0df
test sil, dil
je 0x14000d0df
mov rcx, qword [0x140117350]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140117350], r12
cmp qword [0x140116900], r12
je 0x14000d108
test dil, 2
jne 0x14000d122
lea r8, [0x1400e38c8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140117358], rax
jmp 0x14000d122
test dil, 2
je 0x14000d122
mov rcx, qword [0x140117358]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140117358], r12
test r13b, r13b
mov r13, qword [rsp + 0x60]
je 0x14000d156
xorpd xmm3, xmm3
lea rcx, [0x1400e38e0]
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140111454], r12d
mov qword [rsp + 0x20], r12
call fcn.1400b26b0
mov dword [0x140111454], esi
mov rcx, qword [0x140116908]
test rcx, rcx
je 0x14000d168
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov r8, qword [0x140112e40]
mov edi, r12d
cmp r12w, word [r8]
jae 0x14000d20b
mov rdx, qword [0x140118138]
mov r9, qword [0x140118130]
mov rsi, r12
nop dword [rax]
mov rax, qword [0x140117398]
mov rbx, qword [rsi + rax]
test rbx, rbx
je 0x14000d1fd
cmp byte [rbx + 0x18], r12b
je 0x14000d1d4
movzx edx, word [rbx + 4]
mov rcx, qword [0x1401167a8]
call qword [sym.imp.USER32.dll_UnregisterHotKey]
mov r8, qword [0x140112e40]
mov rdx, qword [0x140118138]
mov r9, qword [0x140118130]
test eax, eax
sete al
mov byte [rbx + 0x18], al
cmp rbx, rdx
jne 0x14000d1fd
test rdx, rdx
je 0x14000d1fd
mov rax, qword [r9 + 8]
mov rcx, rax
sub rcx, rdx
mov rdx, r12
sub rax, rcx
add qword [r9 + 0x10], rcx
mov qword [0x140118138], rdx
mov qword [r9 + 8], rax
movzx eax, word [r8]
inc edi
add rsi, 8
cmp edi, eax
jl 0x14000d190
mov ecx, ebp
call fcn.1400c965c
mov rbx, qword [rsp + 0x50]
int3
Function at 0x14000d8d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x1040
call fcn.1400d1340
sub rsp, rax
cmp byte [0x140118ff8], 0
mov rbx, rdx
mov rbp, rcx
jne 0x14000da5e
cmp dword [0x140117390], 0
jne 0x14000d90b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140117390], eax
inc dword [0x140118ffc]
mov qword [rsp + 0x1050], rsi
mov qword [rsp + 0x1058], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x140118ffc]
mov edx, dword [0x14011146c]
mov ecx, eax
mov dword [0x140117394], eax
sub ecx, dword [0x140117390]
cmp r9d, dword [0x140111468]
jbe 0x14000d9c7
cmp ecx, edx
jae 0x14000d9c7
mov dword [rsp + 0x20], ecx
lea r8, [0x1400e4260]
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov esi, 1
call fcn.1400abd10
call fcn.14000c480
xor edi, edi
xorpd xmm3, xmm3
lea edx, [rsi + 3]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov byte [0x140118ff8], sil
mov dword [0x140111454], edi
mov qword [rsp + 0x20], rdi
call fcn.1400b26b0
cmp eax, 7
jne 0x14000d9b2
lea edx, [rsi + 3]
lea rcx, [0x1401181e0]
xor r8d, r8d
call fcn.14001f9b0
mov eax, dword [0x140117394]
mov dword [0x140111454], esi
mov byte [0x140118ff8], dil
jmp 0x14000d9cf
xor edi, edi
mov esi, edi
cmp ecx, edx
jbe 0x14000d9df
mov dword [0x140118ffc], edi
mov dword [0x140117390], eax
test esi, esi
jne 0x14000da4e
movzx eax, byte [rbp + 0xf]
mov dword [rsp + 0x30], edi
lea r8, [0x1400e14e0]
mov byte [0x140118d5e], al
mov rcx, qword [rbx]
inc byte [rbx + 0x22]
mov rdx, rcx
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.1400a1ed0
dec byte [rbx + 0x22]
test eax, eax
jne 0x14000da1a
mov byte [rbx + 0x27], al
jmp 0x14000da4e
cmp byte [rbx + 0x27], 0
je 0x14000da4e
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14000da4e
movzx r8d, word [rbp + 4]
mov rcx, qword [0x1401167a8]
xor r9d, r9d
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
mov rsi, qword [rsp + 0x1050]
mov rdi, qword [rsp + 0x1058]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1040
pop rbp
ret
Function at 0x1400168a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
cmp dword [0x140117470], 2
movzx ebp, r8b
mov ebx, edx
sete sil
movzx edi, cx
test sil, sil
je 0x1400168fa
movzx ecx, cx
lea rdx, [rsp + 0x30]
test ecx, 0xffffff80
je 0x1400168e7
mov eax, gethostbyname
lea rdx, [rsp + 0x32]
mov word [rsp + 0x30], ax
mov r8d, 0xa
call fcn.1400c8d60
movzx edi, word [rsp + 0xa8]
test ebx, ebx
jle 0x1400169c8
mov qword [rsp + 0xa0], r12
xor r12d, r12d
nop dword [rax]
cmp dword [0x140117470], r12d
jne 0x14001697a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140111488]
sub eax, dword [0x140118dac]
cmp eax, dword [rcx + 0x118]
jbe 0x14001697a
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 0x14001696e
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140111454], r12d
call fcn.140001a70
mov dword [0x140111454], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140118dac], eax
test sil, sil
je 0x14001698b
lea rcx, [rsp + 0x30]
call fcn.1400169e0
jmp 0x140016997
movzx edx, bpl
movzx ecx, di
call fcn.140014880
cmp dword [0x140117470], 2
mov rax, qword [0x140111488]
jne 0x1400169af
mov ecx, dword [rax + 0x80]
jmp 0x1400169b2
mov ecx, dword [rax + 0x7c]
call fcn.140018e30
dec rbx
jne 0x140016910
mov r12, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret