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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14004a174
cmp r8d, 0xff
jne 0x14004a0b1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14004a09b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x6af30]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140025b20
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140025b20
cmp r8d, 0xfb
jne 0x14004a0c3
lea r9, str.WILL
jmp 0x14004a101
cmp r8d, 0xfc
jne 0x14004a0d5
lea r9, str.WONT
jmp 0x14004a101
cmp r8d, 0xfd
jne 0x14004a0e7
lea r9, [0x14006b954]
jmp 0x14004a101
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14004a15d
cmp r10d, 0x27
jg 0x14004a134
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x6b550]
test r8, r8
jne 0x14004a144
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140025b20
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14004a11b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140025b20
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140025b20
add rsp, 0x38
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14004a51f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400259a0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14004a050
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14004a6d0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14004a878
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14004a735
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14004a735
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14004a735
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14004a76c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14004a7c2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004a7c2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004a7c2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004a7c2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004a7c2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14004a180
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14004a824
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400259a0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14004a550
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14004a870
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400259a0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14004bfe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140078080]
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 0x14004c075
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 0x14004c0d6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400259a0
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.14005f5b0
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 0x14004c191
sub ecx, 1
je 0x14004c204
sub ecx, 1
je 0x14004c140
cmp ecx, 1
je 0x14004c123
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400693b0]
call fcn.1400259a0
jmp 0x14004c204
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14004bd10
test eax, eax
je 0x14004c204
jmp 0x14004c0aa
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 0x14004c204
sub rax, rsi
cmp rax, rbp
jae 0x14004c204
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140025b20
jmp 0x14004c204
cmp r8d, 4
jle 0x14004c204
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 0x14004c204
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400258c0
mov esi, eax
test eax, eax
je 0x14004c1e3
mov edx, 5
mov rcx, rbx
call fcn.14004ccd0
mov eax, esi
jmp 0x14004c0aa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140034f30
mov rcx, r14
call fcn.140035210
test eax, eax
je 0x14004c0a8
mov edx, 5
mov rcx, rbx
call fcn.14004ccd0
mov eax, Ordinal_45
jmp 0x14004c0aa
Function at 0x14005f0e0
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 [section..data]
mov rdi, rax
test rax, rax
jne 0x14005f122
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 0x14005f169
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 0x14005f1c2
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 0x14005f180
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14005f203
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14006ebca]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14006ebcb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14005f1d0
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 0x14005fed0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005ff1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005ff1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005ff1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005ff1a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005ff1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005ff1c
xor al, al
add rsp, 0x28
ret
Function at 0x10000d200
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x100045240]
cmp ax, 0xcb
je 0x10000d335
cmp ax, 0xcc
je 0x10000d335
mov rax, qword [0x10005d950]
test rax, rax
je 0x10000d23c
mov ecx, dword [0x10005d730]
call rax
mov rbx, rax
jmp 0x10000d243
lea rbx, [0x10005d738]
cmp word [0x10005d720], 0
jle 0x10000d26a
lea rcx, [0x10005d6f0]
call fcn.10000d520
mov rcx, rbx
call fcn.10000cca0
mov rcx, rbx
call fcn.10000cd30
mov rsi, qword [rbx]
jmp 0x10000d29a
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
test rax, rax
jne 0x10000d28d
mov rdx, rsi
mov rcx, rbx
call fcn.10000bef0
jmp 0x10000d297
mov rax, qword [rsi]
and rax, 0xfffffffffffffffe
mov qword [rsi], rax
mov rsi, rdi
test rsi, rsi
jne 0x10000d270
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x10005d720], 0
jle 0x10000d335
lea rdx, [0x10005d600]
mov rcx, rbx
call fcn.10000c080
mov rsi, rax
test rsi, rsi
je 0x10000d304
mov rax, qword [0x10005d6a0]
mov qword [rsi + 0x18], rax
cmp qword [0x10005d6a0], 0
je 0x10000d2f6
mov rax, qword [0x10005d6a0]
mov qword [rax + 0x10], rsi
mov rax, qword [rbx + 0xa0]
mov qword [0x10005d6a0], rax
sub word [0x10005d720], 1
cmp word [0x10005d720], 0
sete bl
lea rcx, [0x10005d6f0]
call fcn.10000d540
test bl, bl
je 0x10000d335
lea rcx, [0x10005d6f0]
call fcn.10000d500
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x10000f4f0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x138]
mov esi, 0
mov qword [0x10005d390], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x28]
mov r8d, 0x104
movabs rcx, 0
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, 0xffffffff
mov byte [rsp + rax + 0x28], 0
mov r8d, ebx
mov rcx, rsp
mov edx, 0
call fcn.10000f6d0
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x10005d390]
mov rdx, qword [rax]
lea rcx, [rsp + 0x28]
call fcn.100002090
call sub.kernel32.dll_GetCommandLineA
mov qword [0x1000452b0], rax
mov r14, rax
jmp 0x10000f678
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x10000f588
cmp byte [r14], 0
je 0x10000f682
mov dil, 0
mov r12, r14
mov ebx, 0
jmp 0x10000f5ea
mov al, byte [r14]
cmp al, 1
jb 0x10000f5e3
sub al, 1
sub al, 0x1f
jbe 0x10000f5c3
sub al, 2
je 0x10000f5cd
jmp 0x10000f5e3
test dil, dil
je 0x10000f5f0
add ebx, 1
jmp 0x10000f5e6
cmp byte [r14 + 1], 0x22
je 0x10000f5dd
test dil, dil
sete dil
jmp 0x10000f5e6
add r14, 1
jmp 0x10000f5e6
add ebx, 1
add r14, 1
cmp byte [r14], 0
jne 0x10000f5b0
test esi, esi
je 0x10000f675
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.10000f6d0
mov dil, 0
mov r14, r12
mov rdx, qword [0x10005d390]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x10000f66a
mov al, byte [r14]
cmp al, 1
jb 0x10000f65b
sub al, 1
sub al, 0x1f
jbe 0x10000f633
sub al, 2
je 0x10000f645
jmp 0x10000f65b
test dil, dil
je 0x10000f670
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x10000f666
cmp byte [r14 + 1], 0x22
je 0x10000f655
test dil, dil
sete dil
jmp 0x10000f666
add r14, 1
jmp 0x10000f666
mov al, byte [r14]
mov byte [r13], al
add r13, 1
add r14, 1
cmp byte [r14], 0
jne 0x10000f620
mov byte [r13], 0
add esi, 1
cmp byte [r14], 0
jne 0x10000f58c
mov dword [0x10005d380], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x10005d390]
call fcn.10000cfc0
mov rax, qword [0x10005d390]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x138]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x10001b1b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov edi, 0
mov esi, 1
mov ebx, 6
add ebx, 1
nop
nop
sub ebx, 1
mov eax, ebx
lea rdx, [0x100045cb0]
movzx ecx, byte [rdx + rax]
call sub.user32.dll_GetKeyState
movsx eax, ax
mov edx, esi
and edx, eax
test edx, edx
je 0x10001b1ff
mov eax, ebx
lea rdx, [0x100045cc0]
movzx edx, byte [rdx + rax]
or edi, edx
mov esi, 0x8000
test ebx, ebx
jg 0x10001b1d0
mov eax, edi
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x10001d740
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
lea rsp, [rsp - 0x128]
mov rsi, rcx
mov edi, edx
test edi, edi
jne 0x10001d795
lea rdx, [rsp + 0x20]
mov r8d, 0x105
movabs rcx, 0
call fcn.10001aed0
mov ebx, eax
lea r12, [rsp + 0x20]
mov rcx, rsi
call fcn.100006720
mov rcx, rsi
mov r9d, 0
mov rdx, r12
mov r8, rbx
call fcn.100007f60
jmp 0x10001d7fd
call fcn.10001aec0
mov rbx, rax
nop
mov rcx, rbx
call fcn.10001d6d0
mov r12, rax
mov rcx, r12
call fcn.10001d6f0
mov rbx, rax
sub edi, 1
cmp edi, 0
jge 0x10001d7a0
mov rax, rbx
sub rax, r12
cmp eax, 2
jl 0x10001d7de
cmp byte [r12], 0x22
jne 0x10001d7de
cmp byte [rbx - 1], 0x22
jne 0x10001d7de
add r12, 1
sub rbx, 1
sub rbx, r12
mov rcx, rsi
call fcn.100006720
mov rcx, rsi
mov rdx, r12
mov r9d, 0
mov r8, rbx
call fcn.100007f60
nop
lea rsp, [rsp + 0x128]
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x10001fe50
Capabilities:
Hide graphical window

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov rbx, rcx
mov eax, dword [rbx + 0x44]
and eax, 0xefffffff
mov dword [rbx + 0x44], eax
test dl, dl
je 0x10001fe6f
or dword [rbx + 0x44], 0x10000000
test dl, dl
je 0x10001fe79
or byte [rbx + 0x47], 0x10
jmp 0x10001fe7d
and byte [rbx + 0x47], 0xef
cmp qword [rbx + 0x38], 0
je 0x10001febc
test dl, dl
je 0x10001fea1
mov rcx, rbx
call qword [0x100045c70]
mov rcx, qword [rbx + 0x38]
mov edx, 5
call sub.user32.dll_ShowWindow
jmp 0x10001febc
and byte [rbx + 0x63], 0xfe
mov rcx, qword [rbx + 0x38]
mov edx, 0
call sub.user32.dll_ShowWindow
mov rcx, rbx
call qword [0x100045c70]
nop
lea rsp, [rsp + 0x20]
pop rbx
ret

Function at 0x100024680
Capabilities:
Check os version

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
cmp byte [0x100045e30], 0xff
je 0x10002469a
mov bl, byte [0x100045e30]
jmp 0x100024716
call sub.kernel32.dll_GetVersion
mov dl, al
mov cx, ax
and ecx, 0xffff
shr ecx, 8
and ecx, 0xff
cmp eax, 0
jl 0x1000246e5
mov bl, 4
cmp dl, 6
jb 0x1000246cc
cmp cl, 1
jb 0x1000246c8
mov bl, 9
jmp 0x10002470d
mov bl, 8
jmp 0x10002470d
cmp dl, 5
jb 0x10002470d
cmp cl, 1
jb 0x1000246e1
mov bl, 6
cmp cl, 2
jb 0x10002470d
mov bl, 7
jmp 0x10002470d
mov bl, 5
jmp 0x10002470d
mov bl, 1
cmp dl, 4
ja 0x1000246f6
cmp dl, 4
jne 0x100024706
cmp cl, 0xa
jb 0x100024706
mov bl, 2
cmp dl, 4
jne 0x10002470d
cmp cl, 0x5a
jb 0x10002470d
mov bl, 3
jmp 0x10002470d
cmp dl, 3
ja 0x10002470d
mov bl, 0
movzx eax, bl
mov byte [0x100045e30], al
movzx eax, bl
nop
lea rsp, [rsp + 0x20]
pop rbx
ret

Function at 0x100027620
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov rsi, rdx
mov rcx, rsi
mov r8d, 0
movabs rdx, 0x200
call fcn.100007620
mov rdx, qword [rsi]
mov rcx, qword [rbx + 0x18]
mov r8d, 0x200
call fcn.10001b040
mov edx, eax
movsxd rdx, edx
mov rcx, rsi
mov r8d, 0
call fcn.100007620
lea rcx, [rbx + 8]
mov r8d, 0
movabs rdx, 0x200
call fcn.100007620
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x18]
mov r8d, 0x200
call fcn.10001b020
mov edx, eax
movsxd rdx, edx
lea rcx, [rbx + 8]
mov r8d, 0
call fcn.100007620
nop
lea rsp, [rsp + 0x28]
pop rsi
pop rbx
ret
Function at 0x10002a970
Capabilities:
Terminate process

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov rbx, rcx
cmp qword [rbx + 8], 0
je 0x10002a9e2
mov byte [rbx + 0x50], 0
mov rcx, qword [rbx + 8]
mov edx, 0
call sub.kernel32.dll_TerminateProcess
mov rcx, qword [rbx + 8]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbx + 0x30]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbx + 0x38]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbx + 0x18]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbx + 0x20]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbx + 0x48]
call sub.kernel32.dll_CloseHandle
mov qword [rbx + 8], 0
nop
lea rsp, [rsp + 0x20]
pop rbx
ret

Function at 0x10003bf10
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
mov ebx, 1
sub ebx, 1
nop
nop
add ebx, 1
mov eax, ebx
lea rdx, [0x10005e540]
lea rcx, [rdx + rax*8 - 8]
movabs rdx, 0
call fcn.100006790
mov eax, ebx
lea rdx, [0x10005e580]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x10003bf38
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0x10]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
cmp eax, 0
jle 0x10003bffc
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x18]
mov r9d, 0
movabs r8, 0xa
call fcn.100007330
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.100034340
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x10003bffb
lea rcx, [0x10003bd90]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x10003be50]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop
mov rcx, rbp
call fcn.10003bef0
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret
Function at 0x140006450
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140159680]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140159dd8]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a85], 0
jne 0x1400064b8
cmp byte [rbx + 0x4a86], 0
jne 0x1400064b8
movsx r9d, word [rbx + 0x5baa]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000b530
test sil, 1
je 0x1400065f0
jmp 0x140006551
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140058374]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x140058364]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
or dword [rbx + 0x47b8], 1
mov qword [rbx + 0x47d0], rax
movss dword [rbx + 0x47c8], xmm0
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mov rax, qword [0x140159dd8]
mulss xmm0, dword [0x140058318]
or dword [rax + 0x47b8], 0x40
movss dword [rax + 0x4818], xmm0
movsx r9d, word [rbx + 0x5baa]
call fcn.14000b530
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400065a1
lea r11, [0x140056820]
cmp r9b, 0x23
jne 0x140006584
cmp byte [r8], r9b
jne 0x140006584
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140006571
not ecx
call fcn.140009c70
test rax, rax
je 0x1400065f0
cmp byte [rax + 0xb6], 0
je 0x1400065f0
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5baa]
movsx r9d, word [rbx + 0x5baa]
call fcn.14000b530
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400040b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140052d00
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140009bc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140159dd8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140009c23
mov qword [rsp], rbx
lea rbx, [0x140056820]
nop dword [rax]
cmp r9b, 0x23
jne 0x140009c03
cmp byte [r8], r9b
jne 0x140009c03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140009bf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c08]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140009c57
mov r10, qword [r10 + 0x5c10]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140009c5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140009c44
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140009cf0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140009d40
lea r11, [0x140056820]
cmp r9b, 0x23
jne 0x140009d23
cmp byte [r8], r9b
jne 0x140009d23
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140009d10
not ecx
jmp fcn.140009c70

Function at 0x14000a5e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140056820]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f2c], ebx
jne 0x14000a677
movsxd r8, edx
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.1400080f0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret