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

Disassembly:
mov ecx, dword [ecx + 0x78]
jmp 0x438670
sub esp, 0xa0
mov eax, dword [0x477b14]
push ebx
push ebp
push esi
mov dword [esp + 0xa8], eax
push edi
lea eax, [esp + 0x44]
mov ebx, ecx
mov ecx, dword [esp + 0xb4]
push eax
push ecx
mov dword [esp + 0x4c], 0x68
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4386f6
mov edx, dword [esp + 0xbc]
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0xb8]
push 2
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x438a5c
mov eax, dword [ebx + 0x28]
cmp eax, 2
jne 0x4387f3
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
sub esi, edi
mov edi, dword [ebx + 0x18]
lea eax, [edi + esi]
cdq
sub eax, edx
sar eax, 1
push eax
sub ecx, ebp
mov ebp, dword [ebx + 0x14]
lea eax, [ecx + ebp]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, ecx
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [0x492248]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [0x492244]
sub ecx, eax
push ecx
sub edx, edi
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x438a5c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0xc0]
push 0xcc0020
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, ecx
sub edx, edi
push edx
mov edx, dword [ebx]
mov ebx, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0x2c]
sub edx, eax
push edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
push edx
sub eax, ebx
push eax
mov eax, dword [esp + 0xd4]
sub ecx, esi
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x438a61
test eax, eax
jne 0x438936
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
sub esi, edi
mov edi, dword [ebx + 0x18]
lea eax, [edi + esi]
cdq
sub eax, edx
sar eax, 1
push eax
sub ecx, ebp
mov ebp, dword [ebx + 0x14]
lea eax, [ecx + ebp]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, ecx
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [0x492248]
mov edx, dword [esp + 0x4c]
mov ecx, dword [0x492244]
mov eax, dword [esp + 0x48]
sub edx, edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push edx
sub eax, ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
call edi
mov esi, dword [esp + 0xbc]
lea edx, [esp + 0x24]
push edx
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
push esi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
mov ebp, dword [esp + 0xc4]
jne 0x4388d3
push esi
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0xc0]
mov eax, ebp
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x3c]
push edx
call edi
mov ecx, dword [esp + 0xb8]
push 2
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x438a5c
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push 0xcc0020
mov ecx, eax
sub ecx, esi
mov esi, dword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x18]
mov edx, ecx
sub edx, edi
push edx
mov edx, dword [ebx]
push edx
mov edx, dword [esp + 0x2c]
sub edx, eax
push edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
push edx
sub eax, ebp
push eax
mov eax, dword [esp + 0xd4]
sub ecx, esi
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x438a5c
cmp eax, 1
jne 0x438a5c
mov ebp, dword [ebx + 0x14]
test ebp, ebp
je 0x438a5c
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x438a5c
mov edi, dword [esp + 0xbc]
mov eax, dword [edi]
cdq
idiv ebp
mov ecx, eax
mov eax, dword [edi + 8]
cdq
idiv ebp
mov dword [esp + 0x20], ecx
inc eax
cmp ecx, eax
jge 0x438a5c
mov eax, dword [edi + 4]
cdq
idiv esi
mov ebp, eax
mov eax, dword [edi + 0xc]
cdq
idiv esi
inc eax
cmp ebp, eax
jge 0x438a47
lea ecx, [ecx]
mov eax, dword [ebx + 0x14]
mov esi, eax
imul esi, ecx
mov ecx, dword [ebx + 0x18]
mov edi, ecx
imul edi, ebp
add ecx, edi
push ecx
add eax, esi
push eax
push edi
push esi
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x438a22
mov eax, dword [esp + 0x14]
push 0xcc0020
mov ecx, eax
sub ecx, edi
push ecx
mov ecx, dword [esp + 0x18]
mov edx, ecx
sub edx, esi
mov esi, dword [esp + 0xc8]
push edx
mov edx, dword [ebx]
push edx
mov edx, dword [esp + 0x2c]
sub edx, eax
push edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
push edx
sub eax, dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0xd4]
sub ecx, esi
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0xc]
mov esi, dword [ebx + 0x18]
cdq
idiv esi
mov ecx, dword [esp + 0x20]
inc ebp
inc eax
cmp ebp, eax
jl 0x438990
mov edi, dword [esp + 0xbc]
mov eax, dword [edi + 8]
cdq
idiv dword [ebx + 0x14]
inc ecx
mov dword [esp + 0x20], ecx
inc eax
cmp ecx, eax
jl 0x438976
mov eax, 1
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00444c27
add esp, 0xa0
ret 0x14