joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d6a80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140196600]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400d6b15
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400d6b76
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400b0fd0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400e9cd0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400d6c31
sub ecx, 1
je 0x1400d6ca4
sub ecx, 1
je 0x1400d6be0
cmp ecx, 1
je 0x1400d6bc3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400f5cc4]
call fcn.1400b0fd0
jmp 0x1400d6ca4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400d67b0
test eax, eax
je 0x1400d6ca4
jmp 0x1400d6b4a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400d6ca4
sub rax, rsi
cmp rax, rbp
jae 0x1400d6ca4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400b1150
jmp 0x1400d6ca4
cmp r8d, 4
jle 0x1400d6ca4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400d6ca4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400b0ef0
mov esi, eax
test eax, eax
je 0x1400d6c83
mov edx, 5
mov rcx, rbx
call fcn.1400d7770
mov eax, esi
jmp 0x1400d6b4a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400bf9d0
mov rcx, r14
call fcn.1400bfcb0
test eax, eax
je 0x1400d6b48
mov edx, 5
mov rcx, rbx
call fcn.1400d7770
mov eax, Ordinal_45
jmp 0x1400d6b4a
Function at 0x1400e9a40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400e9a82
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400e9ac9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400e9b22
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400e9ae0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400e9b63
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401806d2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401806d3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400e9b30
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400eabe0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400eac2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400eac2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400eac2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400eac2a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400eac2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400eac2c
xor al, al
add rsp, 0x28
ret
Function at 0x140003dc0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400faa58]
movzx ebp, r9b
mov r9d, ecx
movzx esi, dl
test r8b, r8b
je 0x140003dfe
inc dword [0x1400fec6c]
add rbx, 0x158
mov qword [0x1400faa58], rbx
mov rcx, rbx
lea rax, [0x1400feb10]
mov edx, 2
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140003e10
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
mov dword [rbx + 0x3c], r9d
test r8b, r8b
je 0x140003ea6
lea rcx, [0x140103350]
call fcn.140018aa0
xor edi, edi
cmp dword [0x1400feeac], edi
mov qword [0x140103ee8], rdi
je 0x140003ec4
lea rcx, [0x1400fec80]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140003f50
cmp byte [rbx + 0x12e], dil
jne 0x140003ef8
cmp bpl, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140003ef8
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x140103ef4], 0
je 0x140003f0a
cmp dword [0x140103ef0], 0
jne 0x140003f13
cmp byte [rbx + 0x12e], 0
je 0x140003f50
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140003f50
cmp dword [0x140103ef4], 0
jge 0x140003f38
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140003f50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x140103ef4]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004dc0
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [0x140103f98], 0
mov rdi, r8
mov rsi, rdx
je 0x140004de7
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x140004e4b
mov eax, 0xffffffff
cmp r8, rax
jne 0x140004e0c
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140004e00
mov edi, eax
test rdi, rdi
je 0x140004e4b
lea rdx, [rdi + 1]
lea rcx, [0x140103f80]
call fcn.140004e70
test rax, rax
je 0x140004dda
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov rbx, qword [0x140103f98]
mov rdx, rsi
mov rcx, rbx
call fcn.1400b02f4
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [0x140103f80]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140004f30
Function at 0x140004f30
Capabilities:
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
jne 0x140004f5c
call fcn.1400052d0
test eax, eax
jne 0x140004f5c
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rdi
add rsp, 0x20
pop rdi
jmp 0x140005080
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140004faa
cmp dword [rdi + 0x2c], eax
je 0x140004f91
xor esi, esi
cmp qword [rdi + 0x10], rsi
je 0x140004f85
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400cb2d8]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140005080
mov rcx, qword [rdi + 8]
xor esi, esi
test rcx, rcx
je 0x140004fed
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140005021
cmp word [rax], si
mov qword [rsp + 0x30], rbx
sete bl
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test bl, bl
mov qword [rdi + 0x18], rsi
mov rbx, qword [rsp + 0x30]
mov dword [rdi + 0x28], esi
je 0x140005021
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rdi + 8], rax
cmp dword [rdi + 0x2c], esi
je 0x140005011
cmp qword [rdi + 0x10], rsi
je 0x140005005
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rdi + 8]
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14000503b
mov qword [rdi + 8], rsi
jmp 0x140004fed
cmp dword [rdi + 0x2c], esi
je 0x14000505f
cmp qword [rdi + 0x10], rsi
je 0x140005053
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400cb2f8]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140005080
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x2c], esi
je 0x1400050bb
cmp qword [rcx + 0x10], rsi
je 0x1400050af
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], esi
mov qword [rbx], rsi
cmp qword [rbx + 0x18], rsi
je 0x1400050d2
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], esi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400050e5
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000510f
lea r8, [0x1400e70b8]
mov rdx, rdi
lea rcx, [0x140103350]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140035a70
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400051b0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ecx, ecx
mov rbx, r8
mov edi, edx
test r8, r8
je 0x1400051cc
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x1400052ab
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
call fcn.1400a9818
test eax, eax
je 0x140005298
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400a7230
test eax, eax
je 0x140005298
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400a7230
test eax, eax
je 0x140005298
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400a7230
test eax, eax
je 0x140005298
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400a7230
test eax, eax
je 0x140005298
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400a7230
test eax, eax
je 0x14000528d
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400a7230
test eax, eax
jne 0x1400052b0
test rbx, rbx
je 0x140005298
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 0x1400052d0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400052ea
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 [0x1400feeb0]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140005364
xor esi, esi
nop
mov ecx, dword [0x1400faa64]
cmp ecx, 0xffffffff
je 0x140005334
test ecx, ecx
je 0x140005380
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1400faa64]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140005380
mov edx, 1
mov dword [0x1400faa50], esi
mov ecx, 0x8000012f
call fcn.1400016e0
mov rcx, qword [0x1400feeb0]
mov dword [0x1400faa50], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140005310
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140009160
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
test cl, 0x10
jne 0x1400091a6
cmp dl, 0xa0
je 0x140009173
cmp dl, 0x10
jne 0x1400091f0
test r8b, r8b
jne 0x1400091f0
cmp byte [0x140104181], r8b
je 0x1400091ad
xor eax, eax
lea rcx, [0x140104198]
nop word [rax + rax]
cmp byte [rax + rcx], 0
jne 0x1400091ad
inc rax
cmp rax, 0x16
jl 0x140009190
mov byte [0x140104181], 0
xor al, al
add rsp, 0x28
ret
cmp byte [0x140104183], 0
je 0x1400091f0
mov eax, 0x100
test word [0x140104184], ax
jne 0x1400091f0
movzx eax, byte [0x140104182]
cmp al, 0x2e
ja 0x1400091f0
movabs rcx, 0x61fe00001000
bt rcx, rax
jae 0x1400091f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140104190]
cmp eax, 0x16
jb 0x1400091a6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14010411c], eax
mov al, 1
add rsp, 0x28
ret
Function at 0x14000c080
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x1040
call fcn.1400bc4d0
sub rsp, rax
cmp byte [0x140104bcc], 0
mov rbx, rdx
mov rbp, rcx
jne 0x14000c20f
cmp dword [0x140101d48], 0
jne 0x14000c0bb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140101d48], eax
inc dword [0x140104bc8]
mov qword [rsp + 0x1050], rsi
mov qword [rsp + 0x1058], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x140104bc8]
mov ecx, eax
sub ecx, dword [0x140101d48]
cmp r9d, dword [0x1400fc3f4]
mov edx, dword [0x1400fc3f0]
mov dword [0x140101d44], eax
jbe 0x14000c178
cmp ecx, edx
jae 0x14000c178
mov dword [rsp + 0x20], ecx
lea r8, str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov esi, 1
call fcn.140087370
call fcn.14000afd0
xor edi, edi
mov byte [0x140104bcc], sil
xor r8d, r8d
mov dword [0x1400faa50], edi
lea edx, [rsi + 3]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x40]
xorps xmm3, xmm3
call fcn.14008cb30
cmp eax, 7
jne 0x14000c163
xor r9d, r9d
lea rcx, [0x140103350]
xor r8d, r8d
mov edx, esi
call fcn.140018f60
mov eax, dword [0x140101d44]
mov dword [0x1400faa50], esi
mov byte [0x140104bcc], dil
jmp 0x14000c180
xor edi, edi
mov esi, edi
cmp ecx, edx
jbe 0x14000c190
mov dword [0x140104bc8], edi
mov dword [0x140101d48], eax
test esi, esi
jne 0x14000c1ff
movzx eax, byte [rbp + 0x19]
lea r8, [0x1400caf98]
mov byte [0x140103eae], al
xor r9d, r9d
inc byte [rbx + 0x37]
mov rcx, qword [rbx]
mov dword [rsp + 0x30], edi
mov rdx, rcx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.14007e840
dec byte [rbx + 0x37]
test eax, eax
jne 0x14000c1cb
mov byte [rbx + 0x3c], al
jmp 0x14000c1ff
cmp byte [rbx + 0x3c], 0
je 0x14000c1ff
mov byte [rbx + 0x3c], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 8]
cmp eax, 0x3e8
ja 0x14000c1ff
movzx r8d, word [rbp]
xor r9d, r9d
mov rcx, qword [0x1400feeb0]
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 0x140010780
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov word [rax + 0x10], dx
push rbx
push rsi
sub rsp, 0x98
mov qword [rax + 8], rbp
movzx esi, r9b
mov qword [rax - 0x18], rdi
movzx edi, cl
mov qword [rax - 0x20], r12
movzx r12d, r8b
mov qword [rax - 0x30], r14
or r12b, r9b
lea eax, [rdi - 1]
cmp al, 5
ja 0x1400107be
cmp cl, 3
jne 0x1400107c5
lea eax, [rdi + 0x66]
cmp al, 5
ja 0x1400107ca
mov bpl, 1
jmp 0x1400107cd
xor bpl, bpl
mov eax, dword [rsp + 0xd0]
mov rbx, qword [rsp + 0xe8]
movzx r14d, byte [rsp + 0xe0]
test eax, eax
jle 0x140010967
mov qword [rsp + 0x80], r13
mov esi, eax
movzx r13d, byte [rsp + 0x100]
mov qword [rsp + 0x70], r15
mov r15d, dword [rsp + 0xd8]
nop dword [rax]
cmp dword [0x140101d4c], 0
jne 0x140010880
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400faa58]
sub eax, dword [0x140103efc]
cmp eax, dword [rcx + 0x118]
jbe 0x140010880
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140010874
mov edx, 1
mov dword [0x1400faa50], 0
or ecx, 0xffffffff
call fcn.1400016e0
mov dword [0x1400faa50], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140103efc], eax
test r14b, r14b
jne 0x1400108ce
cmp dword [0x140101d4c], 0
je 0x140010897
movzx eax, byte [0x140104196]
jmp 0x14001089e
xor ecx, ecx
call fcn.1400139d0
mov rcx, qword [0x1400faa58]
xor r9d, r9d
mov r8, rbx
movzx edx, byte [rcx + 0x136]
mov ecx, 0xffc3d44d
sub ecx, edx
movzx edx, al
mov dword [rsp + 0x28], ecx
movzx ecx, r12b
mov byte [rsp + 0x20], 1
call fcn.140013210
test bpl, bpl
je 0x140010912
test rbx, rbx
jne 0x140010912
mov rax, qword [0x1400faa58]
lea r9d, [rbx + 1]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov byte [rsp + 0x30], r13b
movzx ecx, byte [rax + 0x12f]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ecx
movzx ecx, dil
call fcn.1400121d0
jmp 0x140010948
mov rax, qword [0x1400faa58]
mov r9, rbx
movzx r8d, word [rsp + 0xb8]
movzx edx, dil
movzx ecx, byte [rax + 0x136]
mov eax, 0xffc3d44d
sub eax, ecx
mov ecx, r15d
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], 1
call fcn.140010ec0
sub rsi, 1
jne 0x140010810
movzx esi, byte [rsp + 0xc8]
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
test r14b, r14b
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xb0]
jne 0x1400109ce
cmp dword [0x140101d4c], 0
je 0x14001099b
movzx eax, byte [0x140104196]
jmp 0x1400109a2
xor ecx, ecx
call fcn.1400139d0
movzx ecx, al
xor cl, sil
and cl, al
and cl, 0xcc
je 0x1400109ce
not cl
mov dword [rsp + 0x28], 0xffc3d44d
and cl, al
mov byte [rsp + 0x20], 0
mov r9b, 1
mov r8, rbx
movzx edx, al
call fcn.140013210
add rsp, 0x98
pop rsi
pop rbx
ret
Function at 0x1400109e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x80
movzx esi, cx
mov ebx, edx
lea rdx, [rsp + 0x30]
mov ecx, esi
test esi, 0xffffff80
je 0x140010a10
mov eax, gethostbyname
lea rdx, [rsp + 0x32]
mov word [rsp + 0x30], ax
mov r8d, 0xa
call fcn.1400a7128
test ebx, ebx
jle 0x140010b7e
mov qword [rsp + 0x90], rbp
xor ebp, ebp
mov qword [rsp + 0x98], rdi
mov rdi, rbx
cmp dword [0x140101d4c], ebp
jne 0x140010a9f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400faa58]
sub eax, dword [0x140103efc]
cmp eax, dword [rcx + 0x118]
jbe 0x140010a9f
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140010a93
mov edx, 1
mov dword [0x1400faa50], ebp
or ecx, 0xffffffff
call fcn.1400016e0
mov dword [0x1400faa50], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140103efc], eax
cmp dword [0x140101d4c], 2
je 0x140010ab8
or edx, 0xffffffff
movzx ecx, si
call fcn.14000eef0
jmp 0x140010b44
movzx edx, byte [0x140104196]
xor r9d, r9d
movzx ecx, dl
mov dword [rsp + 0x28], 0xffc3d44f
and cl, 0xc4
mov byte [rsp + 0x20], 1
or cl, 4
xor r8d, r8d
call fcn.140013210
movzx eax, word [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmp ax, 0x30
jb 0x140010b26
cmp ax, 0x39
ja 0x140010b26
movzx edx, byte [rbx]
xor r8d, r8d
add dl, 0x30
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], bpl
lea ecx, [r8 + 2]
call fcn.140010ec0
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x30
jae 0x140010af0
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], bpl
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
call fcn.140010ec0
cmp dword [0x140101d4c], 2
mov rax, qword [0x1400faa58]
jne 0x140010b5c
mov ecx, dword [rax + 0x80]
jmp 0x140010b5f
mov ecx, dword [rax + 0x7c]
call fcn.140012d70
sub rdi, 1
jne 0x140010a38
mov rdi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rsi
ret