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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x10083010]
xor eax, esp
mov dword [esp + 0xac], eax
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], esi
push edi
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14]
mov esi, dword [ebp + 0xc]
add eax, edx
mov dword [esp + 0x34], eax
mov eax, esi
and eax, 0x41000000
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], eax
cmp eax, 0x1000000
jne 0x10047e1e
push 2
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
push 9
mov edx, eax
mov dword [esp + 0x4c], 0x28
pop ecx
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push eax
push edx
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xa0]
shr eax, 8
test al, 1
je 0x10047d9c
mov eax, 0xc00000
and esi, eax
cmp esi, eax
je 0x10047d9c
lea esi, [esp + 0x4c]
jmp 0x10047e16
push 8
pop ecx
xor eax, eax
mov dword [esp + 0x80], 0x24
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
push 7
pop edi
cmp dword [esp + 0x4c], eax
jne 0x10047dc4
cmp dword [esp + 0x50], eax
je 0x10047dd6
lea esi, [esp + 0x4c]
lea edi, [esp + 0x90]
movsd dword es:[edi], dword [esi]
push 0xb
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
xor esi, esi
lea eax, [esp + 0x80]
mov dword [esp + 0x8c], esi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x10047e0c
movaps xmm0, xmmword [0x1006ebe0]
movups xmmword [esp + 0xa4], xmm0
mov eax, dword [esp + esi*4 + 0xa4]
add dword [esp + esi*4 + 0x5c], eax
inc esi
cmp esi, 3
jbe 0x10047dd8
lea esi, [esp + 0x5c]
lea edi, [esp + 0x28]
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 [esp + 0xc]
lea esi, [esp + 0x28]
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x38]
push 0x60
cmp dword [eax + 8], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
cmovne edi, dword [eax + 8]
push ecx
push 0
push 0x83
push dword [eax + 0x158]
mov ecx, eax
mov dword [esp + 0x18], edi
call fcn.10048729
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x28]
movss xmm1, dword [0x1006ea84]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x30]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0x44]
sub esi, dword [esp + 0x34]
and dword [esp + 0x58], 0
and dword [esp + 0x5c], 0
mov dword [esp + 0x44], esi
mulss xmm2, xmm1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
divss xmm2, xmm0
movss dword [esp + 0x18], xmm2
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
divss xmm2, xmm0
movss dword [esp + 0x1c], xmm2
movd xmm2, edx
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
divss xmm2, xmm0
movss dword [esp + 0x20], xmm2
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0xc]
mov ecx, esi
mov eax, dword [esi]
mulss xmm2, xmm1
divss xmm2, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x24], xmm2
movups xmmword [esp + 0x48], xmm0
call dword [eax + 0x14]
test eax, eax
je 0x10047f22
push dword [esi + 0xa4]
mov edx, dword [eax]
lea ecx, [esp + 0x4c]
push dword [esi + 0xa0]
push ecx
mov ecx, eax
call dword [edx + 8]
movss xmm1, dword [0x1006ebc0]
mov ecx, esi
movss xmm2, dword [esp + 0x18]
movss xmm0, dword [esp + 0x48]
xorps xmm2, xmm1
subss xmm0, xmm2
mov eax, dword [esp + 0x30]
movss xmm2, dword [esp + 0x1c]
xorps xmm2, xmm1
sub eax, dword [esp + 0x28]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, xmm2
movss xmm2, dword [0x1006ea84]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x20]
xorps xmm0, xmm1
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x24]
xorps xmm0, xmm1
movd xmm1, edi
addss xmm0, dword [esp + 0x54]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x54], xmm0
movd xmm0, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x88], xmm0
movd xmm0, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x8c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mulss xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x90], xmm0
movd xmm0, eax
lea eax, [esp + 0xa4]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x88]
push eax
mulss xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
movd xmm0, dword [esi + 0x8c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb0], xmm0
movd xmm0, dword [esi + 0x94]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb4], xmm0
movd xmm0, dword [esi + 0x90]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb8], xmm0
movd xmm0, dword [esi + 0x98]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
call fcn.1002eee3
movss xmm1, dword [esp + 0x88]
lea ecx, [esp + 8]
call fcn.10004f8b
mov esi, dword [esp + 0x14]
movss xmm1, dword [esp + 0x8c]
mov dword [esi + 8], eax
call fcn.10004f8b
movss xmm1, dword [esp + 0x90]
mov dword [esi + 0xc], eax
call fcn.10004f8b
movss xmm1, dword [esp + 0x94]
mov dword [esi + 0x10], eax
call fcn.10004f8b
mov dword [esi + 0x14], eax
push esi
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x14]
mov ecx, eax
push 0x82bf
push dword [eax + 0x158]
call fcn.10048729
cmp dword [esp + 0x10], 0x1000000
jne 0x1004811d
mov eax, dword [esp + 0x28]
cmp dword [esi + 8], eax
jge 0x100480f3
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0xc], eax
jge 0x100480ff
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esi + 0x10]
cmp dword [esi + 8], eax
jle 0x1004810e
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esi + 0x14]
cmp dword [esi + 0xc], eax
jle 0x1004811d
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x158]
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x14]
call fcn.10005ae0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp dword [esi + 8], eax
jne 0x1004815d
cmp dword [esi + 0xc], edx
jne 0x1004815d
or dword [esi + 0x18], 2
jmp 0x10048161
and dword [esi + 0x18], 0xfffffffd
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x18]
cmp dword [esi + 0x10], eax
jne 0x10048181
mov eax, dword [esp + 0x7c]
sub eax, edx
cmp dword [esi + 0x14], eax
jne 0x10048181
or ecx, 1
jmp 0x10048184
and ecx, 0xfffffffe
mov eax, dword [esp + 0xc]
push 0xfffffffffffffff0
mov dword [esi + 0x18], ecx
push dword [eax + 0x158]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
mov ecx, eax
shr ecx, 7
mov edx, eax
test cl, 1
mov ecx, dword [esp + 8]
je 0x100481c1
test ecx, 0x10000000
jne 0x100481c1
and edx, 0xffffff7f
mov dword [esi + 0x18], edx
mov eax, edx
shr eax, 6
test al, 1
je 0x100481d8
test ecx, 0x10000000
je 0x100481d8
and edx, 0xffffffbf
mov dword [esi + 0x18], edx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub ecx, dword [esp + 0x38]
sub eax, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
add eax, dword [esp + 0x44]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
and dword [esp + 8], 0
mov edi, dword [esp + 0xc]
movd xmm1, eax
movd xmm2, ecx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x1006ea84]
mulss xmm2, dword [0x1006ea84]
divss xmm1, xmm0
divss xmm2, xmm0
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x14], xmm2
push 0x414
sub esp, 0x10
mov ecx, edi
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
and dword [esp + 4], 0
and dword [esp], 0
push 0
call fcn.1002fcd3
cmp dword [edi + 0x178], 0
je 0x100482a2
mov eax, dword [edi + 0x58]
shr eax, 0x1c
test al, 1
je 0x10048283
mov eax, dword [esp + 8]
movss xmm1, dword [esp + 0x10]
inc eax
movss xmm2, dword [esp + 0x14]
mov dword [esp + 8], eax
cmp eax, 0xa
jl 0x10048230
test dword [edi + 0xa0], 0x10000000
jne 0x10048295
test byte [esi + 0x18], 0x40
je 0x100482a2
test byte [esi + 0x18], 0x80
jne 0x100482a2
mov ecx, edi
call fcn.1003a2de
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
xor ecx, esp
call fcn.1005eacb
mov esp, ebp
pop ebp
ret 8