Function at 0x4096c0
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5c7c1c
push eax
mov eax, 0x9d3c
mov dword fs:[0], esp
call fcn.004f5aa0
push ebx
push ebp
mov ebp, dword [esp + 0x9d54]
push esi
push edi
mov edi, ecx
mov eax, dword [ebp + 0x1a3c]
mov dword [esp + 0x14], edi
cmp eax, 6
je 0x40a7dd
call fcn.004e1640
test eax, eax
jne 0x40a7dd
mov eax, dword [ebp + 0x1a18]
mov ecx, dword [ebp + 0x1a1c]
mov edx, dword [ebp + 0x1a10]
mov esi, dword [ebp + 0x1a14]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x9c], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
call fcn.00401a50
mov edi, dword [ebp + 0x19f4]
mov ecx, dword [ebp + 0x19f0]
xor ebx, ebx
push 0x7f00
push ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0xcc], ecx
call dword [sym.imp.user32.dll_LoadCursorA]
push eax
call dword [sym.imp.user32.dll_SetCursor]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
sub edx, eax
push edx
mov edx, dword [esp + 0x9c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00407020
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x4c], esi
je 0x40a7d6
mov eax, dword [esp + 0x90]
cmp edi, ebx
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x18], ecx
je 0x40a7d6
push ebx
mov ecx, ebp
mov dword [ebp + 0x68], ebx
call fcn.00596c9a
mov edx, dword [ebp + 0x1c]
push 0xffffffffffffffec
push edx
call dword [sym.imp.user32.dll_GetWindowLongA]
or al, 0x20
push eax
mov eax, dword [ebp + 0x1c]
push 0xffffffffffffffec
push eax
call dword [sym.imp.user32.dll_SetWindowLongA]
push 0x4b
push ebx
push ebx
push ebx
push ebx
push 0x649dd8
mov ecx, ebp
call fcn.00596c4b
mov ecx, dword [ebp + 0x1a10]
mov edx, dword [ebp + 0x1a14]
mov eax, dword [ebp + 0x1a18]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 0x1a1c]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x7c]
add esi, 0x454
mov dword [esp + 0x8c], ecx
push edx
mov ecx, ebp
mov dword [esp + 0xa8], esi
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x8c], eax
call fcn.00401a00
lea eax, [esp + 0x88]
mov ecx, ebp
push eax
call fcn.00401a00
mov eax, dword [esp + 0x7c]
lea ecx, [eax + 1]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x88]
lea eax, [ecx + eax - 0x18]
add ecx, 0xffffffe7
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
sar eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x8c]
add eax, edx
mov dword [esp + 0xc0], ecx
cdq
sub eax, edx
lea ecx, [esp + 0xfc]
mov edi, eax
push ecx
sar edi, 1
mov dword [esp + 0x58], edi
call fcn.004e7a30
mov eax, dword [ebp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.user32.dll_GetDC]
mov esi, eax
push 1
push esi
mov dword [esp + 0xd8], esi
call dword [sym.imp.gdi32.dll_SetMapMode]
push esi
call fcn.0059b460
mov edx, dword [esp + 0x100]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xfc]
push ebx
push edx
push eax
push esi
call dword [sym.imp.gdi32.dll_SetWindowOrgEx]
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.user32.dll_SetForegroundWindow]
mov ecx, ebp
call fcn.00596d03
push 0x480
call fcn.00596900
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x9d54], ebx
je 0x409947
mov ecx, eax
call fcn.004e5b80
mov esi, eax
jmp 0x409949
xor esi, esi
mov edx, dword [esp + 0x10]
push 0xc
mov dword [esp + 0x30], esi
mov dword [esp + 0x9d58], 0xffffffff
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
cmp eax, 8
mov dword [esp + 0x40], eax
jle 0x40997a
mov eax, 0x18
mov dword [esp + 0x40], eax
push ebx
push ebx
push eax
push 1
push 1
push 0x18
mov ecx, esi
call fcn.004e6670
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x7c]
push eax
call fcn.0059c09d
push eax
mov ecx, esi
call fcn.004e7610
push 8
call fcn.00596900
add esp, 4
cmp eax, ebx
je 0x4099be
mov dword [eax + 4], 0
mov dword [eax], vtable.CBitmap.0
mov ebx, eax
jmp 0x4099c0
xor ebx, ebx
mov edx, dword [esp + 0x10]
push 1
push 0x18
mov dword [esp + 0xa8], ebx
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0059c0b2
mov ebx, dword [esp + 0x80]
mov eax, dword [esi + 0x24]
xor ecx, ecx
sub edi, ebx
mov cx, word [esi + 0x2e]
mov dword [esp + 0x6c], edi
push ecx
push eax
call fcn.004e5a10
push 0x480
mov dword [esp + 0x6c], eax
call fcn.00596900
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x9d54], 1
je 0x409a2d
mov ecx, eax
call fcn.004e5b80
mov esi, eax
jmp 0x409a2f
xor esi, esi
mov ebx, dword [esp + 0x40]
push 0
push 0
push ebx
push 1
push edi
push 0x18
mov ecx, esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x9d6c], 0xffffffff
call fcn.004e6670
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x409a6f
push eax
call fcn.0059c09d
push eax
mov ecx, esi
call fcn.004e7610
push 8
call fcn.00596900
add esp, 4
test eax, eax
je 0x409a8e
mov dword [eax + 4], 0
mov dword [eax], vtable.CBitmap.0
mov esi, eax
jmp 0x409a90
xor esi, esi
mov eax, dword [esp + 0x10]
push edi
push 0x18
mov dword [esp + 0x4c], esi
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.0059c0b2
push 0x480
call fcn.00596900
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x9d54], 2
je 0x409ad8
mov ecx, eax
call fcn.004e5b80
mov esi, eax
jmp 0x409ada
xor esi, esi
push 0
push 0
push ebx
push 1
push edi
push 0x18
mov ecx, esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x9d6c], 0xffffffff
call fcn.004e6670
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x409b16
push eax
call fcn.0059c09d
push eax
mov ecx, esi
call fcn.004e7610
push 0x480
call fcn.00596900
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x9d54], 3
je 0x409b41
mov ecx, eax
call fcn.004e5b80
mov esi, eax
jmp 0x409b43
xor esi, esi
push 0
push 0
push ebx
push 1
push edi
push 0x18
mov ecx, esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x9d6c], 0xffffffff
call fcn.004e6670
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x409b7f
push eax
call fcn.0059c09d
push eax
mov ecx, esi
call fcn.004e7610
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 3
mov dword [esp + 0x84], 1
call fcn.0059b3be
mov eax, dword [esp + 0x10]
mov dword [esp + 0x9d54], 4
test eax, eax
je 0x409bb1
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x20]
call fcn.0059b475
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.user32.dll_GetParent]
mov esi, ebx
push ebx
mov dword [esp + 0x44], esi
call edi
test eax, eax
je 0x409be9
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x409bd9
mov dword [esp + 0x40], esi
push esi
call dword [sym.imp.user32.dll_SetForegroundWindow]
push esi
mov esi, dword [sym.imp.user32.dll_UpdateWindow]
call esi
push ebx
call esi
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
mov ecx, dword [ebp + 0x1c]
push 0x1b
push 0
push 0xbffe
push ecx
call dword [sym.imp.user32.dll_RegisterHotKey]
lea edx, [esp + 0xd8]
mov dword [esp + 0x64], 1
push edx
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [ebp + 0x19f4]
test eax, eax
je 0x40a639
mov edi, dword [esp + 0x2c]
push 0xffffff
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.004e7210
mov ecx, dword [esp + 0x60]
mov esi, dword [edi + 0x448]
add ecx, 0xfffffffd
xor eax, eax
test ecx, ecx
mov dword [esp + 0x3c], esi
jle 0x409c79
mov dl, al
inc dl
mov byte [eax + esi], dl
inc eax
cmp eax, ecx
jl 0x409c6d
mov eax, dword [esp + 0x38]
inc eax
and eax, 0x8000007f
jns 0x409c8a
dec eax
or eax, 0xffffff80
inc eax
test edi, edi
mov byte [esi], al
je 0x409c95
mov eax, dword [edi + 0x1c]
jmp 0x409c97
xor eax, eax
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.gdi32.dll_SelectObject]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xbc]
push 0xcc0020
mov ebx, dword [sym.imp.gdi32.dll_BitBlt]
push 0
push 0
mov esi, eax
mov eax, dword [esp + 0x60]
push edx
mov edx, dword [edi + 4]
push 1
push 0x18
push eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa8]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [edi + 4]
push 1
push 0x18
push ecx
push edx
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0xc0]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [edi + 4]
push 1
push 0x18
push edx
push eax
push ecx
call ebx
mov edx, dword [esp + 0x20]
push esi
push edx
call dword [sym.imp.gdi32.dll_SelectObject]
call dword [sym.imp.gdi32.dll_GdiFlush]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x409d3e
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0059b5b6
test edi, edi
mov esi, eax
je 0x409d52
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x20]
push 0xcc0020
push ecx
push edx
push edi
push 1
push 0x18
push 0
push 0
push eax
call ebx
test esi, esi
je 0x409d7b
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x20]
push esi
push ecx
call fcn.0059b5b6
test eax, eax
mov dword [esp + 0xa0], eax
jne 0x409d95
xor ecx, ecx
jmp 0x409d98
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
neg eax
mov ebx, dword [esp + 0x20]
push 0
sbb eax, eax
add edx, 0x20
push edx
mov edx, dword [esp + 0x44]
push edx
push 1
and eax, ebx
push 0
push ecx
push eax
call dword [sym.imp.gdi32.dll_GetDIBits]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x409e0b
mov esi, dword [esp + 0x30]
push esi
push str.WM_MOUSEWHEEL__auto_scroll_hwnd__0x_X
call fcn.00436520
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
shl eax, 0x10
and ecx, 0xffff
add esp, 8
or eax, ecx
push eax
push 0xff880000
push 0x20a
push esi
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x409fd2
mov ebx, dword [ebp + 0x1a44]
mov edi, dword [ebp + 0x1a48]
mov eax, dword [esp + 0xc4]
mov esi, edi
mov edx, ebx
shl esi, 0x10
and edx, 0xffff
or esi, edx
test eax, eax
je 0x409ecb
push str.sb_hwnd
call fcn.00436520
mov edi, dword [esp + 0xc8]
add esp, 4
push edi
call dword [sym.imp.user32.dll_GetParent]
lea eax, [esp + 0xac]
push eax
push edi
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0xac]
sub eax, ebx
mov ebx, dword [sym.imp.user32.dll_PostMessageA]
cdq
sub eax, edx
mov edx, dword [esp + 0xb8]
mov esi, eax
mov eax, dword [esp + 0xb0]
mov ecx, eax
shl ecx, 0x10
sub ecx, eax
sar esi, 1
lea eax, [ecx + edx + 0xfffb]
and esi, 0xffff
shl eax, 0x10
or esi, eax
push esi
push 0
push 0x201
push edi
call ebx
push 0x3c
call dword [sym.imp.kernel32.dll_Sleep]
push esi
push 0
push 0x202
push edi
call ebx
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x409fd3
mov eax, dword [ebp + 0x1a3c]
test eax, eax
je 0x409fa9
cmp eax, 6
jne 0x409f34
mov edx, dword [ebp + 0x1a48]
mov eax, dword [ebp + 0x1a44]
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push str.NS6__hwnd___d__x___d__y___d
call fcn.00436520
add esp, 0x10
push edi
push ebx
call dword [sym.imp.user32.dll_SetCursorPos]
mov edi, dword [esp + 0x30]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push esi
push 0
push 0x201
push edi
call ebx
push 0x14
call dword [sym.imp.kernel32.dll_Sleep]
push esi
push 0
push 0x202
push edi
call ebx
push edi
jmp 0x409fd3
mov eax, dword [esp + 0x84]
test eax, eax
je 0x409f7a
push str.iIE5
call fcn.00436520
mov esi, dword [esp + 0x34]
add esp, 4
push 0
push 1
push 0x115
push esi
call dword [sym.imp.user32.dll_SendMessageA]
push esi
call dword [sym.imp.user32.dll_UpdateWindow]
push 0
push esi
call dword [sym.imp.user32.dll_ValidateRect]
push 0x14
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x409fd9
push 0x61d688
call fcn.00436520
mov ebx, dword [esp + 0x34]
mov edi, dword [sym.imp.user32.dll_SendMessageA]
add esp, 4
push esi
push 0
push 0x201
push ebx
call edi
push esi
push 0
push 0x202
push ebx
call edi
jmp 0x409fd9
push str.VM_VSCROLL_only
call fcn.00436520
mov esi, dword [esp + 0x34]
add esp, 4
push 0
push 1
push 0x115
push esi
call dword [sym.imp.user32.dll_SendMessageA]
push 0x14
call dword [sym.imp.kernel32.dll_Sleep]
push esi
call dword [sym.imp.user32.dll_UpdateWindow]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x28]
test eax, eax
jbe 0x409feb
push eax
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [ebp + 0x1c]
xor esi, esi
push esi
push esi
push esi
lea ecx, [esp + 0xec]
push eax
push ecx
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x40a0a0
mov edx, dword [ebp + 0x1c]
push 0
push 0
lea eax, [esp + 0xe8]
push edx
push eax
call dword [sym.imp.user32.dll_GetMessageA]
mov eax, dword [esp + 0xe4]
cmp eax, 0x201
je 0x40a639
cmp eax, 0x204
je 0x40a639
cmp eax, 0x104
je 0x40a639
cmp eax, 0x100
je 0x40a639
cmp eax, 0x312
je 0x40a639
lea ecx, [esp + 0xe0]
push ecx
call dword [sym.imp.user32.dll_TranslateMessage]
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.user32.dll_DispatchMessageA]
inc esi
cmp esi, 0x64
jg 0x40a0a0
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0
lea ecx, [esp + 0xec]
push eax
push ecx
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
jne 0x40a00a
mov eax, dword [esp + 0x38]
test eax, eax
jge 0x40a0b0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40a0bb
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.0059b5b6
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a0d3
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0xbc]
sub ecx, esi
inc ecx
push 0xcc0020
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push esi
push 0x18
push 0
push 0
push eax
mov dword [esp + 0x68], ecx
call dword [sym.imp.gdi32.dll_BitBlt]
test edi, edi
je 0x40a10a
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
push edi
push ecx
call fcn.0059b5b6
mov ebx, dword [esp + 0x70]
mov edi, eax
test edi, edi
mov edx, dword [ebx + 0x448]
jne 0x40a129
xor ecx, ecx
jmp 0x40a12c
mov ecx, dword [edi + 4]
lea eax, [esp + 0x1c]
push 0
neg eax
sbb eax, eax
add ebx, 0x20
and eax, dword [esp + 0x24]
push ebx
push edx
push esi
push 0
push ecx
push eax
call dword [sym.imp.gdi32.dll_GetDIBits]
test edi, edi
je 0x40a151
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x20]
push edi
push edx
call fcn.0059b5b6
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a169
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xa8]
push 0xcc0020
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push esi
push 0x18
push 0
push 0
push eax
call dword [sym.imp.gdi32.dll_BitBlt]
test edi, edi
je 0x40a195
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
push edi
push ecx
call fcn.0059b5b6
mov ebx, dword [esp + 0x74]
mov edi, eax
test edi, edi
mov edx, dword [ebx + 0x448]
jne 0x40a1b4
xor ecx, ecx
jmp 0x40a1b7
mov ecx, dword [edi + 4]
lea eax, [esp + 0x1c]
push 0
neg eax
sbb eax, eax
add ebx, 0x20
and eax, dword [esp + 0x24]
push ebx
mov ebx, dword [sym.imp.gdi32.dll_GetDIBits]
push edx
push esi
push 0
push ecx
push eax
call ebx
test edi, edi
je 0x40a1de
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x20]
push edi
push edx
call fcn.0059b5b6
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a1f6
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xc0]
push 0xcc0020
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push esi
push 0x18
push 0
push 0
push eax
call dword [sym.imp.gdi32.dll_BitBlt]
test edi, edi
je 0x40a222
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
push edi
push ecx
call fcn.0059b5b6
mov edi, dword [esp + 0x78]
mov dword [esp + 0x44], eax
test eax, eax
mov edx, dword [edi + 0x448]
jne 0x40a243
xor ecx, ecx
jmp 0x40a246
mov ecx, dword [eax + 4]
lea eax, [esp + 0x1c]
push 0
neg eax
sbb eax, eax
add edi, 0x20
and eax, dword [esp + 0x24]
push edi
push edx
xor edi, edi
push esi
push edi
push ecx
push eax
call ebx
xor ecx, ecx
xor ebx, ebx
cmp esi, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x5c], edi
jle 0x40a5bc
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], 1
mov eax, dword [edx + 0x448]
mov edx, dword [esp + 0x74]
mov dword [esp + 0xd4], eax
mov eax, dword [edx + 0x448]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xcc], eax
mov eax, dword [edx + 0x448]
mov dword [esp + 0xc8], eax
xor eax, eax
test ecx, ecx
jne 0x40a2e9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov esi, dword [ecx + 0x448]
lea ecx, [edx - 3]
mov edx, dword [esp + 0xd4]
lea edi, [edx + eax]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40a2e5
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
jmp 0x40a2e9
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x40a31e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov esi, dword [ecx + 0x448]
lea ecx, [edx - 3]
mov edx, dword [esp + 0xcc]
lea edi, [edx + eax]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40a31a
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xc8]
lea edi, [edx + eax]
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x40a353
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov esi, dword [ecx + 0x448]
lea ecx, [edx - 3]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40a34f
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
test ecx, ecx
je 0x40a365
cmp ecx, edx
jne 0x40a365
cmp ecx, dword [esp + 0x5c]
je 0x40a396
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
add eax, esi
mov esi, dword [esp + 0x6c]
inc ebx
inc edi
cmp ebx, esi
mov dword [esp + 0x50], edi
jl 0x40a2b6
cmp ecx, 1
jg 0x40a39d
cmp edx, 1
jg 0x40a39d
mov esi, dword [esp + 0x5c]
cmp esi, 1
jle 0x40a3cd
jmp 0x40a3a1
mov eax, 1
jmp 0x40a3d1
mov esi, dword [esp + 0x5c]
mov eax, 1
cmp ecx, eax
jle 0x40a3ac
mov ebx, ecx
cmp edx, 1
jle 0x40a3b7
cmp edx, ebx
jge 0x40a3b7
mov ebx, edx
cmp esi, 1
jle 0x40a3c2
cmp esi, ebx
jge 0x40a3c2
mov ebx, esi
test ebx, ebx
je 0x40a5bc
dec ebx
jmp 0x40a3d1
mov eax, dword [esp + 0x18]
xor edi, edi
cmp ebx, edi
je 0x40a5bc
cmp eax, edi
je 0x40a5bc
cmp dword [esp + 0x64], 1
jne 0x40a3f2
mov dword [esp + 0x64], 2
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x84]
cmp ecx, edi
mov dword [esp + 0x68], edi
mov eax, dword [edx + 0x28]
je 0x40a41c
cdq
sub eax, edx
lea ecx, [ebx + 0x28]
sar eax, 1
cmp eax, ecx
jle 0x40a41c
mov dword [esp + 0x58], 0x28
mov eax, dword [esp + 0x58]
push 8
add ebx, eax
call fcn.00596900
add esp, 4
cmp eax, edi
je 0x40a43d
mov dword [eax + 4], edi
mov dword [eax], vtable.CBitmap.0
mov esi, eax
jmp 0x40a43f
xor esi, esi
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
sub eax, ecx
push ebx
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.0059c0b2
cmp esi, edi
jne 0x40a46c
xor esi, esi
jmp 0x40a46f
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x20]
push esi
push ecx
call fcn.0059b5b6
mov edx, dword [esp + 0xa4]
push 0
push edx
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.0059b694
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.gdi32.dll_RealizePalette]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
mov edx, dword [ecx + 0x18]
lea ecx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x80]
sub eax, edx
push ebx
push eax
push 0
push 0
call fcn.005a9ede
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x8c]
sub ecx, edx
mov edx, dword [esp + 0x10]
sub eax, ebx
test edx, edx
jne 0x40a4e5
xor edx, edx
jmp 0x40a4ec
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
push 0xcc0020
push eax
mov eax, dword [esp + 0x84]
push eax
push edx
push ebx
push ecx
mov ecx, dword [esp + 0x38]
push 0
push 0
push ecx
call dword [sym.imp.gdi32.dll_BitBlt]
push 0
push edi
lea ecx, [esp + 0x24]
call fcn.0059b694
test esi, esi
mov dword [esp + 0xa4], eax
je 0x40a526
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x20]
push esi
push edx
call fcn.0059b5b6
push 0x480
mov esi, eax
call fcn.00596900
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x9d54], 5
je 0x40a559
mov ecx, eax
call fcn.004e5b80
jmp 0x40a55b
xor eax, eax
mov edi, dword [esp + 0x38]
mov byte [esp + 0x9d54], 4
test esi, esi
mov dword [esp + edi*4 + 0x10c], eax
jne 0x40a576
xor ecx, ecx
jmp 0x40a579
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xa4]
push edx
push ecx
mov ecx, eax
call fcn.004e6050
mov ecx, esi
call fcn.0059c109
test esi, esi
je 0x40a59d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
sub ebx, esi
add edx, ebx
inc edi
cmp edi, 0x2710
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
jge 0x40a639
jmp 0x40a62b
cmp dword [esp + 0x64], 1
jne 0x40a5cd
mov dword [esp + 0x64], 0
jmp 0x40a62b
mov ecx, dword [ebp + 0x1a3c]
mov eax, dword [esp + 0x68]
test ecx, ecx
je 0x40a620
test eax, eax
je 0x40a620
mov edx, dword [esp + 0x84]
dec eax
test edx, edx
mov dword [esp + 0x68], eax
je 0x40a5fc
test eax, eax
jne 0x40a5fc
mov dword [esp + 0x84], eax
jmp 0x40a62b
cmp ecx, 6
jge 0x40a62b
push 0x15
call fcn.004ecb88
mov ecx, dword [ebp + 0x1a48]
mov dword [esp + 0x58], 0x28
sub ecx, eax
mov dword [ebp + 0x1a48], ecx
jmp 0x40a62b
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x68], eax
jle 0x40a639
mov eax, dword [ebp + 0x19f4]
test eax, eax
jne 0x409c3e
mov esi, dword [esp + 0xa0]
mov ecx, esi
call fcn.0059c109
test esi, esi
je 0x40a654
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov esi, dword [esp + 0x44]
mov ecx, esi
call fcn.0059c109
test esi, esi
je 0x40a66c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40a67b
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x40a68a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x40a699
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x40a6a8
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x40a787
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
xor ecx, ecx
push 0x2ffffff
mov cx, word [esi + 0x2e]
push 0
push ecx
mov ecx, dword [esp + 0x40]
sub edx, edi
mov edi, dword [esp + 0x9c]
add edx, ecx
push 1
sub eax, edi
push edx
push eax
mov ecx, esi
call fcn.004e6960
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
sub edi, ecx
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov ecx, esi
call fcn.004e70d0
test ebx, ebx
mov dword [esp + 0x18], eax
jle 0x40a77c
lea edx, [esp + 0x10c]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, edi
push 0
mov esi, dword [ecx]
sub eax, ebx
push 0
push eax
xor eax, eax
mov ecx, esi
push eax
push edx
call fcn.004e6d20
mov eax, dword [esi + 0x28]
sub eax, ebx
add edi, eax
test esi, esi
je 0x40a762
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
add ecx, 4
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], eax
jne 0x40a730
mov esi, dword [esp + 0x4c]
push 0
mov ecx, esi
call fcn.004e71a0
jmp 0x40a7a0
mov eax, dword [ebp + 0x1a3c]
test eax, eax
jne 0x40a79c
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x6c], 1
mov esi, dword [esp + 0x4c]
mov edx, dword [ebp + 0x1c]
push 0xbffe
push edx
call dword [sym.imp.user32.dll_UnregisterHotKey]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call dword [sym.imp.user32.dll_ReleaseDC]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9d54], 0xffffffff
call fcn.0059b4f3
mov eax, esi
jmp 0x40a8a6
push str.Using_AutoscrollCaptureRect___for_Mozilla
call fcn.00436520
mov edx, dword [ebp + 0x19f4]
add esp, 4
push edx
call dword [sym.imp.user32.dll_SetForegroundWindow]
mov eax, dword [ebp + 0x1a18]
mov ecx, dword [ebp + 0x1a1c]
mov edx, dword [ebp + 0x1a10]
mov esi, dword [ebp + 0x1a14]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xac]
mov dword [esp + 0xb8], ecx
push eax
mov ecx, ebp
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
call fcn.00401a50
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
mov ebx, dword [ebp + 0x1a44]
test ebx, ebx
lea eax, [edx + 8]
lea ecx, [esi - 8]
jne 0x40a862
mov ebx, dword [ebp + 0x1a48]
test ebx, ebx
je 0x40a86e
mov eax, dword [ebp + 0x1a44]
mov ecx, dword [ebp + 0x1a48]
mov ebp, dword [ebp + 0x19f4]
mov ebx, dword [esp + 0xb0]
push ebp
push ecx
push eax
mov eax, dword [esp + 0xb8]
sub esp, 0x10
add ebx, 2
mov ecx, esp
mov dword [esp + 0xcc], ebx
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
mov ecx, edi
call fcn.004077d0
mov ecx, dword [esp + 0x9d4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x9d48
ret 4