Function at 0x414430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov ebx, ecx
cmp dword [ebx + 0x94], 0
push esi
push edi
je 0x4146ed
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x38]
mov esi, eax
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x54], eax
sub eax, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], ecx
mov edi, eax
xor eax, eax
lea edx, [esp + 0x5c]
sub ecx, ebp
push 0x2c
push edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.00411e60
mov eax, dword [esp + 0x24]
add esp, 8
push 0
push 0
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x30]
push eax
mov ecx, 1
mov word [esp + 0x74], cx
push 0
lea ecx, [esp + 0x6c]
push ecx
mov edx, 0x20
push esi
mov dword [esp + 0x74], 0x28
mov dword [esp + 0x78], edi
mov word [esp + 0x82], dx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
push 0
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x44], eax
push 0
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x6c]
push edx
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffff
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push 0
push 0
push 0
lea edx, [esp + 0x48]
push edx
push esi
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea edx, [esp + 0x40]
push edx
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebx + 0x114]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
push 0
push 0
push 0
lea edx, [esp + 0x48]
push edx
push esi
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
push ebx
call eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
sub eax, ebp
dec eax
imul eax, edi
add eax, ecx
sub ecx, dword [esp + 0x54]
lea edx, [edx + eax*4]
sub ecx, edi
mov edi, dword [esp + 0x24]
lea edi, [edi + eax*4]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x58]
cmp ebp, eax
jge 0x41469d
add ecx, ecx
add ecx, ecx
sub eax, ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
cmp ebp, eax
jge 0x414690
sub eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [edi]
movzx ecx, byte [edx]
movzx ebp, al
sub ecx, ebp
not ecx
shl ecx, 0x18
and eax, 0xffffff
add ecx, eax
mov dword [ebx], ecx
add edx, 4
add edi, 4
add ebx, 4
sub dword [esp + 0x10], 1
jne 0x414660
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
add edx, ecx
add edi, ecx
add ebx, ecx
sub dword [esp + 0x14], 1
jne 0x414652
mov edx, dword [esp + 0x30]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x94]
xor edx, edx
test eax, eax
setne dl
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
mov eax, edx
add esp, 0x78
ret 0x10
mov eax, dword [ebx + 0x38]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
lea ecx, [esp + 0x4c]
mov ebp, eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x58]
mov esi, eax
mov eax, dword [esp + 0x54]
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push esi
push 0xf
push ebp
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x38]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edx, dword [esp + 0x94]
pop edi
pop esi
xor eax, eax
test ebx, ebx
pop ebp
mov dword [edx], ebx
setne al
pop ebx
add esp, 0x78
ret 0x10