Function at 0x421d60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x488540]
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.0041c190
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
fld qword [ebx + 0x118]
mov dword [ebx + 0xc4], 0
fstp qword [ebp - 0x34]
fld qword [0x47dc90]
test edi, edi
je 0x421dca
fstp qword [ebx + 0x118]
jmp 0x421dcc
fstp st(0)
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x1a0]
sub eax, 0x10
push eax
call fcn.00402510
add eax, 0x10
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [esi], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x1a0]
lea ecx, [ebp - 0x74]
push dword [eax]
call fcn.0041c590
mov edx, dword [ebp - 0x2c]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x421e1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x421e2b
fld qword [ebp - 0x34]
fstp qword [ebx + 0x118]
test esi, esi
js 0x4220d8
mov dword [ebx + 0xc4], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], vtable.CBitmap.0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0043d379
mov byte [ebp - 4], 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0043d7a2
fld qword [ebx + 0x118]
mov esi, eax
fdiv qword [0x47dc90]
mov dword [ebp - 0x28], esi
fild dword [ebp - 0x68]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul st(1)
call fcn.0044ccc0
fild dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
fstp qword [ebp - 0x18]
fmul qword [ebp - 0x18]
call fcn.0044ccc0
push dword [ebp - 0x64]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
push dword [esi + 4]
call ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043d5e1
push dword [esi + 4]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call edi
push eax
lea ecx, [ebp - 0x84]
call fcn.0043d59f
mov esi, dword [ebp - 0x24]
lea eax, [esi + 0x1a4]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0043d6a9
lea ecx, [esi + 0x1ac]
call fcn.0043d693
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [eax + 4]
call ebx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0043d5e1
mov ebx, dword [ebp - 0x28]
push dword [ebx + 4]
call edi
push eax
lea ecx, [esi + 0x1ac]
call fcn.0043d59f
push dword [ebx + 4]
mov ebx, esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x38]
push dword [ebp - 0x80]
call fcn.0043da10
lea eax, [ebx + 0x1a4]
test eax, eax
je 0x421f42
mov eax, dword [eax + 4]
push eax
push dword [ebx + 0x1b0]
call fcn.0043da10
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x421f89
lea ecx, [ebp - 0x74]
call fcn.0041c4e0
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.0041cb60
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x421fd5
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 - 0x38]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x42200b
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 0x42200d
xor esi, esi
lea eax, [ebx + 0x1ac]
test eax, eax
je 0x42201a
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 0x422049
mov dword [ebp - 0x30], eax
test esi, esi
je 0x422052
mov eax, dword [esi + 4]
jmp 0x422054
xor eax, eax
push dword [ebp - 0x40]
push dword [ebp - 0x2c]
push 0
push 0
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x42206d
mov dword [ebp - 0x30], eax
test esi, esi
je 0x422079
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.0043d6a9
lea ecx, [ebp - 0x84]
call fcn.0043d693
lea ecx, [ebx + 0x1f0]
call fcn.0043d6a9
lea eax, [ebx + 0x1a4]
test eax, eax
je 0x4220a4
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [ebx + 0x1f0]
call fcn.0043d5e1
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
lea ecx, [ebp - 0x84]
call fcn.0043d436
mov dword [ebp - 0x3c], vtable.CBitmap.0
lea ecx, [ebp - 0x3c]
jmp 0x42223b
cmp dword [ebx + 0xb8], 0
je 0x422105
lea ecx, [ebx + 0x1f0]
call fcn.0043d6a9
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebx + 0x1f0]
call fcn.0043d5e1
jmp 0x422240
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], vtable.CBitmap.0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0043d379
mov byte [ebp - 4], 5
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0043d7a2
mov dword [ebp - 0x28], 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 + 0x1a4]
mov esi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x1c]
call fcn.0043d6a9
mov eax, dword [ebp - 0x28]
push esi
push edi
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea edi, [ebx + 0x1a4]
push eax
mov ecx, edi
call fcn.0043d5e1
lea ecx, [ebx + 0x1ac]
call fcn.0043d693
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebx + 0x1ac]
call fcn.0043d59f
test edi, edi
jne 0x4221bf
xor eax, eax
jmp 0x4221c2
mov eax, dword [edi + 4]
push eax
push dword [ebx + 0x1b0]
call fcn.0043da10
lea esi, [ebx + 0x1f0]
mov ecx, esi
call fcn.0043d6a9
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.0043d5e1
test esi, esi
jne 0x422203
xor eax, eax
jmp 0x422206
mov eax, dword [esi + 4]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x1b0]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x94]
call fcn.0043d436
mov dword [ebp - 0x34], vtable.CBitmap.0
lea ecx, [ebp - 0x34]
call fcn.0041f1a0
lea ecx, [ebp - 0x74]
call fcn.0041c230
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.0044c3da
mov esp, ebp
pop ebp
ret 8