Function at 0x45cfb0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5689c8
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
mov esi, ecx
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x88]
cmp eax, ecx
jl 0x45d3da
mov ecx, dword [esi + 0x1c]
push ebx
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_HideCaret]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00535a5f
mov ebp, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
call fcn.0045c240
mov dword [esp + 0x1c], eax
mov dword [0x66abec], eax
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x5d825c]
mov edx, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x20], edx
jne 0x45d045
mov eax, dword [0x66ab54]
lea edi, [eax + 2]
mov dword [esp + 0x18], edi
jmp 0x45d05e
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx + 0x10]
imul eax, dword [0x66ab54]
add eax, 2
mov dword [esp + 0x18], eax
mov edi, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
push edi
push edx
push ebp
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], eax
mov eax, dword [0x5c6d7c]
or ebp, 0xffffffff
mov dword [esp + 0x4c], edi
test eax, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
je 0x45d0c3
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x45d129
mov ecx, dword [0x5c6d80]
push ecx
lea ecx, [esp + 0x34]
call fcn.005366b5
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x6c], 0
call fcn.00535c08
mov edi, eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x40]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x24]
push edi
call fcn.00535c08
mov edx, dword [0x5c6d80]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x30], vtable.CGdiObject.0
call fcn.0053664f
mov eax, dword [0x5d833c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x30], eax
mov eax, dword [0x5c8e38]
test eax, eax
je 0x45d19c
mov ecx, dword [esi + 0x90]
lea edx, [esp + 0x50]
inc ecx
push ecx
push 0x5c4d50
push edx
call fcn.00514f48
lea edi, [esp + 0x5c]
mov ecx, ebp
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xc0c0c0
push ebx
mov edi, ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x50]
push edi
push eax
push 2
mov ecx, esi
call fcn.0045c280
sub eax, edi
dec eax
imul eax, dword [0x66ab58]
add eax, 6
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esi + 0x84]
mov ecx, dword [esp + 0x1c]
push ecx
xor edi, edi
mov eax, dword [edx + 0xc]
xor ebp, ebp
push eax
push 0x5d8388
call fcn.00452160
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x84]
push eax
mov edx, dword [ecx + 0x58]
mov eax, dword [eax + 4]
push edx
push eax
push 0x5d8388
call fcn.00451870
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004518c0
add esp, 0x24
test eax, eax
je 0x45d281
jmp 0x45d1f5
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push eax
push ebx
call fcn.00454d50
mov eax, dword [esp + 0x18]
mov ecx, dword [0x5d825c]
lea edx, [ebp + 0x5d8388]
add esp, 8
add ebp, eax
test ecx, ecx
mov dword [esp + 0x2c], ebp
jne 0x45d250
test eax, eax
je 0x45d265
mov ebp, dword [esi + 0x8c]
mov ecx, edi
sub ecx, ebp
test ecx, ecx
jge 0x45d23d
inc edi
inc ecx
dec eax
inc edx
test eax, eax
jne 0x45d22b
mov dword [esp + 0x10], eax
jmp 0x45d265
test eax, eax
mov dword [esp + 0x10], eax
je 0x45d265
mov ecx, edi
push eax
push edx
sub ecx, ebp
push 0
push ecx
jmp 0x45d259
test eax, eax
je 0x45d265
push eax
push edx
push 0
push edi
mov ecx, esi
push ebx
call fcn.0045f320
mov eax, dword [esp + 0x10]
add edi, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004518c0
add esp, 8
test eax, eax
jne 0x45d1f1
mov edx, dword [esi + 0x84]
mov ecx, dword [esp + 0x1c]
push ecx
xor edi, edi
mov eax, dword [edx + 0xc]
push eax
push 0x5d8388
call fcn.00452160
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x84]
push eax
mov edx, dword [ecx + 0x58]
mov eax, dword [eax + 4]
push edx
push eax
push 0x5d8388
call fcn.00451870
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004518c0
add esp, 0x24
test eax, eax
je 0x45d2f0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov dword [0x5d8284], edi
push ecx
add edi, edx
call fcn.004518c0
add esp, 8
test eax, eax
jne 0x45d2ce
mov edx, dword [esp + 0x30]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push ebx
call ebp
mov eax, dword [0x5d825c]
test eax, eax
jne 0x45d340
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x90]
push 0xcc0020
push 2
push 0
add eax, 0xfffffffe
push ebx
push eax
push ecx
mov ecx, dword [esi + 0x88]
mov eax, dword [esp + 0x40]
sub edx, ecx
imul edx, dword [0x66ab54]
add edx, 2
push edx
push 0
push eax
jmp 0x45d39b
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cdq
idiv dword [esp + 0x1c]
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x80]
neg eax
cmp edi, edx
je 0x45d370
sub edx, edi
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
add eax, edi
dec edx
jne 0x45d365
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 2
push 0
add ecx, 0xfffffffe
push ebx
push ecx
mov ecx, dword [0x66ab54]
imul ecx, eax
mov edx, dword [esp + 0x34]
add ecx, 2
push edx
mov edx, dword [esp + 0x40]
push ecx
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x38]
push eax
push ebx
call ebp
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ShowCaret]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret