Function at 0x4a2593
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x5702fc
call fcn.00524444
mov eax, 0x1070
call fcn.00524e70
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [ebp - 0x78]
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x18], esi
push eax
call fcn.004a2997
mov eax, dword [esi + 0xcc]
add esp, 0xc
xor ecx, ecx
cmp eax, ebx
jle 0x4a260e
mov edx, dword [esi + 0xc8]
mov esi, edx
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x78]
jne 0x4a25f3
mov esi, dword [ebp - 0x54]
cmp esi, dword [ebp - 0x74]
jne 0x4a25f3
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x70]
je 0x4a25fd
inc ecx
add edx, 0xc
cmp ecx, eax
jge 0x4a260e
jmp 0x4a25d3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xb4]
mov eax, dword [eax + ecx*4]
jmp 0x4a2986
push 8
call fcn.005444b9
cmp eax, ebx
pop ecx
je 0x4a2628
mov dword [eax + 4], ebx
mov dword [eax], 0x57b0a0
mov dword [ebp - 0x10], eax
jmp 0x4a262b
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x4a2984
push dword [ebp + 8]
lea ecx, [ebp - 0x107c]
call fcn.00404989
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x107c]
push eax
call fcn.00407720
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.0053c473
push str..ico
mov byte [ebp - 4], 1
push dword [ebp - 0x20]
call fcn.00524e9f
mov edi, eax
pop ecx
neg edi
sbb edi, edi
pop ecx
inc edi
call fcn.0055c7c5
mov eax, dword [eax + 4]
push 0x10
push ebx
push ebx
push edi
push dword [ebp + 8]
push dword [eax + 0x68]
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp esi, ebx
je 0x4a26ad
push 8
push dword [esi + 4]
push dword [esi]
push edi
push eax
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 8], eax
jmp 0x4a2704
push 1
mov esi, 0x650540
pop ecx
cmp edi, ecx
jne 0x4a26e7
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4a26d6
lea eax, [ebp - 0x4c]
push eax
push 0x18
push dword [ebp - 0x60]
jmp 0x4a26ee
push 0x18
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.00524810
add esp, 0xc
jmp 0x4a26f4
lea ecx, [ebp - 0x4c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x48]
mov dword [0x650540], eax
mov eax, dword [ebp - 0x44]
mov dword [0x650544], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call fcn.005474dc
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4a294d
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00548075
cmp eax, ebx
je 0x4a293b
lea ecx, [ebp - 0x68]
call fcn.0054743a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0054743a
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x44]
call fcn.005474f1
cmp eax, ebx
je 0x4a28c8
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
push dword [ebp - 0x40]
call fcn.00547632
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
call fcn.004048d9
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
call fcn.005476cb
cmp edi, ebx
jne 0x4a286f
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x68]
call fcn.005474f1
cmp eax, ebx
je 0x4a28b7
cmp dword [ebp + 8], ebx
je 0x4a27df
push dword [ebp + 8]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
jmp 0x4a27e2
mov dword [ebp - 0x24], ebx
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x68]
mov edx, dword [esi]
push 0xcc0020
neg eax
sbb eax, eax
push ebx
and eax, dword [ebp - 0x64]
push ebx
push eax
push ecx
push edx
push ebx
push ebx
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [sym.imp.GDI32.dll_GetPixel]
push ebx
push ebx
push dword [ebp - 0x40]
call edi
cmp dword [esi + 4], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ebx
jle 0x4a285c
cmp dword [esi], ebx
mov dword [ebp + 0xc], ebx
jle 0x4a2851
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x40]
call edi
cmp eax, dword [ebp - 0x28]
jne 0x4a2847
push dword [ebp - 0x30]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_SetPixelV]
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi]
jl 0x4a2825
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 4]
jl 0x4a281e
cmp dword [ebp - 0x24], ebx
je 0x4a28b7
push dword [ebp - 0x24]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4a28b7
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00548132
lea eax, [ebp - 0x2c]
push 3
neg eax
sbb eax, eax
lea ecx, [ebp - 0x44]
and eax, dword [ebp - 0x28]
neg ecx
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
sbb ecx, ecx
and ecx, dword [ebp - 0x40]
push ebx
push ebx
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [ebp - 0x2c], vtable.CGdiObject.0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.005480cc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], ebx
je 0x4a28c8
push dword [ebp - 0x34]
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x10]
lea ecx, [esi + 0xb0]
call fcn.0040c9a8
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xc4]
lea edx, [ebp - 0x78]
push edx
push eax
call fcn.004a6ec7
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0054756f
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.0054756f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0053c49c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0053eb4f
mov eax, dword [ebp - 0x10]
jmp 0x4a2986
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x10]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
cmp edi, 1
jne 0x4a2967
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4a296d
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0053c49c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0053eb4f
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8