Function at 0x45e340
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5689e8
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
cmp ebp, eax
push edi
mov esi, ecx
jge 0x45e372
mov dword [esp + 0x44], ebp
mov ebp, eax
jmp 0x45e376
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x5c]
cmp ebp, ecx
jl 0x45e383
mov ebp, ecx
dec ebp
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 0x5c]
cmp ecx, edx
jl 0x45e395
mov eax, edx
dec eax
mov dword [esp + 0x44], eax
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00535a5f
mov edx, dword [esi + 0x1c]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], eax
push ecx
push edx
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x14]
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov eax, dword [0x5d825c]
test eax, eax
jne 0x45e421
mov eax, dword [esi + 0x88]
mov edi, dword [esp + 0x44]
sub ebp, eax
sub edi, eax
inc ebp
mov dword [esp + 0x44], ebp
jmp 0x45e486
mov ecx, esi
call fcn.0045c240
mov ecx, eax
mov eax, dword [esi + 0x8c]
cdq
idiv ecx
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esi + 0x80]
neg edi
cmp ecx, edx
jge 0x45e458
sub edx, ecx
add ecx, edx
add edi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
dec edx
jne 0x45e44f
mov edx, edi
cmp ecx, ebp
mov dword [esp + 0x44], edx
jg 0x45e474
sub ebp, ecx
inc ebp
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add edx, ecx
dec ebp
jne 0x45e465
mov dword [esp + 0x44], edx
test edi, edi
jge 0x45e47a
xor edi, edi
test edx, edx
jge 0x45e486
mov dword [esp + 0x44], 0
mov ecx, dword [0x66ab54]
mov edx, dword [esp + 0x44]
mov eax, ecx
sub edx, edi
imul eax, edi
imul edx, ecx
inc eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], eax
lea eax, [edx + eax + 1]
mov dword [esp + 0x30], eax
mov eax, dword [0x5c6d7c]
test eax, eax
je 0x45e4d3
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov ebp, dword [esp + 0x48]
jmp 0x45e535
mov edx, dword [0x5c6d80]
lea ecx, [esp + 0x1c]
push edx
call fcn.005366b5
mov ebp, dword [esp + 0x48]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov dword [esp + 0x40], 0
call fcn.00535c08
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
push ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
call fcn.00535c08
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x1c], vtable.CGdiObject.0
call fcn.0053664f
mov ecx, dword [esp + 0x44]
push ecx
push edi
push ebx
mov ecx, esi
call fcn.0045ec20
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push 0xcc0020
sub edx, ecx
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x30]
push eax
push 0
dec edx
push ebx
push edx
mov edx, dword [esp + 0x2c]
push ecx
push eax
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_ShowCaret]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8