joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b434
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
mov edx, 0x3b
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40b439
call fcn.00428a60
push dword [esp + 0xf0]
call sub.USER32.dll_GetWindowDC
mov dword [esp + 0xe0], eax
push dword [esp + 0xe0]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [esp + 0xe4], eax
push dword [esp + 0x100]
push dword [esp + 0x100]
push dword [esp + 0xe8]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [esp + 0xe8], eax
push dword [esp + 0xe8]
push dword [esp + 0xe8]
call sub.GDI32.dll_SelectObject
push 0xcc0020
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push dword [esp + 0xec]
push dword [esp + 0x110]
push dword [esp + 0x110]
push 0
push 0
push dword [esp + 0x104]
call sub.GDI32.dll_BitBlt
push 0
call sub.USER32.dll_OpenClipboard
call sub.USER32.dll_EmptyClipboard
push dword [esp + 0xe8]
push 2
call sub.USER32.dll_SetClipboardData
call sub.USER32.dll_CloseClipboard
push dword [esp + 0xe4]
call sub.GDI32.dll_DeleteDC
push dword [esp + 0xe0]
push dword [esp + 0xec]
call sub.USER32.dll_ReleaseDC
xor eax, eax
add esp, 0xec
ret 0x18

Function at 0x40baa0
Capabilities:
Get disk information

Disassembly:
mov edx, 0x83
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40baa5
call fcn.00428a60
push dword [esp + 0x214]
call fcn.004153f0
mov edx, dword [esp + 0x210]
lea ecx, [esp]
call fcn.00415060
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push 0x104
call fcn.00426250
lea eax, [esp + 8]
push 0x104
push eax
call fcn.004289b0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, 0x42c1d6
push eax
mov eax, 0x42eb26
push eax
push dword [esp + 0x10]
call fcn.00426f50
lea eax, [esp + 4]
push eax
call fcn.004288c0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, 0x42cdea
push eax
mov eax, 0x42f66e
push eax
push dword [esp + 0x10]
call fcn.00426f50
lea eax, [esp + 4]
push eax
call fcn.004288c0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, 0x42c02e
push eax
mov eax, str.__
push eax
push dword [esp + 0x10]
call fcn.00426f50
lea eax, [esp + 4]
push eax
call fcn.004288c0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, 0x42c02e
push eax
mov eax, str.._
push eax
push dword [esp + 0x10]
call fcn.00426f50
lea eax, [esp + 4]
push eax
call fcn.004288c0
push 0x104
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_QueryDosDeviceW
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00428880
pop edx
push eax
push 0x104
push edx
call fcn.00428b50
call fcn.004153d2
add dword [esp], edx
call fcn.00426340
pop eax
push eax
call fcn.004153c0
pop edx
add eax, edx
jmp 0x40bc14
push dword [esp]
call fcn.00428af0
add esp, 0x20c
ret 4
Function at 0x40dd0c
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40dd13
call fcn.00428a60
push dword [esp + 0x2c]
call fcn.004153f0
mov edx, dword [esp + 0x28]
lea ecx, [esp]
call fcn.00415060
mov dword [esp + 8], 0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push 0x104
call fcn.00426250
lea eax, [esp + 0x10]
push eax
call fcn.004288c0
lea eax, [esp + 0x10]
mov edx, 0x42c02e
push edx
push 3
push eax
call fcn.004289f0
mov edx, 0x42c02e
lea ecx, [esp + 0x18]
call fcn.00415068
mov eax, dword [esp + 0xc]
push eax
push 0x104
call sub.KERNEL32.dll_GetLogicalDriveStringsW
mov dword [esp + 8], eax
mov dword [esp + 4], 0
jmp 0x40dda6
mov ebx, dword [esp + 8]
mov eax, ebx
mov ecx, 4
cdq
idiv ecx
mov ebx, eax
dec ebx
cmp ebx, dword [esp + 4]
jl 0x40de41
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, dword [esp + 0x14]
mov ebx, eax
mov edi, dword [esp + 0xc]
shl edi, 2
add edi, edi
add ebx, edi
push ebx
call fcn.00427990
lea eax, [esp + 0x14]
push 3
push eax
call fcn.004289b0
push dword [esp]
push edx
call fcn.00428880
pop edx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00428880
pop edx
push eax
push 3
push edx
call fcn.00428b50
call fcn.004153d2
add dword [esp], edx
call fcn.0040baa0
call fcn.00415400
mov edx, eax
pop ecx
call fcn.00415410
je 0x40de37
jmp 0x40de41
inc dword [esp + 4]
jno 0x40dda6
lea edx, [esp + 0x10]
push edx
call fcn.00428880
pop edx
push eax
push 3
push edx
call fcn.00428b50
pop eax
push eax
call fcn.004153c0
pop edx
add eax, edx
jmp 0x40de6e
push dword [esp]
call fcn.00428af0
push dword [esp + 0xc]
call fcn.00428af0
push dword [esp + 0x18]
call fcn.00428af0
add esp, 0x1c
pop edi
pop ebx
ret 4
Function at 0x40ee6b
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
mov edx, 8
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40ee72
call fcn.00428a60
push dword [esp + 0x30]
call fcn.004153f0
mov edx, dword [esp + 0x2c]
lea ecx, [esp]
call fcn.00415060
mov dword [esp + 4], 0
mov edx, 0x42c02e
lea ecx, [esp + 8]
call fcn.00415068
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push 0x104
call fcn.00426250
lea eax, [esp + 0x10]
push eax
call fcn.004288c0
mov edx, 0x42c02e
lea ecx, [esp + 0x10]
call fcn.00415068
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push 0
call sub.KERNEL32.dll_SetLastError
add dword [esp + 0x1c], 0x6400
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push dword [esp + 0x24]
call fcn.00426250
lea eax, [esp + 0x14]
push eax
call fcn.004288c0
push dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
push 0
call sub.KERNEL32.dll_QueryDosDeviceW
mov dword [esp + 0x18], eax
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
cmp ebx, 0x7a
je 0x40eef9
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x18]
add edi, edi
cmp ebx, edi
jge 0x40f03d
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, dword [esp + 0x18]
mov ebx, eax
add ebx, dword [esp + 0xc]
push ebx
call fcn.00427990
lea eax, [esp + 0x10]
push eax
call fcn.004288c0
push 1
push dword [esp + 4]
push dword [esp + 0x14]
call fcn.00426760
and eax, eax
je 0x40f020
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push 1
mov eax, 0x42c02e
push eax
push dword [esp + 0x14]
push dword [esp + 0x24]
call fcn.00426bf0
call fcn.004153d2
add dword [esp], edx
call fcn.0040e7ac
call fcn.004153f0
and eax, eax
je 0x40f020
mov edx, dword [esp + 8]
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428950
mov edx, 0x42f76a
push edx
call fcn.00428950
mov edx, dword [esp + 0x10]
push edx
call fcn.00428950
lea eax, [esp + 0xc]
push eax
call fcn.004288c0
mov ebx, dword [esp + 4]
push dword [esp + 0xc]
call fcn.00426360
mov edi, eax
inc edi
add edi, edi
add ebx, edi
mov dword [esp + 4], ebx
jmp 0x40ef57
push dword [esp + 8]
call fcn.00426360
mov ebx, eax
cmp ebx, 2
jle 0x40f09f
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, 0x42c04e
push eax
push dword [esp + 0x14]
call fcn.00426840
lea eax, [esp + 0xc]
push eax
call fcn.004288c0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, 0x42c04a
push eax
push dword [esp + 0x14]
call fcn.00426840
lea eax, [esp + 0xc]
push eax
call fcn.004288c0
mov edx, dword [esp + 8]
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428950
pop eax
push eax
call fcn.004153c0
pop edx
add eax, edx
jmp 0x40f0c7
push dword [esp + 8]
call fcn.00428af0
push dword [esp]
call fcn.00428af0
push dword [esp + 0x10]
call fcn.00428af0
push dword [esp + 0xc]
call fcn.00428af0
add esp, 0x20
pop edi
pop ebx
ret 4
Function at 0x4118a0
Capabilities:
Get storage device properties

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4118a6
call fcn.00428a60
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00415060
mov byte [esp + 0x18], 0
push 0
push 3
push 0
push dword [esp + 0xc]
call fcn.00403a0a
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
cmp ebx, 0xffffffff
je 0x411926
push 0
lea eax, [esp + 0x14]
push eax
push 0x428
push dword [esp + 0x34]
push 0xc
lea eax, [esp + 0x18]
push eax
push 0x2d1400
push dword [esp + 0x30]
call sub.KERNEL32.dll_DeviceIoControl
mov byte [esp + 0x18], al
push dword [esp + 0x14]
call sub.KERNEL32.dll_CloseHandle
movsx eax, byte [esp + 0x18]
movsx eax, al
jmp 0x411932
push dword [esp]
call fcn.00428af0
add esp, 0x1c
pop ebx
ret 8
Function at 0x415951
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x4159e9
push edi
push 0x432d5c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x432394]
test edi, edi
je 0x4159bd
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4159b6
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x432394
call fcn.0042878b
pop ecx
pop ecx
jmp 0x4159b8
mov edi, dword [edi]
test edi, edi
jne 0x41598d
pop ebx
mov eax, dword [0x430130]
mov esi, eax
inc eax
push 0x10
push 0x432394
mov dword [0x430130], eax
call fcn.004287cb
pop ecx
pop ecx
push 0x432d5c
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x416b30
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x416b85
push dword [esp + 0x10]
push 0x416aaf
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x4325b4]
test esi, esi
je 0x416bde
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x416b7d
cmp byte [esi + 0x10], 0
je 0x416b7d
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x416b59
jmp 0x416bde
mov esi, dword [0x4325b4]
test esi, esi
je 0x416bde
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x416bd7
cmp byte [esi + 0x11], 0
je 0x416bb3
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x416bca
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x4325b4
call fcn.0042878b
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x416b92
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x41739e
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x432d88]
call fcn.00427e58
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x41749e
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x4173f4
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x4173ec
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x417434
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x417476
push 0x22
pop edx
cmp cx, dx
je 0x417426
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x417416
xor ecx, ecx
cmp word [eax], cx
je 0x417476
mov ecx, eax
add eax, 2
jmp 0x417478
test dx, dx
je 0x41747e
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x417426
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x41746c
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x417476
cmp cx, dx
je 0x417469
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x417459
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x41743e
jmp 0x417426
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x417480
xor edx, edx
cmp dword [ebp], ebx
jne 0x417489
test edi, edi
jne 0x4174a6
test edx, edx
je 0x41748e
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x4173e2
test edi, edi
jne 0x4174b7
mov eax, ebx
jmp 0x4174bb
test esi, esi
je 0x4174b7
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x4174bb
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x417e5a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x432da8]
call fcn.00427e58
mov edi, dword [eax + 0x24]
test edi, edi
je 0x417f18
cmp dword [edi + 8], 1
je 0x417f18
mov edi, dword [edi + 0xc]
test edi, edi
je 0x417f18
mov al, byte [edi]
cmp al, 0x20
je 0x417e93
cmp al, 9
jne 0x417e96
inc edi
jmp 0x417e89
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call esi
push dword [esp + 0x14]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
call fcn.00428cd0
push ebx
mov ebp, eax
push ebp
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
test ebx, ebx
jle 0x417ee7
push 9
pop edx
lea eax, [ebp - 2]
lea eax, [eax + ebx*2]
movzx ecx, word [eax]
push 0x20
pop esi
cmp cx, si
je 0x417f03
cmp cx, dx
je 0x417f03
pop edi
pop esi
pop ebp
pop ebx
ret 4
movzx ecx, word [eax]
cmp cx, si
je 0x417efb
cmp cx, dx
jne 0x417f07
xor ecx, ecx
mov word [eax], cx
sub eax, 2
cmp eax, ebp
jae 0x417eee
push ebp
call sub.MSVCRT.dll_wcslen
pop ecx
sub ebx, eax
push ebx
call fcn.00428db0
jmp 0x417ee7
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00428fb0
Function at 0x418c4e
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x432de0]
call fcn.00427fc9
mov ebx, eax
test ebx, ebx
je 0x418cb2
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x418c77
push dword [esp + 0xc]
push ebx
call eax
jmp 0x418cb2
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00428cd0
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00428db0
pop edi
pop esi
pop ebx
ret 8

Function at 0x41e17f
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41e2f5
mov eax, dword [esp + 0x24]
dec eax
je 0x41e2d8
dec eax
jne 0x41e2f5
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0041e138
pop ecx
test eax, eax
je 0x41e236
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x41e1f9
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x41e2d4
dec ebx
je 0x41e2d0
dec ebx
je 0x41e2af
dec ebx
je 0x41e269
sub ebx, 4
jne 0x41e2f5
test edi, edi
jne 0x41e2f5
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x41e2f5
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x41e1f9
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x41e1f4
sub edi, 0
je 0x41e2a1
dec edi
je 0x41e293
dec edi
je 0x41e285
dec edi
jne 0x41e2f5
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x41e2f5
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x41e2f5
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x41e2f5
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x41e2f5
sub edi, 0
je 0x41e2cc
dec edi
je 0x41e2c8
dec edi
jne 0x41e2f5
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x41e2f5
push 0x3c
jmp 0x41e2f4
push 0x32
jmp 0x41e2f4
push 0x14
jmp 0x41e2f4
push 5
jmp 0x41e2f4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41e2f2
cmp eax, 0xa
je 0x41e2ee
cmp eax, 0x5a
jne 0x41e2f5
push 0x28
jmp 0x41e2f4
push 0x1e
jmp 0x41e2f4
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x41eb61
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x432df0]
call fcn.00427fc9
mov esi, eax
test esi, esi
je 0x41ec3b
cmp dword [ebp + 0xc], 0
je 0x41ebad
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x41eb9e
cmp dword [esi + 0x1c], 0
jne 0x41eb9e
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41ec3b
test byte [ebp + 0x10], 3
je 0x41ebc8
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0041fd5e
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x41ebed
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x41ec01
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x41ec1e
test ebx, ebx
je 0x41ec12
push 8
jmp 0x41ec24
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x41ec31
test ebx, ebx
je 0x41ec27
push 3
pop ecx
jmp 0x41ec31
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x41fa6a
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x41fb02
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x41faff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x41faff
lea eax, [esi - 1]
push eax
push dword [0x432df0]
call fcn.00427fc9
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x41fb01
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x41faf6
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x41fbe9
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x41fadc
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x41fba8
push eax
call esi
test al, al
jns 0x41fba8
push 0x11
call esi
test al, al
js 0x41fba8
push 0x10
call esi
test al, al
js 0x41fba8
push 0x12
call esi
test al, al
js 0x41fba8
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x41fba8
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x41fb7c
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x41fb93
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x41fbf3
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x41fbf3
test ebp, ebp
je 0x41fbcc
push 0x11
call esi
test al, al
js 0x41fbc4
push 0x10
call esi
test al, al
js 0x41fbc4
push 0x12
call esi
test al, al
jns 0x41fbcc
push 1
push ebp
call fcn.0041fbff
test ebx, ebx
je 0x41fbe0
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x41fbf3
test edi, edi
je 0x41fbf3
mov eax, dword [edi + 8]
jmp 0x41fbf5
and dword [esp + 0x14], 0
jmp 0x41fb01
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4201c0
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x420308
xor ecx, ecx
cmp word [eax], cx
je 0x420308
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x420219
cmp eax, 3
jne 0x420253
cmp word [esp + 0xa], 0x3a
jne 0x420253
cmp eax, 2
jne 0x420237
lea eax, [esp + 8]
push 0x42b4c0
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x420308
push 0xfffffffffffffffe
pop edi
jmp 0x420308
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x420268
cmp ax, bx
jne 0x420272
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x42025b
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x4202b1
test byte [esp + 0x21c], 0x10
je 0x420298
push 0xfffffffffffffffe
pop edi
jmp 0x4202a8
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x420306
cmp word [esp + 0x10], bp
jne 0x4202bf
cmp word [esp + 0x12], bp
je 0x4202de
cmp word [esp + 0x10], bx
jne 0x4202cd
cmp word [esp + 0x12], bx
je 0x4202de
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x420306
cmp word [esp + 0x12], ax
jne 0x420306
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x4202f3
test al, 0x10
je 0x420306
jmp 0x420303
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x420306
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4

Function at 0x420317
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x420340
test byte [esp + 8], 2
je 0x420334
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x420342
xor eax, eax
ret 8