joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007b40
Capabilities:
Resolve dns

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov r14, rcx
xor r15d, r15d
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x401
mov r12d, r15d
call fcn.1400f1130
xor edx, edx
lea rcx, [rsp + 0x440]
mov r8d, 0x401
call fcn.1400f1130
mov r9d, 0x400
lea rbx, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x30]
lea rdi, [rsp + 0x440]
lea edx, [r9 + 1]
call fcn.1400fc4f4
mov r13, qword [rsp + 0x8c8]
lea rbp, [r15 - 1]
nop dword [rax]
mov rcx, r14
mov qword [r13], r15
mov rsi, r13
mov byte [rdi], r15b
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x140007d30
cmp word [rax + 0x10], 2
jne 0x140007c50
cmp word [rax + 0x12], 4
jne 0x140007c50
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x140007c4b
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x8b8]
mov edx, dword [rsp + 0x8b0]
mov ecx, dword [rsp + 0x8a8]
call fcn.140007aa0
mov qword [rsi], rax
test rax, rax
je 0x140007d28
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x140007c10
mov rbx, qword [rsp + 0x20]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.1400fc4f4
cmp qword [r13], r15
jne 0x140007cd3
mov rax, rbp
nop
inc rax
cmp byte [rdi + rax], r15b
jne 0x140007c70
test rax, rax
je 0x140007d4a
mov r8, rdi
mov rax, rbx
sub r8, rbx
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007ca3
inc rax
test ecx, ecx
jne 0x140007c90
test edx, edx
je 0x140007d4a
inc r12d
cmp r12d, 0x10
je 0x140007d4a
mov r14, qword [rsp + 0x8a0]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x20], rbx
jmp 0x140007bd0
cmp dword [rsp + 0x8c0], r15d
je 0x140007d60
cmp byte [rdi + rbp + 1], r15b
lea rbp, [rbp + 1]
jne 0x140007ce1
lea rdx, [rbp + 1]
mov ecx, 1
call fcn.1400fc48c
mov rbx, rax
test rax, rax
jne 0x140007d07
mov rbx, r15
jmp 0x140007d16
mov r8, rdi
lea rdx, [rbp + 1]
mov rcx, rax
call fcn.1400fc494
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], r15
jne 0x140007d60
mov r15d, 8
jmp 0x140007d60
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x140007d5a
sub ecx, 1
je 0x140007d52
sub ecx, 1
jne 0x140007d5a
mov r15d, 0x2afb
jmp 0x140007d60
mov r15d, 0x2afa
jmp 0x140007d60
mov r15d, 0x2af9
mov eax, r15d
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008440
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x1401662b0], 0
lea rax, [0x140007dd0]
mov qword [rsp + 0x28], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140008210]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x140007d80]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
jne 0x1400085fa
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400085f0
lea r8, [rsp + 0x160]
mov qword [rsp + 0x280], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400fc494
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400fc5e4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008522
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008582
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400fc494
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400fc5e4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400085e8
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008582
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400085e8
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 0x1400085d7
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008591
mov rax, qword [rsp + 0x28]
mov qword [0x14015e9b0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x14015e9c0], rax
mov rax, qword [rsp + 0x48]
mov qword [0x14015e9d0], rax
jmp 0x1400085e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x1401662b0], 1
mov rbx, qword [rsp + 0x290]
lea rcx, str.getaddrinfo
mov rax, rbp
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x140008620
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov qword [0x14015e398], rdx
mov r8, rdx
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140008685
cmp byte [rcx + 5], 1
jne 0x140008685
xor ebx, ebx
cmp byte [rcx + 6], bl
je 0x140008656
mov qword [rdx + 0x38], rbx
lea edx, [rbx + 8]
call fcn.1400eec30
cmp dword [0x14015e3e0], 2
je 0x14000867d
lea rcx, [0x14015e370]
call fcn.140008790
test eax, eax
jne 0x14000867b
lea rcx, [0x14015e370]
call fcn.1400088c0
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov r9d, dword [0x14015e3e0]
cmp r9d, 3
je 0x14000874b
cmp r9d, 4
jne 0x140008710
mov rcx, qword [0x14015e378]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x14015e370]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x14015e3ec]
jle 0x14000874b
mov rcx, qword [0x14015e390]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008785
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008785
lea rcx, [0x14015e370]
add rsp, 0x20
pop rbx
jmp fcn.1400088c0
cmp r9d, 5
jne 0x1400086d1
mov rcx, qword [0x14015e378]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x14015e370]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x14015e3ec]
jge 0x1400086d1
movzx eax, byte [r8]
cmp al, 0x77
je 0x1400086d1
cmp al, 0x78
jne 0x140008766
cmp qword [r8 + 0x10], 0
je 0x1400086d1
cmp dword [r8 + 4], 0
je 0x1400086d1
cmp r9d, 2
jne 0x14000865f
xor ebx, ebx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000cf80
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
jne 0x14000cfd0
mov edx, dword [rcx + 0x70]
sub edx, 1
je 0x14000cfc9
sub edx, 2
je 0x14000cfc0
sub edx, 1
je 0x14000cfb7
cmp edx, 1
je 0x14000cfae
lea rdx, [0x140120a0e]
jmp 0x14000cfd0
lea rdx, str.step_out
jmp 0x14000cfd0
lea rdx, str.step_over
jmp 0x14000cfd0
lea rdx, str.step_into
jmp 0x14000cfd0
lea rdx, [0x140120cd8]
mov rax, qword [rcx + 0x88]
lea rcx, [0x140120a0e]
test rax, rax
je 0x14000cfed
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rbx + 0x50]
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
lea rdx, str._response_command__s__status__s__reason__s__transaction_id__e___
call fcn.14000da60
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000d020

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x60]
mov r8d, 0xa
add rcx, 0x26
call fcn.1400f536c
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400f0ac8
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x140121a70]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000ec00
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x20]
movsxd r8, eax
xor r9d, r9d
add r8, rbx
lea rax, [rsp + 0x20]
sub r8d, eax
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000d0ef
cmp dword [rdi + 0x68], 0
jne 0x14000d0ef
mov rdx, qword [rdi + 0x60]
lea rcx, [rdi + 0x50]
inc rdx
call fcn.14000e170
test eax, eax
jne 0x14000d0ef
mov r8, qword [rdi + 0x60]
xor r9d, r9d
mov rcx, qword [rdi + 0x50]
movzx eax, byte [0x14012046c]
mov byte [r8 + rcx], al
inc qword [rdi + 0x60]
mov r8d, dword [rdi + 0x60]
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000d0ef
xor eax, eax
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x68], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d740
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000dec0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
je 0x14000e058
movabs rbp, 0xaaaaaaaaaaaaaaab
test r9b, r9b
jne 0x14000df21
lea rdx, [r8 - 1]
mov rax, rbp
mul rdx
shr rdx, 1
lea rdx, [rdx*4 + 5]
add rdx, qword [rcx + 0x10]
call fcn.14000e170
test eax, eax
je 0x14000df21
mov eax, 0x3e6
jmp 0x14000e05a
test rdi, rdi
je 0x14000e058
mov r10, qword [rsi + 0x10]
xor r8d, r8d
add r10, qword [rsi]
cmp rbx, 0xffffffffffffffff
jne 0x14000df49
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], r8b
jne 0x14000df40
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp rbx, 2
jbe 0x14000dfe9
lea rcx, [rbx - 3]
mov rax, rbp
mul rcx
lea r9, [r10 + 2]
shr rdx, 1
inc rdx
imul rax, rdx, 0xfffffffffffffffd
lea r8, [rdx*4]
add rbx, rax
nop dword [rax]
movzx eax, byte [rdi + 1]
lea r9, [r9 + 4]
movzx ecx, byte [rdi]
shl rcx, 8
or rcx, rax
movzx eax, byte [rdi + 2]
shl rcx, 8
add rdi, 3
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [r9 - 6], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r9 - 5], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r9 - 4], al
movzx eax, byte [rcx + r11]
mov byte [r9 - 3], al
sub rdx, 1
jne 0x14000df80
test rbx, rbx
je 0x14000e04f
movzx ecx, byte [rdi]
shl rcx, 0x10
cmp rbx, 1
jbe 0x14000e006
movzx eax, byte [rdi + 1]
shl rax, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [r8 + r10], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r8 + r10 + 1], al
cmp rbx, 1
jbe 0x14000e03e
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r11]
jmp 0x14000e040
mov al, 0x3d
mov byte [r8 + r10 + 2], al
mov byte [r8 + r10 + 3], 0x3d
add r8, 4
mov byte [r8 + r10], 0
add qword [rsi + 0x10], r8
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000e850
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
mov rcx, rbp
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x14000e8bf
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e981
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000e8b1
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e8a4
call fcn.1400f75c8
mov edx, 0x28
mov rcx, rdi
call fcn.1400eec30
xor ecx, ecx
mov qword [rbx + 8], rcx
mov byte [rbx + 0x10], cl
jmp 0x14000e981
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14000e8f3
lea ecx, [rax + 0x28]
call fcn.1400eec64
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov dword [rax + 0x20], 1
mov qword [rbx + 8], rax
jmp 0x14000e958
mov eax, dword [rax + 0x20]
mov rdi, qword [rbx + 8]
cmp eax, 1
jbe 0x14000e952
mov ecx, 0x28
call fcn.1400eec64
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov dword [rax + 0x20], 1
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000e958
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e943
call fcn.1400f75c8
mov edx, 0x28
mov rcx, rdi
call fcn.1400eec30
jmp 0x14000e958
xor ecx, ecx
mov qword [rdi + 0x10], rcx
mov rcx, qword [rbx + 8]
mov rdx, rsi
call fcn.14000ec60
mov rax, qword [rbx + 8]
mov r8d, esi
mov rcx, rbp
mov rdx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f7a0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp byte [0x1401648a0], 0
mov rbp, rdx
mov rdi, rcx
je 0x14000f87a
mov esi, dword gs:[0x48]
cmp dword [0x140163c90], esi
je 0x14000f7dc
mov rcx, qword [0x140163c98]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000f7e3
cmp word [rdi], 0
je 0x14000f889
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov rdx, rdi
mov dword [rsp + 0x20], 3
lea rcx, [0x140163cc0]
call fcn.1400506d0
test rax, rax
jne 0x14000f84e
cmp byte [rsp + 0x60], al
lea rcx, [0x140163cc0]
mov r9d, dword [rsp + 0x68]
mov r8, rbx
setne al
mov rdx, rdi
inc eax
mov dword [rsp + 0x20], eax
call fcn.140050c00
test rax, rax
je 0x14000f889
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rbp
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400d5e90
cmp dword [0x140163c90], esi
je 0x14000f87a
mov rcx, qword [0x140163c98]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp dword [0x140163c90], esi
je 0x14000f89e
mov rcx, qword [0x140163c98]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a0a0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
movzx r8d, byte [0x1401616d6]
or r8b, 2
cmp qword [0x140160788], 0
mov byte [0x1401616d6], r8b
jne 0x14001a0d8
movzx edx, word [0x14016179c]
movzx r9d, byte [0x1401616d7]
mov rcx, qword [0x140161788]
jmp fcn.140015550
ret
Function at 0x14001fac0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov word [rax + 0x10], dx
push rsi
push rdi
sub rsp, 0x98
mov qword [rax + 8], rbx
movzx edi, r9b
mov qword [rax - 0x18], rbp
movzx ebx, dx
mov qword [rax - 0x20], r12
movzx ebp, cl
mov qword [rax - 0x28], r13
movzx r13d, r8b
mov qword [rax - 0x38], r15
or r13b, r9b
lea eax, [rbp - 1]
cmp al, 5
ja 0x14001fb05
cmp cl, 3
jne 0x14001fb0c
lea eax, [rbp + 0x66]
cmp al, 5
ja 0x14001fb11
mov r15b, 1
jmp 0x14001fb14
xor r15b, r15b
mov eax, dword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe8]
movzx r12d, byte [rsp + 0xe0]
test eax, eax
jle 0x14001fc9e
mov edi, dword [rsp + 0xd8]
mov qword [rsp + 0x78], r14
mov r14d, eax
cmp dword [0x140164c24], 0
jne 0x14001fbb3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14015bc10]
sub eax, dword [0x1401648c4]
cmp eax, dword [rcx + 0x118]
jbe 0x14001fbba
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 0x14001fba7
mov edx, 1
mov dword [0x14015bc04], 0
lea ecx, [rdx - 2]
call fcn.140001a10
mov dword [0x14015bc04], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401648c4], eax
mov rcx, qword [0x14015bc10]
test r12b, r12b
jne 0x14001fc1b
movzx eax, byte [rcx + 0x136]
test al, al
je 0x14001fbd3
mov ebx, 0xffc3d44d
sub ebx, eax
jmp 0x14001fbd8
mov ebx, 0xffc3d44f
cmp dword [0x140164c24], 0
je 0x14001fbea
movzx eax, byte [0x140164c20]
jmp 0x14001fbf1
xor ecx, ecx
call fcn.1400235b0
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8, rsi
mov byte [rsp + 0x20], 1
movzx edx, al
movzx ecx, r13b
call fcn.140022d20
mov rcx, qword [0x14015bc10]
movzx ebx, word [rsp + 0xb8]
test r15b, r15b
je 0x14001fc5e
test rsi, rsi
jne 0x14001fc5e
movzx eax, byte [rcx + 0x12f]
lea r9d, [rsi + 1]
movzx ecx, byte [rsp + 0x100]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov byte [rsp + 0x30], cl
movzx ecx, bpl
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.140021960
jmp 0x14001fc87
movzx eax, byte [rcx + 0x136]
mov r9, rsi
mov ecx, 0xffc3d44d
movzx r8d, bx
sub ecx, eax
movzx edx, bpl
mov dword [rsp + 0x28], ecx
mov ecx, edi
mov byte [rsp + 0x20], 1
call fcn.140020230
sub r14, 1
jne 0x14001fb43
movzx edi, byte [rsp + 0xc8]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
test r12b, r12b
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
jne 0x14001fd0b
cmp dword [0x140164c24], 0
je 0x14001fcda
movzx eax, byte [0x140164c20]
jmp 0x14001fce1
xor ecx, ecx
call fcn.1400235b0
not dil
and dil, al
and dil, 0xcc
je 0x14001fd0b
mov dword [rsp + 0x28], 0xffc3d44d
mov r9b, 1
mov r8, rsi
mov byte [rsp + 0x20], 0
movzx edx, dil
xor ecx, ecx
call fcn.140022d20
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x14001fd20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x80
cmp dword [0x140164c24], 2
movzx r14d, r8b
mov ebx, edx
sete bpl
movzx esi, cx
jne 0x14001fd74
mov eax, esi
mov ecx, esi
and eax, 0xffffff80
je 0x14001fd59
mov edx, gethostbyname
mov word [rsp + 0x30], dx
lea r8, [rsp + 0x32]
test eax, eax
lea rdx, [rsp + 0x30]
cmovne rdx, r8
mov r8d, 0xa
call fcn.1400f5404
test ebx, ebx
jle 0x14001feeb
mov qword [rsp + 0xa0], rdi
mov rdi, rbx
mov qword [rsp + 0xa8], r15
xor r15d, r15d
cmp dword [0x140164c24], r15d
jne 0x14001fdfc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14015bc10]
sub eax, dword [0x1401648c4]
cmp eax, dword [rcx + 0x118]
jbe 0x14001fdfc
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001fdf0
mov edx, 1
mov dword [0x14015bc04], r15d
lea ecx, [rdx - 2]
call fcn.140001a10
mov dword [0x14015bc04], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401648c4], eax
test bpl, bpl
je 0x14001fea5
cmp dword [0x140164c24], r15d
je 0x14001fe17
movzx eax, byte [0x140164c20]
jmp 0x14001fe1e
xor ecx, ecx
call fcn.1400235b0
movzx ecx, al
mov dword [rsp + 0x28], 0xffc3d44f
and cl, 0xc4
mov byte [rsp + 0x20], 1
or cl, 4
xor r9d, r9d
xor r8d, r8d
movzx edx, al
call fcn.140022d20
movzx eax, word [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmp ax, 0x30
jb 0x14001fe85
cmp ax, 0x39
ja 0x14001fe85
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
lea edx, [rax + 0x30]
mov byte [rsp + 0x20], r8b
xor r9d, r9d
lea ecx, [r8 + 2]
call fcn.140020230
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x30
jae 0x14001fe52
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
call fcn.140020230
jmp 0x14001feb1
movzx edx, r14b
movzx ecx, si
call fcn.14001de20
cmp dword [0x140164c24], 2
mov rax, qword [0x14015bc10]
jne 0x14001fec9
mov ecx, dword [rax + 0x80]
jmp 0x14001fecc
mov ecx, dword [rax + 0x7c]
call fcn.140022830
sub rdi, 1
jne 0x14001fd92
mov r15, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rsi
pop rbp
ret
Function at 0x140022a90
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140160780]
test r10, r10
je 0x140022bc7
movsxd rax, dword [0x140160850]
imul r9, rax, 0xd4
mov eax, 0x69
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [r9 + r10 + 6], cl
mov byte [r9 + r10], dl
mov word [r9 + r10 + 2], r8w
mov word [r9 + r10 + 4], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x140160844], eax
sub ecx, dword [0x140163cb8]
xorps xmm0, xmm0
mov dword [0x140163cb8], eax
cvtsi2ss xmm0, rcx
movsxd rcx, dword [0x140160850]
imul rdx, rcx, 0xd4
divss xmm0, dword [0x140146850]
mov rcx, qword [0x140160780]
movss dword [rdx + rcx + 8], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140022b81
cmp rax, qword [0x140160848]
je 0x140022b65
movsxd rcx, dword [0x140160850]
lea r8d, [rdi + 0x64]
imul rdx, rcx, 0xd4
mov rcx, qword [0x140160780]
add rcx, 0xc
add rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x140160850]
jmp 0x140022ba5
movsxd rdx, dword [0x140160850]
mov rax, qword [0x140160780]
imul rcx, rdx, 0xd4
mov word [rcx + rax + 0xc], di
jmp 0x140022ba5
movsxd rdx, dword [0x140160850]
movabs r8, 0x41002f004e
mov rax, qword [0x140160780]
imul rcx, rdx, 0xd4
mov qword [rcx + rax + 0xc], r8
inc edx
mov qword [0x140160848], rbx
cmp edx, dword [0x14015bc0c]
mov rbx, qword [rsp + 0x30]
cmovge edx, edi
mov rdi, qword [rsp + 0x20]
mov dword [0x140160850], edx
add rsp, 0x28
ret
Function at 0x140022bd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
movzx edi, cl
mov esi, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
lea eax, [rsi - 1]
xor ebx, 0xffffffff
and ebx, 1
inc ebx
cmp eax, 1
ja 0x140022d15
cmp ebx, esi
je 0x140022d15
mov ecx, edi
mov qword [rsp + 0x40], r14
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140022c44
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, dil
lea ecx, [r8 + 1]
call fcn.140020230
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, dil
lea ecx, [r8 + 2]
call fcn.140020230
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140163c90]
sete r14b
jne 0x140022ca2
mov edx, 1
mov dword [0x14015bc04], 0
lea ecx, [rdx - 2]
call fcn.140001a10
mov dword [0x14015bc04], 1
cmp dil, 0x14
jne 0x140022cf9
cmp esi, 2
jne 0x140022cf9
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x140022cf9
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.WSOCK32.dll_recv
mov ecx, esi
call fcn.140020230
test r14b, r14b
je 0x140022cf9
lea edx, [rsi - 1]
mov dword [0x14015bc04], 0
lea ecx, [rsi - 3]
call fcn.140001a10
mov dword [0x14015bc04], 1
mov r14, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, ebx
jmp 0x140022d00