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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466bb4
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x4921d8]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x6c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp + 8]
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x41b03a
mov ecx, ebx
call fcn.0042613b
test eax, 0x100000
je 0x41adc2
push 0
mov ecx, ebx
call fcn.00421cb0
mov dword [esp + 0x34], eax
jmp 0x41adc7
and dword [esp + 0x34], 0
mov ecx, ebx
call fcn.0042613b
test eax, 0x200000
je 0x41ade4
push 1
mov ecx, ebx
call fcn.00421cb0
mov dword [esp + 0x38], eax
jmp 0x41ade9
and dword [esp + 0x38], 0
and dword [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.CBitmap.0
and dword [esp + 0xb8], 0
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
push eax
push esi
call fcn.00403420
push dword [esp + 0x30]
lea esi, [esp + 0x50]
call fcn.00403128
mov byte [esp + 0xb8], 1
push dword [esp + 0x4c]
call fcn.00426cd3
test eax, eax
mov dword [esp + 0x18], eax
jne 0x41ae44
xor esi, esi
jmp 0x41ae47
mov esi, dword [eax + 4]
call fcn.0040ae7d
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
sub esp, 0x10
mov edi, esp
push dword [esp + 0x28]
lea esi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x68], eax
mov eax, dword [ebx]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x138]
xor esi, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov byte [esp + 0xb8], 2
xor edi, edi
cmp dword [ebx + 0xe0], esi
jle 0x41aec6
cmp edi, esi
jl 0x41aea9
mov ecx, edi
mov eax, ebx
call fcn.0041b67f
jmp 0x41aeab
xor eax, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
call fcn.0041b0e4
inc edi
cmp edi, dword [ebx + 0xe0]
jl 0x41ae9a
mov eax, dword [ebx]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call dword [eax + 0x13c]
cmp dword [esp + 0x68], esi
mov dword [esp + 0x14], esi
jbe 0x41afb9
push dword [esp + 0x14]
lea esi, [esp + 0x5c]
call fcn.0041b8d1
mov ebx, dword [eax]
lea ecx, [ebx + 4]
mov esi, ecx
lea edi, [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
sub ecx, dword [esp + 0x34]
sub eax, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_IntersectRect]
mov edx, ecx
sub edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
add dword [esp + 0x24], edx
mov ecx, eax
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
add dword [esp + 0x28], ecx
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa4]
push eax
call esi
test eax, eax
jne 0x41af4d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x94]
push eax
call esi
test eax, eax
je 0x41afa5
push dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x20]
mov eax, dword [esi]
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0xc]
push dword [esp + 0x80]
mov eax, dword [esi]
push dword [esp + 0x80]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call dword [eax + 0x38]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x68]
jb 0x41aee3
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41afc4
mov esi, dword [eax + 4]
push dword [esp + 0x54]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
push 0xcc0020
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
push eax
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.0041b052
lea esi, [esp + 0x58]
call fcn.0040a5f9
push dword [esp + 0x50]
push dword [esp + 0x50]
call edi
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteDC]
or dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.CGdiObject.0
call fcn.00426fe5
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4