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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push edi
push 2
push ecx
mov dword [ebp - 0x2c], 0x28
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
lea edi, [ebx + 1]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
fild dword [ebp - 0x3c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
fidiv dword [ebp - 0x38]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fld dword [0x10058618]
fcom st(1)
mov dword [ebp - 0x34], ebx
fnstsw ax
fstp st(1)
test ah, 1
je 0x1000d9e5
mov dword [ebp - 0x34], edi
mov dword [0x1007d008], ebx
mov dword [0x1007d004], ebx
mov ecx, 0x100682d4
mov edx, dword [ecx - 0xc]
mov esi, dword [ecx - 8]
mov dword [ebp - 0x40], edx
fild dword [ebp - 0x40]
mov dword [ebp - 0x30], esi
fidiv dword [ebp - 0x30]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1000da1b
xor eax, eax
jmp 0x1000da1d
mov eax, edi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp edx, dword [ebp - 0x3c]
jg 0x1000da42
cmp esi, dword [ebp - 0x38]
jg 0x1000da42
add dword [0x1007d004], edi
mov dword [ecx], edi
cmp dword [ebp - 0x34], eax
jne 0x1000da42
add dword [0x1007d008], edi
mov dword [ecx + 4], edi
fild dword [ecx + 8]
xor ebx, ebx
fidiv dword [ecx + 0xc]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1000da5d
xor eax, eax
jmp 0x1000da5f
mov eax, edi
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], ebx
cmp dword [ecx + 8], edx
jg 0x1000da8c
mov esi, dword [ecx + 0xc]
cmp esi, dword [ebp - 0x38]
jg 0x1000da8c
add dword [0x1007d004], edi
mov dword [ecx + 0x14], edi
cmp dword [ebp - 0x34], eax
jne 0x1000da8c
add dword [0x1007d008], edi
mov dword [ecx + 0x18], edi
fild dword [ecx + 0x1c]
fidiv dword [ecx + 0x20]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1000daa5
xor eax, eax
jmp 0x1000daa7
mov eax, edi
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
cmp dword [ecx + 0x1c], edx
jg 0x1000dad1
mov esi, dword [ebp - 0x38]
cmp dword [ecx + 0x20], esi
jg 0x1000dad1
add dword [0x1007d004], edi
mov dword [ecx + 0x28], edi
cmp dword [ebp - 0x34], eax
jne 0x1000dad1
add dword [0x1007d008], edi
mov dword [ecx + 0x2c], edi
fild dword [ecx + 0x30]
fidiv dword [ecx + 0x34]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1000daea
xor eax, eax
jmp 0x1000daec
mov eax, edi
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x40], ebx
cmp dword [ecx + 0x30], edx
jg 0x1000db16
mov esi, dword [ebp - 0x38]
cmp dword [ecx + 0x34], esi
jg 0x1000db16
add dword [0x1007d004], edi
mov dword [ecx + 0x3c], edi
cmp dword [ebp - 0x34], eax
jne 0x1000db16
add dword [0x1007d008], edi
mov dword [ecx + 0x40], edi
fild dword [ecx + 0x44]
fidiv dword [ecx + 0x48]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1000db2f
xor eax, eax
jmp 0x1000db31
mov eax, edi
mov dword [ecx + 0x50], ebx
mov dword [ecx + 0x54], ebx
cmp dword [ecx + 0x44], edx
jg 0x1000db5b
mov esi, dword [ebp - 0x38]
cmp dword [ecx + 0x48], esi
jg 0x1000db5b
add dword [0x1007d004], edi
mov dword [ecx + 0x50], edi
cmp dword [ebp - 0x34], eax
jne 0x1000db5b
add dword [0x1007d008], edi
mov dword [ecx + 0x54], edi
fild dword [ecx + 0x58]
fidiv dword [ecx + 0x5c]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1000db74
xor eax, eax
jmp 0x1000db76
mov eax, edi
mov dword [ecx + 0x64], ebx
mov dword [ecx + 0x68], ebx
cmp dword [ecx + 0x58], edx
jg 0x1000dba0
mov edx, dword [ebp - 0x38]
cmp dword [ecx + 0x5c], edx
jg 0x1000dba0
add dword [0x1007d004], edi
mov dword [ecx + 0x64], edi
cmp dword [ebp - 0x34], eax
jne 0x1000dba0
add dword [0x1007d008], edi
mov dword [ecx + 0x68], edi
add ecx, 0x78
cmp ecx, 0x1006861c
jl 0x1000d9f6
mov eax, dword [0x1007d008]
fstp st(0)
lea ecx, [eax - 1]
cdq
mov dword [0x1007cff4], ecx
mov ecx, dword [ebp - 4]
sub eax, edx
pop edi
sar eax, 1
pop esi
mov dword [0x1007cfe8], ebx
mov dword [0x1007cfec], ebx
mov dword [0x1007cff0], ebx
mov dword [0x1007cffc], ebx
xor ecx, ebp
mov dword [0x1007cff8], eax
pop ebx
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret