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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd2c9
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x594964]
mov ecx, dword [0x594968]
mov dword [esp + 0x40], vtable.Region.0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0x59496c
xor esi, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0x10], vtable.Rect.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov edx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
sub edx, dword [edi + 0x20]
sub eax, dword [edi + 0x24]
mov dword [esp + 0x34], vtable.Dimension.0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x98]
lea ecx, [esp + 0x34]
call fcn.00415520
mov byte [esp + 0xb8], 3
mov dword [esp + 0x28], esi
cmp dword [ebp + 8], esi
jbe 0x435e9c
mov dword [esp + 0x24], esi
mov ecx, dword [edi + 0x7c]
sub ecx, dword [edi + 0x78]
sar ecx, 4
cmp dword [esp + 0x28], ecx
jb 0x435c51
call fcn.00480e22
mov eax, dword [edi + 0x78]
add eax, dword [esp + 0x24]
mov esi, dword [eax]
cmp esi, dword [esp + 0x9c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jl 0x435c97
cmp ecx, dword [esp + 0xa0]
jl 0x435c97
cmp edx, dword [esp + 0xa4]
jg 0x435c97
cmp eax, dword [esp + 0xa8]
jle 0x435ccb
lea esi, [esp + 0x98]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x10]
call fcn.0041f900
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x50], ebx
lea ebx, [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
push 0
push ebx
push 0
push ecx
push esi
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0xd0]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x50]
push 0
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x84], 1
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xb8]
call eax
mov eax, dword [edi + 0xd0]
push eax
lea ebx, [esp + 0x30]
call fcn.00438e20
mov ecx, ebx
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xbc], 4
call fcn.004390e0
mov dword [esp + 0x74], vtable.Rect.0
mov byte [esp + 0xb8], 6
mov eax, dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x24]
mov ebx, dword [esp + 0x20]
add esi, eax
add eax, edx
mov edx, dword [esp + 0x18]
add edx, ecx
add ecx, ebx
mov dword [esp + 0x84], ecx
sub ecx, edx
push ecx
mov dword [esp + 0x84], eax
sub eax, esi
push eax
push edx
push esi
mov dword [esp + 0x88], esi
mov esi, dword [edi + 0xfc]
push str.Destination_dirty_rect___d___d___dx_d
mov dword [esp + 0x90], edx
call fcn.00423a10
mov eax, dword [esp + 0xa4]
add esp, 0x14
test eax, eax
jl 0x435ee9
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 0xd4]
shr eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea esi, [edi + 0xd4]
lea edx, [esp + 0x54]
push edx
add ebx, 0x3c
call eax
mov edx, dword [ebx]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x94]
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, esi
call edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push edx
push esi
lea edx, [esp + 0x80]
push edx
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push 0
mov ecx, esi
call eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x78]
call fcn.00462e60
mov byte [esp + 0xb8], 4
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x74], vtable.Rect.0
mov dword [esp + 0x88], vtable.WinAutoMapDxgiSurface.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov byte [esp + 0xb8], 3
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], vtable.WinDxgiSurface.0
test eax, eax
je 0x435e83
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x28]
add dword [esp + 0x24], 0x10
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [ebp + 8]
jb 0x435c3d
xor esi, esi
mov edi, dword [edi + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx]
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], vtable.Dimension.0
mov dword [esp + 0x40], vtable.Region.0
cmp eax, esi
je 0x435ed1
cmp dword [eax], esi
je 0x435ed1
push eax
call fcn.00481665
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], vtable.Exception.0
call fcn.00404990
mov byte [esp + 0xb8], 7
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 4]
push str.DXGI_MAPPED_RECT::Pitch_is_negative
lea ecx, [esp + 0x5c]
call edx
push 0x56e6e0
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xc0], 6
call fcn.004841dc
int3