Function at 0x415650
Capabilities:
Capture screenshot
Delete file
Get common file path
Log keystrokes
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440239
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
cmp eax, 4
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
ja case.default.0x415685
jmp dword [eax*4 + 0x415eb0]
mov ecx, esi
call fcn.00412510
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 8], edi
je case.default.0x415685
push 0xffffffffffffffff
push 0x24
push 0x3e9
call fcn.0040f8a0
cmp eax, 6
jne case.default.0x415685
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl case.default.0x415685
lea ecx, [ebp - 0x30]
call fcn.00433d4c
mov dword [ebp - 4], 0
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00412d30
jmp 0x41570f
mov dword [ebp - 4], 0xffffffff
call fcn.00433d8a
push edi
mov ecx, esi
call fcn.00412c50
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp word [esi + 0x72], 0x65
jne case.default.0x415685
mov word [esi + 0x72], 0x64
push 1
lea eax, [esi + 0x74]
jmp 0x415e85
mov edx, dword [esi + 0x50]
xor eax, eax
test edx, edx
sete al
test eax, eax
mov dword [esi + 0x50], eax
je 0x415778
mov eax, 1
mov word [esi + 0x9a], 0x68
or word [esi + 0x70], ax
or word [esi + 0xac], ax
mov eax, dword [0x458588]
push 3
push eax
jmp 0x4157d5
mov eax, dword [0x45f1b0]
test eax, eax
je 0x4157b3
push 1
lea ecx, [esi + 0x224]
call fcn.00432b9e
push 1
lea ecx, [esi + 0x2bc]
call fcn.00432b9e
mov dword [0x45f1b0], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, 0xfffe
mov word [esi + 0x9a], 0x67
and word [esi + 0x70], ax
and word [esi + 0xac], ax
mov ecx, dword [0x458588]
push 0
push ecx
call dword [0x45ee9c]
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
lea edx, [esi + 0x74]
push 1
push edx
push eax
call edi
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0xb0]
push 1
push ecx
push edx
call edi
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x9c]
push 0
push eax
push ecx
call edi
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x50]
test eax, eax
jne case.default.0x415685
mov eax, dword [esi + 0xc0]
test eax, eax
je case.default.0x415685
lea eax, [esi + 0xc4]
mov ecx, eax
mov edi, dword [ecx]
mov dword [ebp - 0x20], edi
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
sub eax, edi
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x44]
add ecx, 2
mov dword [ebp - 0x14], edx
cmp eax, ecx
jg 0x415863
sub edx, ebx
cmp edx, ecx
jle case.0x415685.2
mov edx, dword [0x45f1b8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415a69
mov eax, dword [esi + 0x44]
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [ebp - 0x20], edi
jge 0x41589e
mov dword [ebp - 0x20], edi
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
call ebx
cmp dword [ebp - 0x18], eax
jle 0x4158b2
push edi
call ebx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], edi
jge 0x4158ba
mov dword [ebp - 0x1c], edi
push 1
call ebx
mov edi, dword [ebp - 0x14]
cmp edi, eax
jle 0x4158ce
push 1
call ebx
mov edi, eax
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea ecx, [ebp - 0x27c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x27c]
push str.HWCY.BMP
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00435180
lea ecx, [ebp - 0x38]
mov dword [ebp + 8], eax
call fcn.004350de
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 3
test eax, eax
jne 0x415945
xor eax, eax
jmp 0x41594b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x38]
call fcn.00435195
lea eax, [esi + 0xdc]
test eax, eax
je 0x415968
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.004352d6
lea ecx, [ebp - 0x74]
call dword [sym.imp.BTNexgenIPL32u.dll_public:_void___thiscall_BTCImageObject::constructor_void_]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call dword [sym.imp.BTNexgenIPL32u.dll_public:_class_BTCImageData____thiscall_BTCImageObject::GetObjectDataPtr_void_]
lea edx, [ebp - 0x38]
mov ecx, eax
mov eax, dword [ebp - 0x34]
push 0xcc0020
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [ebp - 0x54]
sub edi, eax
mov eax, dword [ebp - 0x50]
sub eax, ebx
push edi
push eax
push dword [ebp - 0x54]
push ebx
push edi
push eax
push edx
call dword [sym.imp.BTNexgenIPL32u.dll_public:_bool___thiscall_BTCImageData::FromDC_struct_HDC_____int__int__int__int__int__int__unsigned_long_int_]
and eax, 0xff
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.004351fd
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, esi
call fcn.00415570
test edi, edi
je 0x415a3a
mov esi, dword [sym.imp.BTNexgenIPL32u.dll_public:_void___thiscall_BTCString::constructor_unsigned_short_int_const__]
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x5c], 1
sub esp, 0xc
mov ecx, esp
mov dword [ebp + 8], esp
push 0x45885c
call esi
lea ecx, [ebp - 0x74]
call dword [sym.imp.BTNexgenIPL32u.dll_public:_long_int___thiscall_BTCImageObject::GetCodecIdFromExtension_class_BTCString__enum_BTCodecType_const__]
push 0
push eax
sub esp, 0xc
lea edx, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call esi
lea ecx, [ebp - 0x74]
call dword [sym.imp.BTNexgenIPL32u.dll_public:_long_int___thiscall_BTCImageObject::Save_class_BTCString__long_int__class_BTCEncoderOptions__]
mov eax, dword [0x45f1b8]
push 0
push 0
push 0x8416
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call dword [sym.imp.BTNexgenIPL32u.dll_public_virtual:_void___thiscall_BTCImageObject::destructor_void_]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00435213
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [ebp + 8], 0
call fcn.00412510
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x44], edi
je 0x415af3
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl 0x415af3
lea ecx, [ebp - 0x30]
call fcn.00433d4c
lea ecx, [ebp - 0x20]
push edi
push ecx
mov dword [ebp - 4], 5
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00413a00
mov ebx, eax
jmp 0x415ad1
mov dword [ebp - 4], 0xffffffff
call fcn.00433d8a
push edi
mov ecx, esi
call fcn.00412c50
call dword [sym.imp.ole32.dll_OleUninitialize]
test ebx, ebx
jne case.0x415685.2
mov eax, dword [esi + 0x44]
lea ecx, [ebp - 0x20]
push eax
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [ebp - 0x20], ebx
jge 0x415b19
mov dword [ebp - 0x20], ebx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
cmp dword [ebp - 0x18], eax
jle 0x415b2d
push ebx
call edi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], ebx
jge 0x415b35
mov dword [ebp - 0x1c], ebx
push 1
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jle 0x415b49
push 1
call edi
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub edi, edx
mov edx, dword [esi + 0x1c]
sub ecx, eax
push edx
mov dword [ebp + 8], ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00435180
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x415b75
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
push ecx
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebp - 0x28], eax
je 0x415cca
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0x442700
mov edx, eax
lea ecx, [ebp - 0x40]
push edx
mov dword [ebp - 4], 8
call fcn.00435c18
lea ecx, [ebp - 0x38]
call fcn.004350de
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.004350de
test ebx, ebx
mov byte [ebp - 4], 0xa
jne 0x415bcc
xor eax, eax
jmp 0x415bcf
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x38]
call fcn.00435195
test ebx, ebx
je 0x415be6
mov ebx, dword [ebx + 4]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x58]
call fcn.00435195
lea eax, [esi + 0xdc]
test eax, eax
je 0x415c03
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.004352d6
mov edx, dword [ebp - 0x3c]
mov ebx, eax
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.004352d6
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x38]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp - 0x54]
push edx
push edi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0x40]
call fcn.00435c45
test ebx, ebx
je 0x415c64
mov ebx, dword [ebx + 4]
mov ecx, dword [ebp - 0x34]
push ebx
push ecx
call fcn.004352d6
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x415c78
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x54]
push eax
push edx
call fcn.004352d6
lea ecx, [ebp - 0x38]
call fcn.004351fd
lea ecx, [ebp - 0x58]
call fcn.004351fd
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.00435213
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00435213
mov dword [ebp - 0x40], vtable.CGdiObject.0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xb
call fcn.00435c6f
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x28]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0042f9fb
test eax, eax
je 0x415d10
cmp eax, esi
je 0x415d10
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x415d39
mov edx, dword [0x45eac4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415d28
mov eax, dword [0x45eac4]
jmp 0x415d32
call dword [0x45eecc]
test eax, eax
je 0x415d39
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x11
call edi
push 0
push 0x56
mov byte [ebp - 0x24], al
call edi
mov ebx, dword [ebp - 0x24]
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push ebx
push 0x11
mov byte [ebp + 8], al
call edi
push 0
push 0
push ebx
push 0x11
call edi
mov ecx, dword [ebp + 8]
push 0
push 0
push ecx
push 0x56
call edi
mov edx, dword [ebp + 8]
push 0
push 2
push edx
push 0x56
call edi
push 0
push 2
push ebx
push 0x11
call edi
mov ecx, esi
call fcn.00415570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00412510
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
je case.default.0x415685
mov eax, 0x64
cmp word [esi + 0x72], ax
jne 0x415dd1
xor edi, edi
mov word [esi + 0x72], 0x65
jmp 0x415dda
mov edi, 1
mov word [esi + 0x72], ax
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x74]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl case.default.0x415685
lea ecx, [ebp - 0x48]
call fcn.00433d4c
push ebx
mov dword [ebp - 4], 0xc
push edi
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00413360
jmp 0x415e40
mov dword [ebp - 4], 0xffffffff
call fcn.00433d8a
push ebx
mov ecx, esi
call fcn.00412c50
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x40]
mov ecx, 3
inc eax
push 0
cdq
idiv ecx
lea eax, [esi + 0x60]
mov dword [esi + 0x40], edx
mov word [esi + 0x5e], dx
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4