joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024000
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movzx r10d, word [rcx]
movzx ebp, r8b
mov rsi, rcx
test r10w, r10w
je 0x140024145
movzx r9d, word [rcx + 2]
movzx ecx, r10w
test r9w, r9w
jne 0x14002404e
mov r8, qword [rsp + 0x60]
mov r9b, 1
call fcn.140024160
jmp 0x140024147
mov edx, 0xffdf
lea eax, [r10 - 0x61]
and cx, dx
cmp ax, 0x19
cmova cx, r10w
cmp cx, 0x56
jne 0x1400240b0
movzx ecx, r9w
lea eax, [r9 - 0x61]
and cx, dx
cmp ax, 0x19
cmova cx, r9w
cmp cx, 0x4b
jne 0x1400240b0
lea rcx, [rsi + 4]
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x40]
call fcn.1400ce848
mov rcx, qword [rsp + 0x40]
xor edi, edi
movzx edx, al
cmp word [rcx], di
cmove edi, edx
movzx eax, dil
jmp 0x140024147
lea r15, str.Numpad0
xor edi, edi
mov rbx, r15
lea r14, [0x140129c70]
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.1400c8244
test eax, eax
je 0x140024137
inc edi
add rbx, 0x10
cmp rbx, r14
jl 0x1400240c3
test bpl, bpl
jne 0x140024145
xor edx, edx
mov rcx, rsi
call fcn.140023f10
test ax, ax
je 0x140024145
movzx edx, ax
sub edx, 0x45
je 0x140024133
mov r8d, 0xff
sub edx, 0xf1
je 0x14002410c
cmp edx, 0xf
jne 0x140024110
and ax, r8w
bt ax, 8
jae 0x140024123
and ax, r8w
mov ecx, 0xe000
or ax, cx
movzx ecx, ax
mov edx, 3
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
jmp 0x140024147
mov al, reloc.WSOCK32.dll_send
jmp 0x140024147
movsxd rax, edi
add rax, rax
movzx eax, byte [r15 + rax*8 + 8]
jmp 0x140024147
xor al, al
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140024160
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, cx
movzx esi, r9b
mov rbx, rdx
cmp edi, 0xa
jne 0x140024190
mov al, 0xd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, r8
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rdx, ax
mov rcx, rdx
shr rcx, 8
cmp cl, 0xff
jne 0x1400241ee
cmp dl, 0xff
jne 0x1400241ee
test sil, sil
je 0x1400241f3
lea eax, [rdi - 0x41]
cmp ax, 0x19
jbe 0x1400241c8
lea eax, [rdi - 0x61]
cmp ax, 0x19
ja 0x1400241f3
movzx r8d, dil
lea edx, [rdi - 0x61]
movzx eax, r8b
and al, 0xdf
cmp dx, 0x19
movzx ecx, al
cmova ecx, r8d
sub di, 0x41
cmp di, 0x19
movzx edx, cl
setbe cl
test cl, 0x38
je 0x140024205
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rbx, rbx
je 0x140024248
movzx eax, cl
and al, 6
cmp al, 6
jne 0x140024218
or byte [rbx], 8
jmp 0x140024238
test cl, 2
je 0x140024228
movzx eax, byte [rbx]
test al, 3
jne 0x140024228
or al, 1
mov byte [rbx], al
test cl, 4
je 0x140024238
movzx eax, byte [rbx]
test al, 0xc
jne 0x140024238
or al, 4
mov byte [rbx], al
test cl, 1
je 0x140024248
movzx eax, byte [rbx]
test al, 0x30
jne 0x140024248
or al, 0x10
mov byte [rbx], al
mov rbx, qword [rsp + 0x30]
movzx eax, dl
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400249d0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r14d, r14d
movsxd rbp, r9d
movzx ebx, dx
mov rsi, r8
mov word [r8], r14w
movzx edi, cl
lea r15, [0x140000000]
test cl, cl
jne 0x140024a5a
test bx, bx
je 0x140024adc
mov edx, ebx
movzx ecx, bx
sub edx, 0x45
je 0x140024a55
mov r8d, 0xff
sub edx, 0xf1
je 0x140024a2c
cmp edx, 0xf
jne 0x140024a30
and cx, r8w
bt cx, 8
jae 0x140024a43
and cx, r8w
mov eax, 0xe000
or cx, ax
movzx ecx, cx
mov edx, 3
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
jmp 0x140024a87
mov dil, reloc.WSOCK32.dll_send
jmp 0x140024a87
test bx, bx
jne 0x140024a87
cmp dil, 0xd
je 0x140024a74
mov dl, 1
call fcn.140024b70
movzx ebx, ax
test ax, ax
jne 0x140024a87
xor edx, edx
movzx ecx, dil
call fcn.140024b70
movzx ebx, ax
test ax, ax
je 0x140024ae1
lea eax, [rdi + 0x64]
cmp al, 3
jbe 0x140024ae1
mov ecx, r14d
lea rax, [0x1401294f8]
lea rdx, [0x1401295c8]
nop
cmp word [rax], bx
je 0x140024ab6
inc ecx
add rax, 0x10
cmp rax, rdx
jl 0x140024aa0
mov word [rsi], r14w
jmp 0x140024ad6
movsxd rdx, ecx
lea r8, [rbp - 1]
add rdx, rdx
mov rcx, rsi
mov rdx, qword [r15 + rdx*8 + 0x1294f0]
call fcn.1400d6d74
mov word [rsi + rbp*2 - 2], r14w
cmp word [rsi], r14w
je 0x140024ae1
mov rax, rsi
jmp 0x140024b4d
mov ecx, r14d
lea rax, [0x1401295c8]
lea rdx, [0x140129c78]
cmp byte [rax], dil
je 0x140024b20
inc ecx
add rax, 0x10
cmp rax, rdx
jl 0x140024af2
movzx ecx, dil
call fcn.140023ce0
mov word [rsi], ax
test ax, ax
je 0x140024b1a
mov word [rsi + 2], r14w
jmp 0x140024b40
mov word [rsi], r14w
jmp 0x140024b40
movsxd rdx, ecx
lea r8, [rbp - 1]
add rdx, rdx
mov rcx, rsi
mov rdx, qword [r15 + rdx*8 + 0x1295c0]
call fcn.1400d6d74
mov word [rsi + rbp*2 - 2], r14w
cmp word [rsi], r14w
mov rax, qword [rsp + 0x60]
cmovne rax, rsi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140024b70
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ebx, cl
movzx edi, dl
mov ecx, ebx
sub ecx, 0x13
je 0x140024c44
sub ecx, 0x19
je 0x140024c3d
cmp ecx, 0x64
je 0x140024c36
mov edx, 4
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
test ax, ax
jne 0x140024bbe
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 0xe000
mov r9d, 0x100
test ax, dx
je 0x140024bda
mov eax, 0xff
and dx, ax
or dx, r9w
add ebx, 0xfffffff3
cmp ebx, 0x94
ja case.0x140024c03.14
lea r8, [0x140000000]
movsxd rax, ebx
movzx eax, byte [r8 + rax + 0x24c6c]
mov ecx, dword [r8 + rax*4 + 0x24c60]
add rcx, r8
jmp rcx
movzx eax, dx
mov ecx, eax
or ecx, r9d
test dil, dil
cmovne eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
or dx, r9w
xor eax, eax
test dil, dil
cmove ax, dx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x145
jmp 0x140024c49
mov ecx, 0x137
jmp 0x140024c49
mov ecx, 0x45
mov rbx, qword [rsp + 0x30]
xor eax, eax
test dil, dil
cmove ax, cx
add rsp, 0x20
pop rdi
ret
Function at 0x140029270
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400292a9
mov ecx, 0xb7
call qword [sym.imp.KERNEL32.dll_SetLastError]
shr ebx, 4
and bl, 1
movzx eax, bl
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rsi
mov rcx, rdi
mov esi, 0x5c
mov edx, esi
call fcn.1400c4208
mov rbx, rax
cmp rax, rdi
jbe 0x1400292e0
cmp word [rax - 2], 0x3a
je 0x1400292e0
xor eax, eax
mov rcx, rdi
mov word [rbx], ax
call fcn.140029270
mov word [rbx], si
test al, al
je 0x1400292fc
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14002930e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002930e
mov rsi, qword [rsp + 0x30]
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x30]
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002a0e0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
mov eax, 0x10040
call fcn.1400e19f0
sub rsp, rax
movzx eax, r8b
mov r10, rdx
inc eax
mov qword [rsp + 0x30], 0
mov rbx, rcx
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002a144
xor al, al
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10040
pop rdi
ret
mov qword [rsp + 0x10050], rbp
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x10058], rsi
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14002a160
cmp r8, 0x8000
lea rcx, [rsp + 0x40]
mov eax, 0x7fff
mov rdx, rbx
cmovae r8, rax
lea r8, [r8*2 + 2]
call fcn.1400e5b10
lea rcx, [rsp + 0x40]
call fcn.1400d474c
mov r8d, 0xa
lea rdx, [rsp + 0x40]
xor ecx, ecx
xor sil, sil
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14002a20a
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002a20a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14002a20a
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea r9, [rsp + 0x10060]
mov qword [rsp + 0x20], 0
mov r8d, eax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne sil
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x10050]
movzx eax, sil
mov rsi, qword [rsp + 0x10058]
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10040
pop rdi
ret
Function at 0x14002a240
Capabilities:
Copy file
Get file attributes
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x20030
call fcn.1400e19f0
sub rsp, rax
mov rax, rdx
movzx edi, r8b
mov rbx, rcx
lea r8, [rsp + 0x10030]
mov rcx, rax
xor r9d, r9d
mov edx, 0x8000
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rcx, qword [0x140132118]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rax, qword [0x14012bd90]
lea rcx, [0x140104c70]
test rax, rax
je 0x14002a2b6
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r9d, 0xffffffff
mov dword [rsp + 0x20], 1
mov edx, r9d
lea r8, [rsp + 0x10030]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x14002a307
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14002a307
mov al, 1
mov rbx, qword [rsp + 0x20040]
add rsp, 0x20030
pop rdi
ret
mov r8d, edi
lea rdx, [rsp + 0x10030]
xor r8d, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rbx, qword [rsp + 0x20040]
test eax, eax
setne al
add rsp, 0x20030
pop rdi
ret
Function at 0x14002e670
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x190
mov r9d, dword [rcx]
mov rsi, rdx
movsxd rdi, r8d
mov r14, rcx
test r9d, r9d
je 0x14002e88d
sub r9d, 2
je 0x14002e884
sub r9d, 1
je 0x14002e87b
sub r9d, 1
je 0x14002e6d0
cmp r9d, 1
je 0x14002e6c4
lea rax, [0x140104c70]
jmp 0x14002e894
lea rax, [0x14010b608]
jmp 0x14002e894
test rsi, rsi
je 0x14002e872
movzx eax, word [rcx + 0x68]
mov qword [rsp + 0x1a8], rbp
test ax, ax
je 0x14002e707
xor ebp, ebp
mov word [rdx], ax
mov word [rdx + 2], bp
lea rax, str.EndKey
mov rbp, qword [rsp + 0x1a8]
jmp 0x14002e894
cmp byte [rcx + 0x6b], 0
mov qword [rsp + 0x1a0], rbx
je 0x14002e7d7
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x100
call fcn.1400e61b0
mov byte [rsp + 0xa0], 0x80
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
mov ebx, ebp
test rax, rax
je 0x14002e77f
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x48
mov ecx, eax
mov ebx, eax
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x14002e77f
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002e77f
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, byte [r14 + 0x65]
mov ebx, ebp
cmp byte [0x14012fe66], bl
mov rdi, rax
setne bl
xor edx, edx
call fcn.140024b70
movzx ecx, byte [r14 + 0x65]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x30], rdi
mov r9, rsi
movzx edx, ax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
movsxd rcx, eax
mov word [rsi + rcx*2], bp
jmp 0x14002e862
xor ebp, ebp
mov word [rdx], bp
cmp byte [rcx + 0x6a], bpl
je 0x14002e82f
movzx edx, word [rcx + 0x66]
lea rax, [0x1401294f8]
mov ecx, ebp
lea r8, [0x1401295c8]
cmp word [rax], dx
je 0x14002e808
inc ecx
add rax, 0x10
cmp rax, r8
jl 0x14002e7f6
jmp 0x14002e82f
movsxd rdx, ecx
lea rax, str.NumpadEnter
add rdx, rdx
lea r8, [rdi - 1]
mov rcx, rsi
mov rdx, qword [rax + rdx*8]
call fcn.1400d6d74
mov word [rsi + rdi*2 - 2], bp
cmp word [rsi], bp
jne 0x14002e862
cmp byte [r14 + 0x6a], bpl
mov r8d, edi
movzx ecx, byte [r14 + 0x65]
mov rdx, rsi
sete r9b
call fcn.140023c10
cmp word [rsi], bp
jne 0x14002e862
movzx r9d, word [r14 + 0x66]
lea r8, str.sc_03X
mov edx, edi
mov rcx, rsi
call fcn.1400a4cd0
mov rbx, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1a8]
lea rax, str.EndKey
jmp 0x14002e894
lea rax, str.Match
jmp 0x14002e894
lea rax, str.Timeout
jmp 0x14002e894
lea rax, str.Stopped
lea r11, [rsp + 0x190]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14002f3d0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [rax + 1]
lea eax, [rbx + rbx]
movsxd rcx, eax
call fcn.1400c83d4
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14002f415
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14002f431
mov rax, qword [rdi + 0x18]
xor ecx, ecx
mov word [rax], cx
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003390c
Capabilities:
Get disk information
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x230
mov rbx, rdx
mov r8d, ecx
xor r12d, r12d
mov ecx, 0x1000
mov word [rdx], r12w
mov sil, r9b
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x140033a52
mov r8d, 0x104
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
mov edi, eax
test eax, eax
je 0x140033a47
test sil, sil
je 0x1400339a5
mov edx, 0x5c
mov rcx, rbx
call fcn.1400c4208
mov rsi, rax
test rax, rax
je 0x140033a47
mov rcx, rax
call fcn.1400d4234
lea rdx, [rsi + 2]
mov rcx, rbx
lea r8, [rax + rax]
call fcn.1400e5b10
jmp 0x140033a47
mov eax, 0x41
mov dword [rsp + 0x26a], 0x3a
mov word [rsp + 0x268], ax
lea ebp, [rax + 0x1b]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x268]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
cmp eax, 2
jbe 0x140033a00
add esi, 0xfffffffe
lea rcx, [rsp + 0x20]
mov r8d, esi
mov rdx, rbx
call fcn.1400d48f8
test eax, eax
jne 0x140033a00
lea rdx, [rbx + rsi*2]
cmp word [rdx], bp
je 0x140033a1b
movzx eax, word [rsp + 0x268]
inc ax
mov word [rsp + 0x268], ax
cmp ax, 0x5a
jbe 0x1400339c0
jmp 0x140033a47
movzx eax, word [rsp + 0x268]
lea rcx, [rbx + 4]
mov word [rbx], ax
sub edi, esi
movzx eax, word [rsp + 0x26a]
mov word [rbx + 2], ax
lea r8d, [rdi + 1]
add r8, r8
call fcn.1400e5b10
add edi, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, qword [0x140132068]
mov rsi, r8
mov rbp, rdx
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
jmp 0x1400406d2
test ebx, ebx
js 0x1400406c2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rdi + rbx]
sub ecx, eax
cmp ecx, 5
jle 0x1400406f8
mov r8d, edi
mov rdx, r14
mov ecx, 0x8000012f
call fcn.1400405ec
mov rcx, rbp
call rsi
test al, al
je 0x1400406ae
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor al, al
jmp 0x1400406dd
Function at 0x1400443e0
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
xor ebx, ebx
xor r12b, r12b
mov qword [rax + 8], rbx
mov r15, r9
mov r14, r8
mov rbp, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400444e3
mov r8, rcx
mov dword [rax - 0x30], 1
lea rcx, [rax + 8]
lea rdx, [rax - 0x60]
call fcn.140045a20
cmp eax, 1
sete r12b
test eax, eax
jne 0x140044454
test dword [rsp + 0x78], 0xfffffff7
mov eax, 0xa0000000
mov ecx, 0x20000000
cmovne eax, ecx
jmp 0x140044618
mov ecx, dword [rdi + 0x10]
lea rsi, [0x140104c70]
test ecx, ecx
je 0x1400444d6
sub ecx, 1
je 0x1400444c9
sub ecx, 1
je 0x1400444c9
cmp ecx, 2
jne 0x1400444c9
mov rbx, qword [rdi]
cmp byte [rbx + 0x23], 0
jne 0x140044495
mov rcx, qword [rbx + 0x10]
mov edx, 1
call fcn.1400079d4
mov rbx, qword [rsp + 0xb0]
mov r8, rax
jmp 0x1400444ed
test byte [rbx + 0x21], 1
je 0x1400444a3
mov rcx, rbx
call fcn.140007840
cmp byte [rbx + 0x23], 3
jb 0x1400444bb
cmp byte [rbx + 0x21], 0
jl 0x1400444bb
mov rcx, rbx
call fcn.1400a84d0
and byte [rbx + 0x21], 0x7f
mov r8, qword [rbx + 8]
mov rbx, qword [rsp + 0xb0]
jmp 0x1400444ed
mov rbx, qword [rsp + 0xb0]
mov r8, rsi
jmp 0x1400444ed
mov r8, qword [rdi]
mov rbx, qword [rsp + 0xb0]
jmp 0x1400444ed
lea rsi, [0x140104c70]
mov r8, rsi
movzx eax, word [r8]
test rbp, rbp
mov ecx, 0xffdf
cmove rbp, rsi
test r14, r14
cmove r14, rsi
test r15, r15
cmove r15, rsi
sub ax, 0x41
test cx, ax
jne 0x140044599
cmp word [r8 + 2], 0
jne 0x140044599
cmp word [rbp], 0
jne 0x140044599
cmp word [r14], 0
jne 0x140044599
cmp word [r15], 0
jne 0x140044599
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x14004459e
mov rcx, qword [0x140129398]
cmp byte [rcx + 0xbf], 0
jne 0x14004459e
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140044595
mov r9d, 4
mov dword [rsp + 0xb0], 0
lea r8, [rsp + 0xb0]
mov edx, recv
mov rcx, rbx
call qword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x14004459e
cmp dword [rsp + 0xb0], 0
je 0x14004459e
xor ebx, ebx
jmp 0x14004459e
test r12b, r12b
je 0x1400445d3
test rbx, rbx
je 0x140044613
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rdi + 0xb0]
test rcx, rcx
je 0x1400445ce
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x30], rbx
call fcn.140095180
inc dword [rdi + 0x7c]
jmp 0x140044613
mov rbx, qword [rsp + 0xd0]
mov r9, rbp
mov rdx, qword [0x140129398]
mov rcx, rbx
sub rdx, 0xffffffffffffff80
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov byte [rbx + 0x79], 1
call fcn.1400ac130
test eax, eax
je 0x140044613
mov rdx, rbx
lea rcx, [0x1400ab3d0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140047c80
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x2e0], 0
mov rbx, rcx
je 0x140047e27
mov r8, qword [0x140129398]
movzx ecx, byte [0x14012fed7]
test dl, dl
jne 0x140047cce
cmp byte [rbx + 0x810], dl
jne 0x140047e27
movzx eax, byte [0x140133269]
cmp byte [r8 + 0x78], al
jne 0x140047cce
cmp cl, byte [0x140133268]
je 0x140047e27
movzx edx, byte [r8 + 0x78]
mov qword [rsp + 0x48], rdi
test dl, dl
je 0x140047ced
xor edi, edi
test cl, cl
setne dil
add rdi, 0xcf
jmp 0x140047cfc
test cl, cl
mov edi, 0x9f
mov eax, 0xce
cmovne edi, eax
mov rax, qword [rbx + 0x800]
test rax, rax
je 0x140047d21
cmp byte [rbx + 0x810], 0
jne 0x140047dd4
test dl, dl
jne 0x140047d21
test cl, cl
je 0x140047dd4
mov eax, dword [0x140133478]
mov qword [rsp + 0x40], rsi
mov qword [rbx + 0x2f8], 0
test al, 1
jne 0x140047d68
or eax, 1
lea rcx, str.user32.dll
mov dword [0x140133478], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetDpiForWindow
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140133480], rax
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp qword [0x140133480], 0
mov esi, eax
je 0x140047daa
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
call qword [0x140133480]
mov r8d, dword [0x1401319a4]
mov ecx, esi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov rcx, qword [0x14012fee8]
mov r9d, esi
mov dword [rsp + 0x28], 0x8000
mov r8d, 1
mov rdx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_LoadImageW]
mov rsi, qword [rsp + 0x40]
lea rdx, [rbx + 0x2d8]
mov qword [rbx + 0x2f8], rax
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov rdi, qword [rsp + 0x48]
test eax, eax
jne 0x140047e09
lea rdx, [rbx + 0x2d8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x140047e27
mov rax, qword [0x140129398]
movzx ecx, byte [rax + 0x78]
movzx eax, byte [0x14012fed7]
mov byte [0x140133268], al
mov byte [0x140133269], cl
add rsp, 0x30
pop rbx
ret
Function at 0x140056fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.1400e19f0
sub rsp, rax
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x30]
mov r9, r8
mov rbx, rdx
lea r8, str._s_s
mov edx, 0x8001
call fcn.1400a4cd0
lea rcx, [rsp + 0x30]
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140057044
test al, 0x10
je 0x140057044
lea ecx, [rdi + 0xfd]
movsxd rcx, ecx
lea rcx, [rcx*2 + 0xa]
call fcn.1400a1110
mov rcx, rax
test rax, rax
je 0x14005705f
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
lea eax, [rdi + 1]
movsxd r8, eax
add r8, r8
call fcn.1400e5b10
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
lea rax, [0x140104c70]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
call fcn.1400116e0
int3