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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x503298]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push 0x49d5c6
push ebx
mov edi, ecx
push ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov ecx, dword [esp + 0x1c]
xor esi, esi
inc esi
mov dword [esp + 0x24], esi
cmp ecx, esi
jle 0x49d6df
mov edx, dword [esp + 0x14]
push 0x10
pop eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
cmp dword [eax + edx], ebx
jne 0x49d6c7
cmp dword [eax + edx + 4], ebx
jne 0x49d6c7
cmp esi, ecx
jae 0x49d6c7
test ecx, ecx
je 0x49d6c7
mov edi, dword [eax + edx]
mov esi, dword [eax + edx + 4]
mov edx, dword [eax + edx + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov ecx, dword [eax + ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [ebx + edi], eax
mov eax, edi
mov eax, dword [eax + 4]
mov dword [ebx + edi + 4], eax
mov eax, edi
mov eax, dword [eax + 8]
mov dword [ebx + edi + 8], eax
mov eax, edi
mov eax, dword [eax + 0xc]
mov dword [ebx + edi + 0xc], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
xor ebx, ebx
inc esi
add eax, 0x10
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
cmp esi, ecx
jl 0x49d64c
mov edi, dword [esp + 0x28]
test ecx, ecx
jne 0x49d70c
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x74]
lea ecx, [esp + 0x64]
call fcn.00499519
push eax
lea ecx, [esp + 0x18]
call fcn.0044c545
push ebx
lea eax, [esp + 0x88]
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [esp + 0x1c], 0
jle 0x49d7c7
movsd xmm0, qword [0x4ee4d8]
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x14]
test ebx, ebx
sete byte [esp + 0x58]
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
movsd qword [esp + 0x50], xmm0
test ebx, ebx
jne 0x49d7b0
lea edx, [esp + 0x84]
lea ecx, [esp + 0x64]
call fcn.00499519
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x38]
call fcn.0044c361
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.0049ec25
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x49d729
push dword [esp + 0x14]
call fcn.004a50b4
pop ecx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a40c7
mov esp, ebp
pop ebp
ret