Function at 0x420630
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4677eb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x486540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x74]
call fcn.0041ad40
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
fld qword [ebx + 0x110]
mov dword [ebx + 0xc4], 0
fstp qword [ebp - 0x34]
fld qword [0x47bab0]
test edi, edi
je 0x42069a
fstp qword [ebx + 0x110]
jmp 0x42069c
fstp st(0)
mov eax, dword [ebx + 0x198]
lea esi, [eax - 0x10]
mov dword [ebp - 0x2c], eax
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x28], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x4206c7
cmp ecx, dword [esi]
jne 0x4206c7
lock inc dword [eax]
jmp 0x4206f8
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x420b7b
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
push eax
push dword [ebp - 0x2c]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00402a10
mov edi, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea eax, [esi + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x1a0]
lea ecx, [ebp - 0x74]
push dword [eax]
call fcn.0041b140
mov edx, dword [ebp - 0x38]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x420735
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x420742
fld qword [ebp - 0x34]
fstp qword [ebx + 0x110]
test esi, esi
js 0x4209ed
mov dword [ebx + 0xc4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], vtable.CBitmap.0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0043c4ff
mov byte [ebp - 4], 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0043c928
mov ebx, eax
mov eax, dword [ebp - 0x24]
fld qword [eax + 0x110]
fdiv qword [0x47bab0]
fild dword [ebp - 0x68]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul st(1)
call fcn.0044bd70
fild dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
fstp qword [ebp - 0x18]
fmul qword [ebp - 0x18]
call fcn.0044bd70
push dword [ebp - 0x64]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
push dword [ebx + 4]
call edi
push eax
lea ecx, [ebp - 0x40]
call fcn.0043c767
push dword [ebx + 4]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call esi
push eax
lea ecx, [ebp - 0x84]
call fcn.0043c725
mov eax, dword [ebp - 0x24]
add eax, 0x19c
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.0043c82f
mov eax, dword [ebp - 0x24]
add eax, 0x1a4
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0043c819
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call edi
mov edi, dword [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0043c767
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0043c725
push dword [ebx + 4]
mov ebx, dword [ebp - 0x24]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x3c]
push dword [ebp - 0x80]
call fcn.0043cb9c
test edi, edi
jne 0x420854
xor eax, eax
jmp 0x420857
mov eax, dword [edi + 4]
push eax
push dword [ebx + 0x1a8]
call fcn.0043cb9c
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x42089e
lea ecx, [ebp - 0x74]
call fcn.0041b090
push 0xcc0020
push 0
push 0
push dword [ebp - 0x4c]
push edi
push dword [ebp - 0x14]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0x74]
call fcn.0041b6b0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4208ea
push eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x50], 0xffffffff
mov word [ebp - 0x58], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x3c]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x420920
lea eax, [ebp - 0x24]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push 0
push edi
mov dword [ebp - 0x24], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
jmp 0x420922
xor esi, esi
lea eax, [ebx + 0x1a4]
test eax, eax
je 0x42092f
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
push 7
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
test eax, eax
je 0x42095e
mov dword [ebp - 0x30], eax
test esi, esi
je 0x420967
mov eax, dword [esi + 4]
jmp 0x420969
xor eax, eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0
push 0
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x420982
mov dword [ebp - 0x30], eax
test esi, esi
je 0x42098e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0043c82f
lea ecx, [ebp - 0x84]
call fcn.0043c819
lea ecx, [ebx + 0x1e8]
call fcn.0043c82f
lea eax, [ebx + 0x19c]
test eax, eax
je 0x4209b9
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [ebx + 0x1e8]
call fcn.0043c767
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
lea ecx, [ebp - 0x84]
call fcn.0043c5bc
mov dword [ebp - 0x40], vtable.CBitmap.0
lea ecx, [ebp - 0x40]
jmp 0x420b50
cmp dword [ebx + 0xb8], 0
je 0x420a1a
lea ecx, [ebx + 0x1e8]
call fcn.0043c82f
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebx + 0x1e8]
call fcn.0043c767
jmp 0x420b55
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], vtable.CBitmap.0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0043c4ff
mov byte [ebp - 4], 5
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0043c928
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x18]
lea ecx, [ebx + 0x19c]
mov esi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x1c]
call fcn.0043c82f
mov eax, dword [ebp - 0x24]
push esi
push edi
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea edi, [ebx + 0x19c]
push eax
mov ecx, edi
call fcn.0043c767
lea ecx, [ebx + 0x1a4]
call fcn.0043c819
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebx + 0x1a4]
call fcn.0043c725
test edi, edi
jne 0x420ad4
xor eax, eax
jmp 0x420ad7
mov eax, dword [edi + 4]
push eax
push dword [ebx + 0x1a8]
call fcn.0043cb9c
lea esi, [ebx + 0x1e8]
mov ecx, esi
call fcn.0043c82f
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xff202021
add eax, 0xffffff
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0043c767
test esi, esi
jne 0x420b18
xor eax, eax
jmp 0x420b1b
mov eax, dword [esi + 4]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x1a8]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x94]
call fcn.0043c5bc
mov dword [ebp - 0x34], vtable.CBitmap.0
lea ecx, [ebp - 0x34]
call fcn.0041dbe0
lea ecx, [ebp - 0x74]
call fcn.0041ade0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b35e
mov esp, ebp
pop ebp
ret 8
call fcn.00402b20
int3