joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140696058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406961df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140696089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069606f
add dl, dl
jne 0x140696096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406960f6
xor eax, eax
add dl, dl
jne 0x1406960a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406961ad
add dl, dl
jne 0x1406960b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406960c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406960d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406960dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406960ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14069607e
mov eax, 1
add dl, dl
jne 0x140696106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140696113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406960fb
sub eax, ebx
mov ebx, 1
jne 0x14069614c
mov ecx, 1
add dl, dl
jne 0x14069612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140696123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140696168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140696175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069615d
cmp eax, 0x7d00
jae 0x14069619b
cmp eax, 0x500
jb 0x140696196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069607e
cmp eax, 0x7f
ja 0x14069619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406961d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14069607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002600
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x180002632
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002632
nop word cs:[rax + rax]
jmp 0x180002630
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002708
mov rsi, r10
test r8b, r8b
je 0x180002720
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800026a0
test r9b, r9b
je 0x180002730
sub rsi, rcx
je 0x180002704
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002700
test ebp, ebp
jne 0x180002700
add rbx, 1
cmp rsi, rbx
jne 0x1800026c0
jmp 0x180002704
test ebp, ebp
jne 0x18000268c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002720
jmp 0x180002730
Function at 0x180002600
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002632
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002632
nop word cs:[rax + rax]
jmp 0x180002630
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
mov edx, dword [0x180020a9c]
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete dl
cmp dword [0x180020aa0], 0xa
setl r9b
mov r14, qword [rbx + 0x10]
lea r10, [rbx + 0x10]
cmp r14, r10
je 0x180002728
or r8b, al
or r9b, dl
lea r11, [rcx - 1]
xor eax, eax
mov rsi, r11
test r8b, r8b
je 0x180002710
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800026a0
test r9b, r9b
je 0x180002720
sub rsi, rcx
je 0x180002722
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx edx, word [r15 + rbx*2]
movsx r13d, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
lea r12d, [r13 - 0x41]
lea edi, [r13 + 0x20]
cmp r12b, 0x1a
cmovae edi, r13d
cmp ebp, edi
jne 0x1800026fd
test dx, dx
je 0x180002722
add rbx, 1
cmp rsi, rbx
jne 0x1800026c0
jmp 0x180002722
mov r14, qword [r14]
cmp r14, r10
jne 0x180002697
jmp 0x18000272a
jmp 0x180002710
jmp 0x180002720
mov rax, qword [r14 + 0x30]
jmp 0x18000272a
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140006cf0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [rcx], 0x26
jne 0x140006da9
mov rsi, rdx
add rcx, 1
lea rdx, [0x140101d19]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x34]
call fcn.140006dd0
cmp eax, 2
jne 0x140006da9
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x140006da0
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x60], rdx
mov rcx, rsi
call fcn.140041b00
test al, al
je 0x140006dc1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
setne sil
jmp 0x140006dab
xor esi, esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b8300
mov eax, esi
add rsp, 0x78
pop rdi
pop rsi
ret
lea rcx, str.Serialised_configuration_data_was_invalid
call fcn.140005f50
int3

Function at 0x140006fb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp ecx, 2
jne 0x140007069
mov r14d, r9d
mov ebx, r8d
mov rdi, rdx
lea eax, [rbx + 1]
movsxd rdx, eax
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
je 0x140007069
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140007069
mov rbp, rax
movsxd rbx, ebx
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call fcn.1400b9570
mov byte [rbp + rbx], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r14b, r14b
jne 0x140007039
mov rcx, qword [0x140127008]
mov r8d, 1
mov edx, 0x8002
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x140127008]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007074
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, 1
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
test r14b, r14b
je 0x140007082
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test r14b, r14b
jne 0x140007069
mov rcx, qword [0x140127008]
mov edx, 0x8002
xor r8d, r8d
xor r9d, r9d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.USER32.dll_SendMessageA]

Function at 0x14000c640
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x130
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14000c67e
cmp byte [rsp + 0x32], 0
js 0x14000c682
mov sil, byte [rsp + 0xc5]
shr sil, 7
jmp 0x14000c685
xor esi, esi
jmp 0x14000c685
mov sil, 1
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400b8300
mov eax, esi
add rsp, 0x130
pop rsi
ret
Function at 0x14000cf90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rsi
sub rsp, 0x20
mov rax, qword [0x140129350]
test rax, rax
je 0x14000cfcf
mov rsi, rcx
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
mov rax, qword [rdx]
mov rcx, rdx
xor edx, edx
call qword [rax]
lea rdx, [0x14000cfe0]
mov ecx, 0x3e8
mov r8, rsi
add rsp, 0x20
pop rsi
jmp fcn.14002c360
nop
add rsp, 0x20
pop rsi
ret

Function at 0x14000d080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [0x140129368], 0
je 0x14000d094
add rsp, 0x20
pop rsi
ret
mov byte [0x140129368], 1
lea rcx, str.hhctrl.ocx
call fcn.1400459f0
mov rsi, rax
test rax, rax
je 0x14000d0f6
lea rdx, str.HtmlHelpA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140129370], rax
test rax, rax
je 0x14000d101
cmp byte [0x140129391], 0
jne 0x14000d171
mov byte [0x140129391], 1
cmp byte [0x140129358], 1
jne 0x14000d110
mov rdx, qword [0x140129360]
test rdx, rdx
jne 0x14000d139
jmp 0x14000d171
mov qword [0x140129370], 0
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [0x140129358], 1
mov edx, 0x7d0
mov r8d, 0x7d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov qword [0x140129360], rax
test rdx, rdx
je 0x14000d171
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x140129394], eax
test eax, eax
je 0x14000d171
mov rdx, qword [0x140129360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000d171
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140129388], rax
jmp 0x14000d178
mov rax, qword [0x140129388]
test rax, rax
jne 0x14000d08e
lea rdx, str.SoftwareSimonTathamPuTTY64CHMPath
mov rcx, 0xffffffff80000002
xor r8d, r8d
call fcn.1400460d0
test rax, rax
jne 0x14000d1bb
lea rdx, str.SoftwareSimonTathamPuTTYCHMPath
mov rcx, 0xffffffff80000002
xor r8d, r8d
call fcn.1400460d0
test rax, rax
je 0x14000d08e
mov qword [0x140129378], rax
mov byte [0x140129380], 0
jmp 0x14000d08e

Function at 0x14000d1d0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140129378]
test rcx, rcx
je 0x14000d212
cmp byte [0x140129380], 1
jne 0x14000d214
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x140129370]
mov rcx, qword [0x140129378]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x140129378]
jmp 0x14000d214
xor ecx, ecx
call fcn.140042cc0
mov qword [0x140129378], 0
mov byte [0x140129380], 0
add rsp, 0x28
ret
Function at 0x14000d250
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov r15, rdx
mov r13, rcx
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdx, qword [0x140129378]
test rdx, rdx
jne 0x14000d332
cmp qword [0x140129388], 0
je 0x14000d332
cmp byte [0x140129398], 0
jne 0x14000d321
mov byte [0x140129398], 1
lea rdx, [rsp + 0x50]
mov ecx, 0x106
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x14000d321
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
lea rcx, str._sputty__lu__llu.chm
lea rdx, [rsp + 0x50]
mov r8d, eax
xor r9d, r9d
call fcn.140041fc0
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14000d3a5
mov rsi, rax
jmp 0x14000d43b
xor ebx, ebx
mov rcx, rbx
call fcn.140042cc0
mov rdx, qword [0x140129378]
test rdx, rdx
je 0x14000d380
test r15, r15
je 0x14000d36a
lea rcx, str._s::__s.html_main
mov r8, r15
call fcn.140041fc0
mov rsi, rax
mov rcx, r13
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [0x140129370]
mov rcx, rsi
call fcn.140042cc0
jmp 0x14000d379
mov rcx, r13
xor r8d, r8d
xor r9d, r9d
call qword [0x140129370]
mov byte [0x140129390], 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b8300
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x40], r13
mov edi, 1
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
lea r13, [rsp + 0x50]
mov r12, qword [sym.imp.KERNEL32.dll_CreateFileA]
nop word cs:[rax + rax]
nop dword [rax]
call r14
cmp eax, 0x50
jne 0x14000d4d6
mov rcx, rbx
call fcn.140042cc0
lea rcx, str._sputty__lu__llu.chm
mov rdx, r13
mov r8d, ebp
mov r9, rdi
call fcn.140041fc0
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call r12
add rdi, 1
cmp rax, 0xffffffffffffffff
je 0x14000d3d0
mov rsi, rax
mov r13, qword [rsp + 0x40]
mov r8d, dword [0x140129394]
test r8d, r8d
je 0x14000d49b
mov rbp, qword [0x140129388]
xor edi, edi
lea r14, [rsp + 0x4c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax]
sub r8d, edi
mov dword [rsp + 0x4c], 0
mov edx, edi
add rdx, rbp
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r9, r14
call r12
test eax, eax
je 0x14000d4ad
mov eax, dword [rsp + 0x4c]
add edi, eax
add edi, 1
mov r8d, dword [0x140129394]
cmp r8d, edi
ja 0x14000d460
mov qword [0x140129378], rbx
mov byte [0x140129380], 1
xor ebx, ebx
jmp 0x14000d4b6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
call fcn.140042cc0
cmp rsi, 0xffffffffffffffff
je 0x14000d32b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000d32b
mov r13, qword [rsp + 0x40]
jmp 0x14000d323
Function at 0x14000d4e0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
cmp byte [0x140129390], 1
jne 0x14000d500
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x140129370]
mov rcx, qword [0x140129378]
test rcx, rcx
je 0x14000d520
cmp byte [0x140129380], 1
jne 0x14000d520
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
add rsp, 0x28
ret
Function at 0x1400124c0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x18
mov rax, rcx
xor edi, edi
test edx, edx
cmovs edx, edi
mov cl, byte [rsp + 0x88]
mov byte [rsp + 7], cl
test r8d, r8d
cmovns edi, r8d
mov ecx, dword [rsp + 0x80]
mov ebp, dword [rax + 0x178]
lea r8d, [rbp - 1]
cmp ebp, r9d
cmovg r8d, r9d
movsxd rbx, dword [rax + 0x174]
lea r11d, [rbx - 1]
cmp ebx, ecx
cmovg r11d, ecx
cmp edi, r11d
jg 0x140012639
mov r9d, edx
shr r9d, 1
mov r13d, r8d
shr r13d, 0x1f
add r13d, r8d
sar r13d, 1
add r13d, 1
cmp r9d, r13d
mov esi, r13d
cmovg esi, r9d
mov edi, edi
cmp rdi, rbx
jge 0x140012639
mov ebx, edx
mov r15, rbx
shr r15, 1
add esi, r15d
sub esi, r9d
add esi, 1
lea r10d, [r8 + 1]
add r11d, 1
lea rcx, [r15 + r15*4]
lea r12, [rcx*4 + 4]
mov qword [rsp + 0x10], rbx
lea rcx, [rbx + rbx*4]
lea rcx, [rcx*4 + 4]
mov qword [rsp + 8], rcx
nop word cs:[rax + rax]
nop
mov rcx, qword [rax + 0x28]
mov rcx, qword [rcx + rdi*8]
test byte [rcx], 3
je 0x1400125e0
cmp r9d, r13d
jg 0x140012620
mov rbp, r12
mov rcx, r15
nop dword [rax + rax]
movsxd rbx, dword [rax + 0x178]
cmp rcx, rbx
jge 0x140012620
mov rbx, qword [rax + 0x28]
mov rbx, qword [rbx + rdi*8]
mov rbx, qword [rbx + 0x18]
or dword [rbx + rbp], 0x3ffff
add rcx, 1
add rbp, 0x14
cmp rsi, rcx
jne 0x1400125b0
jmp 0x140012620
cmp edx, r8d
jg 0x140012620
mov rbp, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
nop
movsxd rcx, dword [rax + 0x178]
cmp r14, rcx
jge 0x140012620
mov rcx, qword [rax + 0x28]
mov rcx, qword [rcx + rdi*8]
mov rcx, qword [rcx + 0x18]
or dword [rcx + rbp], 0x3ffff
add r14, 1
add rbp, 0x14
cmp r10, r14
jne 0x1400125f0
nop dword [rax]
add rdi, 1
cmp rdi, r11
je 0x140012639
movsxd rcx, dword [rax + 0x174]
cmp rdi, rcx
jl 0x140012590
cmp byte [rsp + 7], 0
je 0x140012658
mov rcx, rax
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000d7c0
cmp byte [rax + 0x10e9], 0
je 0x140012672
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rax + 0x10e9], 1
lea rcx, [0x14001b510]
mov rdx, rax
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14002c190
Function at 0x140022200
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [0x140127f18]
mov qword [rsp + 0x20], 0
lea r9, [fcn.140022250]
mov edx, 0x6f
xor r8d, r8d
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov rsi, rax
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rsi
add rsp, 0x30
pop rsi
jmp qword [sym.imp.USER32.dll_DestroyWindow]

Function at 0x140022eb0
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x28
mov r8, rcx
mov rcx, qword [0x1401293b8]
test rcx, rcx
jne 0x140022f01
mov rcx, qword [0x140127f18]
mov qword [rsp + 0x20], 0
lea r9, [0x140022f10]
mov edx, 0x6e
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov qword [0x1401293b8], rax
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401293b8]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_SetActiveWindow]
Function at 0x14002ac40
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
cmp byte [0x14012a4b0], 0
je 0x14002ae69
mov edi, r8d
mov ebx, edx
mov r14, rcx
cmp qword [0x14012a4b8], 0
jne 0x14002ad6a
cmp word [0x14012a4c0], 0
jne 0x14002acf9
mov dword [rsp + 0x80], 3
lea rax, [0x14002ae90]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0
mov rax, qword [0x140127f18]
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
lea rax, str.SizeTipClass
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x14012a4c0], ax
mov rsi, qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0x18
call rsi
mov dword [0x14012a4c4], eax
mov ecx, 0x17
call rsi
mov dword [0x14012a4c8], eax
lea rcx, [rsp + 0x84]
mov r8d, 0x154
xor edx, edx
call fcn.1400b9c20
mov dword [rsp + 0x80], 0x158
lea r8, [rsp + 0x80]
mov ecx, 0x29
mov edx, 0x158
xor r9d, r9d
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
lea rcx, [rsp + 0x15c]
call qword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov qword [0x14012a4d0], rax
lea rdx, str._dx_d
lea rcx, [rsp + 0x80]
mov r8d, ebx
mov r9d, edi
call fcn.140001000
mov rcx, qword [0x14012a4b8]
test rcx, rcx
je 0x14002ada3
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x14002ae69
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
lea r15, [rsp + 0x80]
mov rcx, r15
call fcn.1400cdf90
lea r9, [rsp + 0x78]
mov rcx, rbx
mov rdx, r15
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
cmp eax, 0x11
mov edx, 0x10
cmovl eax, edx
mov ebx, dword [rsp + 0x78]
mov esi, dword [rsp + 0x7c]
sub ecx, esi
cmp ecx, 0x11
cmovl ecx, edx
mov rdi, qword [0x140127f18]
movzx edx, word [0x14012a4c0]
mov qword [rsp + 0x50], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x58], 0
mov ecx, 0x88
mov r8, r15
mov r9d, 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14012a4b8], rax
mov rcx, rax
mov edx, 4
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.1400b8300
nop
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002c360
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov rbx, rdx
mov edi, ecx
cmp qword [0x14012a520], 0
jne 0x14002c3ad
lea rcx, [0x14002c5c0]
call fcn.140044150
mov qword [0x14012a520], rax
lea rcx, [0x14002c620]
call fcn.140044150
mov qword [0x14012a528], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012a518], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012a518], eax
test edi, edi
mov esi, 1
cmovne esi, edi
add esi, eax
mov ecx, 1
mov edx, 0x18
xor r8d, r8d
call fcn.140042c20
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], r14
mov dword [rax + 0x10], esi
mov eax, dword [0x14012a518]
mov dword [rdi + 0x14], eax
mov rcx, qword [0x14012a520]
mov rdx, rdi
call fcn.140044230
cmp rdi, rax
je 0x14002c40b
mov rcx, rdi
call fcn.140042cc0
jmp 0x14002c41b
mov rdx, qword [rdi + 8]
mov rcx, qword [0x14012a528]
call fcn.140044230
mov rcx, qword [0x14012a520]
xor edx, edx
call fcn.1400449a0
cmp rax, rdi
jne 0x14002c436
mov ecx, dword [rdi + 0x10]
call fcn.140006f50
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002c460
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
cmp qword [0x14012a520], 0
jne 0x14002c4a6
lea rcx, [0x14002c5c0]
call fcn.140044150
mov qword [0x14012a520], rax
lea rcx, [0x14002c620]
call fcn.140044150
mov qword [0x14012a528], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012a518], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012a518], eax
mov rcx, qword [0x14012a520]
xor ebx, ebx
xor edx, edx
call fcn.1400449a0
test rax, rax
je 0x14002c54c
mov rdi, rax
jmp 0x14002c4fe
mov rcx, qword [0x14012a520]
xor edx, edx
call fcn.140045000
mov rcx, rdi
call fcn.140042cc0
mov rcx, qword [0x14012a520]
xor ebx, ebx
xor edx, edx
call fcn.1400449a0
mov rdi, rax
test rax, rax
je 0x14002c54c
mov rdx, qword [rdi + 8]
mov rcx, qword [0x14012a528]
xor r8d, r8d
call fcn.140044f10
test rax, rax
je 0x14002c4d0
mov ecx, dword [0x14012a518]
mov ebx, dword [rdi + 0x10]
mov edx, dword [rdi + 0x14]
add edx, 0xfffffff6
sub ecx, edx
mov eax, ebx
sub eax, edx
cmp ecx, eax
jbe 0x14002c548
mov rcx, qword [0x14012a520]
xor edx, edx
call fcn.140045000
mov edx, dword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call qword [rdi]
jmp 0x14002c4de
mov dword [rsi], ebx
mov bl, 1
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret