Function at 0x1002a760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x8c], ebx
test edi, edi
je case.0x1002a79b.174
mov eax, dword [edi + 8]
add eax, 0xb0
cmp eax, 0xae
ja case.0x1002a79b.174
movzx eax, byte [eax + 0x1002b6d8]
jmp dword [eax*4 + 0x1002b6ac]
mov eax, dword [edi + 0xc]
cmp eax, 1
jne 0x1002ac1a
cmp dword [edi + 0x3c], eax
jne 0x1002ac0e
push 0x5c
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x60
push 0
push eax
call sub.msvcrt.dll_memset
movups xmm0, xmmword [str.What_is_love]
mov ax, word [0x10055ba4]
add esp, 0xc
mov word [ebp - 0x1d0], ax
lea eax, [ebp - 0x1ce]
movups xmmword [ebp - 0x1e8], xmm0
movq xmm0, qword [0x10055b9c]
push 0xae
push 0
push eax
movq qword [ebp - 0x1d8], xmm0
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x11c], 1
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x114], 0x64
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x120]
push eax
push dword [edi + 0x24]
push 0x1099
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3c
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], 0x40
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx]
add esp, 0xc
mov esi, dword [ebx + 0xc]
mov ecx, ebx
mov dword [ebp - 0x5c], 1
call dword [eax + 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, eax
call fcn.10033fe0
test al, al
je 0x1002a88f
or dword [ebp - 0x5c], 0x2000
cmp dword [0x1005dc18], 0
mov ecx, 0x222222
mov eax, 0xf0f0f0
mov dword [ebp - 0x70], 0xc
cmovne eax, ecx
xorps xmm0, xmm0
push 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0x42
movlpd qword [ebp - 0x6c], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test byte [ebp - 0x6c], 1
je 0x1002a8d6
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, dword [ebx + 0xc]
mov esi, eax
mov dword [ebp - 0xc], esi
mov edx, dword [ecx]
call dword [edx + 0x14]
push esi
mov ecx, eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
call fcn.10032880
mov esi, dword [sym.imp.UxTheme.dll_GetThemeColor]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1002a927
lea eax, [ebp - 0x58]
push eax
push 0xedb
push 0
push 0
push ecx
call esi
push dword [ebp - 0x18]
test eax, eax
sete byte [ebp - 1]
call dword [sym.imp.UxTheme.dll_CloseThemeData]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
mov eax, dword [ebp - 8]
push 0xedb
push 0
push dword [ebp - 0xc]
push dword [eax + 0x214]
call dword [sym.imp.UxTheme.dll_GetThemePropertyOrigin]
cmp dword [ebp - 0x10], 1
je 0x1002a957
cmp byte [ebp - 1], 0
jne 0x1002a970
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 8]
push 0xedb
push 0
push dword [ebp - 0xc]
push dword [eax + 0x214]
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
call fcn.10032880
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1002a9b9
lea ecx, [ebp - 0x58]
push ecx
push 0xedb
push 0
push 0
push eax
call esi
push dword [ebp - 0x18]
test eax, eax
sete byte [ebp - 1]
call dword [sym.imp.UxTheme.dll_CloseThemeData]
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
mov eax, dword [ebp - 0xc]
push 0xedb
push 0
push dword [ebp - 0x10]
push dword [eax + 0x214]
call dword [sym.imp.UxTheme.dll_GetThemePropertyOrigin]
cmp dword [ebp - 8], 1
je 0x1002a9e9
cmp byte [ebp - 1], 0
jne 0x1002aa02
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xc]
push 0xedb
push 0
push dword [ebp - 0x10]
push dword [eax + 0x214]
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
call fcn.10032880
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1002aa4b
lea ecx, [ebp - 0x58]
push ecx
push 0xef1
push 0
push 0
push eax
call esi
push dword [ebp - 0x18]
test eax, eax
sete byte [ebp - 1]
call dword [sym.imp.UxTheme.dll_CloseThemeData]
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
mov eax, dword [ebp - 0xc]
push 0xef1
push 0
push dword [ebp - 0x10]
push dword [eax + 0x214]
call dword [sym.imp.UxTheme.dll_GetThemePropertyOrigin]
cmp dword [ebp - 8], 1
je 0x1002aa7b
cmp byte [ebp - 1], 0
jne 0x1002aa94
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xc]
push 0xef1
push 0
push dword [ebp - 0x10]
push dword [eax + 0x214]
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
call fcn.10032880
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1002aadd
lea ecx, [ebp - 0x58]
push ecx
push 0xef1
push 0
push 0
push eax
call esi
push dword [ebp - 0x18]
test eax, eax
sete byte [ebp - 1]
call dword [sym.imp.UxTheme.dll_CloseThemeData]
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
mov eax, dword [ebp - 0xc]
push 0xef1
push 0
push dword [ebp - 0x10]
push dword [eax + 0x214]
call dword [sym.imp.UxTheme.dll_GetThemePropertyOrigin]
cmp dword [ebp - 8], 1
je 0x1002ab0d
cmp byte [ebp - 1], 0
jne 0x1002ab26
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xc]
push 0xef1
push 0
push dword [ebp - 0x10]
push dword [eax + 0x214]
call esi
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea esi, [edi + 0x54]
cmp dword [eax + 0x214], 0
jne 0x1002ab45
push 4
push 4
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x14]
push eax
push 0
push 2
push esi
push dword [edi + 0x10]
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
push 0
push 0
push 0x31
push dword [ebx + 8]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x58]
mov edx, dword [esi]
mov eax, dword [edi + 0x60]
push 0xcc0020
push ecx
push edx
push dword [edi + 0x10]
sub eax, ecx
push eax
mov eax, dword [edi + 0x5c]
sub eax, edx
push eax
push ecx
push edx
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x60]
push eax
lea eax, [edi + 0x54]
push eax
mov eax, dword [ebx]
push 0x8804
push ecx
push dword [ebp - 0x118]
mov ecx, ebx
push 0
call dword [eax + 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x14]
call dword [eax + 0x14]
mov ecx, eax
call fcn.10033a30
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebx + 0xc]
call dword [eax + 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, eax
call fcn.10033fe0
mov esi, dword [ebp - 8]
test al, al
jne 0x1002abf9
push 0xff
push 0
push esi
call dword [sym.imp.UxTheme.dll_BufferedPaintSetAlpha]
push 1
push esi
call dword [sym.imp.UxTheme.dll_EndBufferedPaint]
mov eax, 0x20004
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1002ac37
lea eax, [edi + 0x14]
push eax
push dword [edi + 0x10]
call fcn.10029dc0
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10001
jne case.0x1002a79b.158
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1002ac2b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov dword [ebp - 8], eax
or ecx, 0xffffffff
mov eax, dword [edi + 0x2c]
mov esi, 4
mov dword [ebp - 0x14], eax
cmp dword [eax + 0x10], 0
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
cmove esi, ecx
mov ecx, dword [edi + 0x28]
test cl, 0x40
je 0x1002aca6
cmp dword [ebx + 0xa4], 0
jne 0x1002aca6
push 0
push 0
push 0x10b0
push dword [ebx + 8]
mov esi, 2
call eax
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x30], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
test cl, 0x80
mov edx, 4
cmovne esi, edx
mov dword [ebp - 0x10], esi
test cl, 1
jne 0x1002acd4
push 2
push dword [edi + 0x24]
push 0x102c
push dword [ebx + 8]
call eax
test eax, eax
jne 0x1002acd4
mov eax, dword [ebp - 8]
cmp eax, dword [edi + 0x24]
jne 0x1002acdc
mov esi, 3
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x1002afbc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 1
je 0x1002ad02
cmp esi, 4
je 0x1002afc0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp eax, dword [edi + 0x24]
je 0x1002ad2a
cmp esi, 3
jne 0x1002ad2a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 1
mov ecx, esi
mov edx, 2
cmove ecx, edx
mov dword [ebp - 0xc], ecx
movups xmm0, xmmword [edi + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [edi + 0x14]
movups xmmword [ebp - 0x74], xmm0
call dword [eax + 0xa4]
mov ecx, dword [ebp - 0xa4]
sub ecx, eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x74], ecx
test esi, esi
jle 0x1002adac
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0xac]
push 0
push eax
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 0x40]
push eax
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x10]
call dword [eax + 0x14]
mov ecx, eax
call fcn.100333c0
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x74]
push 0
push eax
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0xc]
call dword [eax + 0x44]
push eax
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x10]
call dword [eax + 0x14]
mov ecx, eax
call fcn.100333c0
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 1
jne 0x1002add0
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x74]
push 0
push eax
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x48]
jmp 0x1002afd3
cmp dword [ebx + 4], 0
je 0x1002afe5
test esi, esi
jle 0x1002afe5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [eax + 0x214]
test eax, eax
je 0x1002aedb
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push 0xfa1
push 0
push 6
push eax
call dword [sym.imp.UxTheme.dll_GetThemeEnumValue]
cmp dword [ebp - 8], 2
je 0x1002aedb
mov ecx, dword [ebp - 0x14]
mov esi, 0xffffec14
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 2
mov ecx, 0xffffec13
cmove esi, ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 8], esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push 2
push 0
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1002ae7d
push 0xe
neg esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x1002ae7d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
add eax, 0xc
jmp 0x1002ae82
mov eax, str.imageres.dll
push 0
push dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
mov ecx, dword [ebx + 4]
mov esi, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x64]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x40]
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x70]
push 1
push eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x64]
sub eax, ecx
dec ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push dword [edi + 0x10]
push esi
push dword [ebx + 4]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp 0x1002afe5
mov ecx, dword [ebx + 0xc]
push 0x60
mov eax, dword [ecx]
call dword [eax + 8]
push eax
push 0x10
call dword [sym.imp.KERNEL32.dll_MulDiv]
movups xmm0, xmmword [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
movups xmmword [ebp - 0x9c], xmm0
mov edx, dword [eax]
call dword [edx + 0x10]
cmp eax, 2
mov edx, 0xe141
mov ecx, 0xe196
cmove ecx, edx
movzx eax, cx
mov dword [ebp - 0x64], eax
call fcn.1004cae0
mov edi, dword [edi + 0x10]
xor ecx, ecx
cmp dword [0x1005dc18], ecx
mov dword [ebp - 0xc], eax
mov eax, 0xffffff
cmovne eax, ecx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 8]
push eax
push ecx
push 2
lea eax, [ebp - 0x9c]
push eax
push edi
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov esi, dword [ebp - 0x98]
mov ebx, eax
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x94]
sub ecx, esi
push 0xcc0020
push esi
push edx
push edi
push ecx
sub eax, edx
push eax
push esi
push edx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x64]
push 1
push eax
push dword [ebp - 0x18]
lea edx, [ebp - 0x9c]
push dword [ebp - 0xc]
push dword [ebp - 0x88]
call fcn.100165c0
add esp, 0x14
push 1
push ebx
call dword [sym.imp.UxTheme.dll_EndBufferedPaint]
mov ebx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x1c]
jmp 0x1002afe5
test esi, esi
jle 0x1002afe5
mov esi, dword [ebx + 0xc]
lea eax, [edi + 0x14]
push 0
push eax
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 0x3c]
push eax
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x10]
call dword [eax + 0x14]
mov ecx, eax
call fcn.100333c0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x84]
push eax
push dword [edi + 0x24]
mov dword [ebp - 0x84], 1
push 0x100e
push dword [ebx + 8]
call esi
lea eax, [edi + 0x54]
test eax, eax
je 0x1002b018
mov dword [eax], 2
jmp 0x1002b01a
xor eax, eax
push eax
push dword [edi + 0x24]
push 0x100e
push dword [ebx + 8]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push 0x800
lea eax, [ebp - 0x920]
movlpd qword [ebp - 0x54], xmm0
push 0
push eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x24]
add esp, 0xc
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x920]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 3
push eax
push 0
push 0x104b
push dword [ebx + 8]
mov dword [ebp - 0x44], 0x400
call esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1002b168
mov eax, dword [ecx]
push 1
push dword [ebp - 0x40]
push ecx
call dword [eax + 0x94]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1002b0d8
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x7c]
test eax, eax
je 0x1002b0d8
cmp dword [ebp - 0x1c], 0x8000000a
jne 0x1002b168
push dword [ebp - 0x40]
mov ecx, ebx
push dword [ebp - 0x58]
call fcn.1002c560
jmp 0x1002b168
mov eax, dword [ebx + 4]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x1002b130
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x84]
dec eax
add eax, ecx
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push dword [edi + 0x10]
push dword [ebp - 0x40]
push dword [ebx + 4]
call fcn.1002e090
test al, al
jne 0x1002b168
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x80]
push 1
push eax
mov eax, dword [ebp - 0x84]
dec eax
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push dword [edi + 0x10]
push dword [ebp - 0x40]
push dword [ebx + 4]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push 0
push str.Edit
push 0
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x1002b30d
push 0x3c
push eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x100], 0x40
push eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x30]
add esp, 0xc
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0xf8], eax
jle 0x1002b1cb
push 0
push 0
push 0x10b0
push dword [ebx + 8]
call esi
mov dword [ebp - 0xf8], eax
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebx + 0xc]
call dword [eax + 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, eax
call fcn.10033fe0
test al, al
je 0x1002b1f2
or dword [ebp - 0xfc], 0x2000
lea eax, [ebp - 0x10]
push eax
push 0
push 2
lea esi, [edi + 0x54]
push esi
push dword [edi + 0x10]
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
push 6
push dword [edi + 0x10]
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x58]
mov edx, dword [esi]
mov eax, dword [edi + 0x60]
push 0xcc0020
push ecx
push edx
push dword [edi + 0x10]
sub eax, ecx
push eax
mov eax, dword [edi + 0x5c]
sub eax, edx
push eax
push ecx
push edx
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xffffffffffffffff
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
sub dword [edi + 0x5c], eax
lea eax, [ebp - 0xac]
movups xmm0, xmmword [esi]
push 0x2c20
push eax
push 0xffffffffffffffff
push dword [ebp - 0x48]
mov dword [ebp - 8], 0xa810
push dword [ebp - 0x10]
movups xmmword [ebp - 0xac], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x4c]
cmp eax, 2
jne 0x1002b29f
mov eax, dword [ebp - 0xa4]
cmp eax, dword [edi + 0x5c]
jg 0x1002b2a6
mov dword [ebp - 8], 0xa834
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x100]
push eax
lea eax, [edi + 0x54]
push eax
push dword [ebp - 8]
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x48]
mov ecx, ebx
push 0
call dword [eax + 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
call dword [eax + 0x14]
mov ecx, eax
call fcn.10033a30
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebx + 0xc]
call dword [eax + 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, eax
call fcn.10033fe0
mov esi, dword [ebp - 0xc]
test al, al
jne 0x1002b304
push 0xff
push 0
push esi
call dword [sym.imp.UxTheme.dll_BufferedPaintSetAlpha]
push 1
push esi
call dword [sym.imp.UxTheme.dll_EndBufferedPaint]
mov edx, dword [ebx]
mov ecx, ebx
push edi
push dword [ebp - 0x14]
call dword [edx + 0xb4]
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x2000
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
test dword [ebp - 0xbc], 0x800
je case.0x1002a79b.174
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x58], eax
test eax, eax
js case.0x1002a79b.174
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x104b
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x1002a79b.174
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je case.0x1002a79b.174
push dword [edi + 0x14]
mov eax, dword [ecx]
push dword [edi + 0x10]
call dword [eax + 0x18]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
js case.0x1002a79b.174
push 0x12
call esi
test ax, ax
js case.0x1002a79b.174
push 0x11
call esi
test ax, ax
js case.0x1002a79b.174
cmp word [edi + 0xc], 0x71
jne case.0x1002a79b.174
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 8]
call esi
push 0
push eax
push 0x1076
push dword [ebx + 8]
mov dword [ebx + 0x74], 1
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x74], 0
je 0x1002b462
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1002b462
mov ecx, dword [ebx + 0xc]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xc]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x1002b46e
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
xorps xmm0, xmm0
mov dword [ebx + 0x74], 0
mov eax, dword [edi + 0x10]
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x58], eax
test eax, eax
jns 0x1002b4c9
push dword [edi + 0x20]
mov edx, dword [ebx]
xor eax, eax
push eax
mov ecx, ebx
call dword [edx + 0x68]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x104b
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x20]
mov edx, dword [ebx]
neg eax
mov ecx, ebx
sbb eax, eax
and eax, dword [ebp - 0x3c]
push eax
call dword [edx + 0x68]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x58], eax
test eax, eax
jns 0x1002b533
xor eax, eax
jmp 0x1002b54e
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x104b
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x3c]
cmp dword [0x1005d064], 0
je case.0x1002a79b.174
lea ecx, [ebp - 0xc]
push ecx
push 0x1004eab0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
jne case.0x1002a79b.174
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push 0x1004ebe0
push 0x10055c88
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1002b5c5
lea eax, [ebp - 0x1c]
mov dword [ebx + 0x7c], 1
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa0]
push eax
push 0
push dword [ebp - 8]
push 0
call dword [sym.imp.SHELL32.dll_SHDoDragDrop]
mov eax, dword [ebp - 8]
mov dword [ebx + 0x7c], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 8]
call esi
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x58], eax
test eax, eax
jns 0x1002b634
mov edx, dword [ebx]
xor eax, eax
push eax
mov ecx, ebx
call dword [edx + 0x70]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x104b
push dword [ebx + 8]
call esi
mov edx, dword [ebx]
neg eax
mov ecx, ebx
sbb eax, eax
and eax, dword [ebp - 0x3c]
push eax
call dword [edx + 0x70]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
lea eax, [edi + 0x20]
push eax
push dword [edi + 0xc]
call fcn.1002a4d0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x40c
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x22b
push 0x410
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret